Added game logic, needs cleanup.