attempt to put in converted game logic