board can tell when game is over