complete most game logic.

fyi.