Taken from: http://codingdojo.org/cgi-bin/index.pl?KataPacMan
Pacman finds himself in a grid filled with monsters. Will he be able to eat all the dots on the board before the monsters eat him?
Incomplete list of things the game needs:
Taken from: http://codingdojo.org/cgi-bin/index.pl?KataPacMan
Pacman finds himself in a grid filled with monsters. Will he be able to eat all the dots on the board before the monsters eat him?
Incomplete list of things the game needs:
| Files with typical JGiven dependencies |
| package gameoflife; | |
| public class Game { | |
| public interface Distribution { | |
| boolean cellExists(int x, int y); | |
| } | |
| final private Distribution distribution; | |
| public Game(Distribution initialDistribution) { |