/js-tic-tac-toe

Javascript implementation of the game Tic-Tac-Toe

Primary LanguageJavaScript

JS Tic Tac Toe

Javascript implementation of the game Tic Tac Toe.

   

Live demo here

How to play

Just click on the cells on the 3x3 grid, each click consists in one turn.

The first player to get three connected cells in a straight line wins.

Project features

  • Light and Dark mode
  • Mobile support
  • Vanilla JS
  • Player vs Player
  • Player vs AI
  • Sound effects
  • Animations

External/Thanks to

Name Description
Eslint For linting and semantic analysis
Jest For unit testing
Font awesome For the X and O icons
Github actions For CI, building and deploying to github pages
Google fonts For the Poiret One font
flaticon Tic tac toe icons created by Freepik - Flaticon
maketext.io For Generating this awesome header
Freesound.org For providing creative commons audio FX
Minimax algorithm For providing decision tree logic, which controls the AI