tic-tac-toe
tic-tac-toe copied to clipboard
Feature: Unclickable Fields
When any player wins the remaining empty fields will be disabled. #1
Logic. Added a boolean variable named isWon. Which will get triggered when any winning scenario is reached and will remain true until timer times out. So, whenever the user tries to click on any icon, it will first check whether the any of the player is already won.