Added simple game logic