maze game logic updates.