Gamelogic

Did some things. Seems functional.