Added a little bit of fixed game logic.