Implement game/code logic.