Use PHASE_MIDGAME in game_phase()

No functional change

Resolves #117