Skip to content

natashaU/SmartTicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe in React

This game incorporates the Minimax Algorithm for an "unbeatable A.I." if the user chooses an advanced game play.

*** Warning: Danger of thermonuclear war in case AI loses ***

Check out a live version of the game here

CLICK ME TO PLAY THE GAME

To check out the game locally

npm install
npm run start (on http://localhost:3000)

Most of the logic for the game is located in the following file:

App.js

My own home-grown algorithm for the AI: Code is located here

Code for a Minimax algorithm (unbeatable A.I.) I refactored for React: Minimax Code here

About

Play tic-tac-toe against an unbeatable A.I. (using minimax algorithm)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published