Fix #31; correct game logic