Added basic game logic