add out of bounds gameover check