This project is my variation of the Tic Tac Toe game from Free Code Camp. The project is built using ReactJS. The user can choose whether they want to play as X or O. X always goes first. The computer has a simple AI that looks for opportunities to win in that turn first, then opportunities to block the player from a win, and finally if neither of those are options will select a random empty cell. The difficulty of the computer AI is moderate. Once a game is completed it will announce whether someone one or there was a tie. After three seconds the game will reset, and return to the current player being X.
-
Notifications
You must be signed in to change notification settings - Fork 0
entorenee/tic-tac-toe
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A Tic Tac Toe game built in React with a computer AI.
Resources
Stars
Watchers
Forks
Packages 0
No packages published