Game logic

Added first bits of the game logic, no functionality