When the player moves away from a ghost that is beside him, he will die. Probably related to ae43d25 in which ghosts get to move first. Below are images attached of two situations in which this happened. (Note: these are for a randomly generated map which may appear in a later PR).
Behavior could be explained by ghost moving faster than pacman (which it is in the real game, I believe). However, then Pacman should disappear off the board (and perhaps reason for losing should be printed (you're not fast enough)).


When the player moves away from a ghost that is beside him, he will die. Probably related to ae43d25 in which ghosts get to move first. Below are images attached of two situations in which this happened. (Note: these are for a randomly generated map which may appear in a later PR).
Behavior could be explained by ghost moving faster than pacman (which it is in the real game, I believe). However, then Pacman should disappear off the board (and perhaps reason for losing should be printed (you're not fast enough)).