TicTacToe game with multiple options:
I made this game to practice my skill in creating AI (Artificial Intelligence).
I used VueJS v2.6.11 to make all of the functionalities.
You may choose your opponent whether if it is human or AI.
If you're playing with a human, you may play with your friend beside you. You may play the game alternatively.
If you're playing with AI, you may choose from 3 difficulties:
-
Easy
The AI will just randomly enter the symbol anywhere on the open block.
-
Medium
The AI will focus on attack. If there are 2 symbols opened, the AI will try to open the 3rd closed block to make a win.
-
Hard
The AI will focus on defense. If there are 2 opened symbol by the player, the AI will try to block the way.