Fixed a bug where the game wouldn't properly check if the board was
empty