wip - game logic

work in progress