[gtp] Resolving end of game issues