Skip to content

A Tic Tac Toe game built in React with a computer AI.

Notifications You must be signed in to change notification settings

entorenee/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe Game

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.

About

A Tic Tac Toe game built in React with a computer AI.

Resources

Stars

Watchers

Forks

Packages

No packages published