Added some "game logic"