Cleaned up the game logic code