separate individual game logic from main
wat