Skip to content

Tic-Tac-Toe game to play against various Artificial Intelligence algorithms like Minimax, Alpha-Beta Pruning & Hill Climbing

Notifications You must be signed in to change notification settings

KaranJagtiani/Tic-Tac-Toe-AI-Web-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe-Using-AI

Web-based Tic-Tac-Toe game to play against various Artificial Intelligence algorithms

Click here to checkout the Live Site.

AI Algorithms

  1. Minimax Algorithm
  2. Alpha-Beta Pruning Algorithm
  3. Hill Climbing Algorithm

Preview

Requirements

  1. Git Version Control (Download & Install)
    https://git-scm.com/downloads
  2. Node JS (LTS) (Download & Install)
    https://nodejs.org/en/download/
  3. Angular Latest Version (Run Command)
    npm install -g @angular/cli@latest
  4. Nodemon - Optional (Run Command)
    npm install -g nodemon

How to Install & Run the App

  1. Clone the repository by running this command where you want the project to be saved.
    git clone https://github.com/KaranJagtiani/Tic-Tac-Toe-Using-AI.git
  2. Install Node Modules.
    i) In the root directory, run the command:
    npm install
    ii) Go to the 'angular-src' directory and again run:
    npm install
  3. In the root directory, run the command:
    nodemon or node app.js
  4. Go to the 'angular-src' directory and run the command:
    ng serve
  5. Open a browser and go to the following URL:
    localhost:4200

Happy Coding!

About

Tic-Tac-Toe game to play against various Artificial Intelligence algorithms like Minimax, Alpha-Beta Pruning & Hill Climbing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published