should be able to check gameover condition for middle and last row