Skip to content

daniel-citrus/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

Tic-tac-toe is a paper-and-pencil game for two players who take turns marking the spaces in a three-by-three grid with X or O. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner.

Live Demo

Features

A player can play against a computer or another player. The Computer opponent has three difficulties:

  • Easy: Random movement
  • Medium: Starts with 2 random moves before it makes smart moves
  • Hard: Really smart moves using the minmax algorithm

Preview

Menu

Menu panel

Game board

Tic tac toe board