Added first draft of game logic