Passing first tests of game logic