add gameover criteria to both browsers