Created some game logic