board determines game over by spaces left