Skip to content

A tic-tac-toe game that uses the JavaScript Module Pattern and Factory Function. Also, implement AI using the min-max algorithm (User can play with the computer with two level of difficulty - easy and hard)

bolah2009/js-ttt

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Netlify Status

PROJECT: TIC TAC TOE

This is the second project of the Main JavaScript curriculum at Microverse - @microverseinc

The objective is to create a tic-tac-toe game with the following features.

  • Uses JavaScript Module Pattern and Factory Function
  • Accepts players name
  • Start and Reset game
  • Check winner and draw
  • Add AI using minmax algorithm (User can player with computer with two level of difficulty easy and hard)

Assignment link

Live link

ScreenShot

Two Players One Player and Computer
Two Players One Player and Computer
Hard Level (Win) Hard Level (Draw)
wins hard mode draw hard mode
Easy Level (Win) Easy Level (Draw)
wins easy mode draw easy mode

Authors

About

A tic-tac-toe game that uses the JavaScript Module Pattern and Factory Function. Also, implement AI using the min-max algorithm (User can play with the computer with two level of difficulty - easy and hard)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published