Continuing work on game logic.