Main things to be done

  • Chances should be exchanged
  • first click on the box, whatever the sign have been choosen, in that box that sign have to be inserted
  • check if there is any winning pattern
  • check if all the boxes are marked then end the game else continue

Functions to be made

  • pattern checking
  • checking all the boxes are marked
  • exchanging the chances
  • filling the box with the sign
  • initialize
  • end game