Skip to content

genasim/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is a recreation of the Tic-Tac-Toe game in web browsers, using vanilla HTML5, CSS3 and JS.

Self-hosting

You can use Live Server VSCode plugin

Gameplay

The game follows the rules of the traditional game with two players playing against each other. If one of them wins, they get a score point and the two swap who goes first. If the game is bound to end up in a tie, then it ends prematurely and neither player gets a point

Reseting the game resets the score and returns users to the main game menu

Two game modes are available:

Player vs Player Player vs AI
Two players play simultaneuosly, taking turns to place their figures, trying to outsmart each other One player plays against an unbeatable bot, utilizing the minimax algorithm, in an endless spiral of ties

About

Recreating the Tic-Tac-Toe game in browsers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors