added game logic

ksdfjsk