Skip to content

This repository contains Tic-Tac-Toe game that offers two options: 1) Human Vs Human 2) Human Vs Computer. The computer player uses the Minimax and Negamax algorithms to make its moves.

Notifications You must be signed in to change notification settings

Ayushii12/TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TicTacToe

Tic Tac Toe is a classic two-player game where each player takes turns marking a 3x3 grid with their symbol, either X or O. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner.

This repository contains a Tic Tac Toe game that offers two options:

  1. Human vs Human
  2. Human vs Computer

The computer player uses the Minimax and Negamax algorithms to make its moves. These algorithms are used to search the game tree for the best possible move. As a result, the computer player is very difficult to beat.

Features

- Two-player game
- Human vs Human and Human vs Computer modes
- Minimax and Negamax algorithms for computer player
- Easy to use interface

Usage

To play the game, simply clone the repository and run the index.html file. You can then choose whether you want to play against another human or the computer.

About

This repository contains Tic-Tac-Toe game that offers two options: 1) Human Vs Human 2) Human Vs Computer. The computer player uses the Minimax and Negamax algorithms to make its moves.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published