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)

Notifications You must be signed in to change notification settings

bolah2009/js-ttt

Repository files navigation

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)

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