Worked on game logic (in progress)