function checkGameOver() {
  gameOver(tab1, tab2, tab3);
  gameOver(tab4, tab5, tab6);
  gameOver(tab7, tab8, tab9);
  gameOver(tab1, tab5, tab9);
  gameOver(tab3, tab5, tab7);
  gameOver(tab1, tab4, tab7);
  gameOver(tab2, tab5, tab8);
  gameOver(tab3, tab6, tab9);
}
// Checks if the conditions to win are met

Checks if the conditions to win are met
Checks if the conditions to win are met
function checkGameOver() {
  gameOver(tab1, tab2, tab3);
  gameOver(tab4, tab5, tab6);
  gameOver(tab7, tab8, tab9);
  gameOver(tab1, tab5, tab9);
  gameOver(tab3, tab5, tab7);
  gameOver(tab1, tab4, tab7);
  gameOver(tab2, tab5, tab8);
  gameOver(tab3, tab6, tab9);
}
function checkGameOver ( ) { gameOver ( tab1 , tab2 , tab3 ) ; gameOver ( tab4 , tab5 , tab6 ) ; gameOver ( tab7 , tab8 , tab9 ) ; gameOver ( tab1 , tab5 , tab9 ) ; gameOver ( tab3 , tab5 , tab7 ) ; gameOver ( tab1 , tab4 , tab7 ) ; gameOver ( tab2 , tab5 , tab8 ) ; gameOver ( tab3 , tab6 , tab9 ) ; }
Checks if the conditions to win are met
Checks if the conditions to win are met