add simple game logic