game logic unit test