Mecwerks game logic.