Fix out `out_of_range` error in NewGameState

Fixes #88.