Collection of free JavaScript Tic Tac Toe game code examples.


Demo image: Tic Tac Toe Board

Author

  • Sanket Vaghela

Made with

  • HTML (Pug) / CSS (Sass) / JS

About a code

Tic Tac Toe Board

Pure JavaScript tic tac toe board.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: tailwind.css

Demo image: Tic Tac Toe

Author

  • Andrew Biddle

Made with

  • HTML / CSS / JS

About a code

Tic Tac Toe

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: jquery.js

Demo image: Tic Tac Toe

Author

  • Yago Estévez

Made with

  • HTML / CSS / JS (Babel)

About a code

Tic Tac Toe

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: react.js, react-dom.js

Demo image: Unbeatable Tic Tac Toe

Author

  • Dovydas

Made with

  • HTML / CSS / JS

About a code

Unbeatable Tic Tac Toe

A twist on tic tac toe, using emoji icons to represent your symbol, and an AI that talks back making fun of you when you lose. Note: you can't win at this game as it is using a min max algo. There is a bug however that if exploited can "help" you win, but that's just cheating.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Demo image: Pretty Tic Tac Toe

Author

  • Emily Goldfein

Made with

  • HTML / CSS / JS

About a code

Pretty Tic Tac Toe

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: animate.css, jquery.js

Demo image: Tic Tac Toe

Author

  • r00bal

Made with

  • HTML / CSS (SCSS) / JS

About a code

Tic Tac Toe

This is the tic tac toe game. You can play against a human player or computer which has AI build based on minimax algorithm.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: -

Demo image: Tic tac Toe Minimax Algorithm AI

Author

  • Raphael Pora

Made with

  • HTML / CSS (SCSS) / JS (Babel)

About a code

Tic tac Toe Minimax Algorithm AI

Tic Tac Toe game. You play against the computer, driven by the minimax algorithm.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: -

Demo image: Tic Tac Toe

Author

  • Tim Rijkse

Made with

  • HTML / CSS (SCSS) / JS (Babel)

About a code

Tic Tac Toe

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: vue.js, lodash.js, tweenmax.js

Demo image: Tic Tac Toe Game

Author

  • Mohammed ERRAYSY

Made with

  • HTML / CSS (Sass) / JS

About a code

Tic Tac Toe Game

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: font-awesome.css, jquery.js

Demo image: Impossible Tic-Tac-Toe

Author

  • Epic

Made with

  • HTML (Pug) / CSS (Stylus) / JS

About a code

Impossible Tic-Tac-Toe

A simple game of tic-tac-toe. It is impossible to win, best you can do is tie!

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: jquery.js

Demo image: Tic-Tac-Toe

Author

  • Bruce Young

Made with

  • HTML / CSS / JS

About a code

Tic-Tac-Toe

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: materialize.css, animate.css, font-awesome.css, jquery.js, materialize.js

Demo image: Tic-tac-toe In JavaScript

Author

  • Jan Schreiber

Made with

  • HTML / CSS / JS

About a code

Tic-tac-toe In JavaScript

A simple Tic-tac-toe game in JavaScript.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: -

Demo image: Tic-Tac-Toe

Author

  • zoite

Made with

  • HTML (Pug) / CSS (SCSS) / JS

About a code

Tic-Tac-Toe

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: font-awesome.css, jquery.js

Demo image: Tic Tac Toe Game

Author

  • tushar bandal

Made with

  • HTML / CSS / JS

About a code

Tic Tac Toe Game

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: bootstrap.css, jquery.js

Demo image: Tic-Tac-Toe

Author

  • Armando Amador

Made with

  • HTML / CSS / JS

About a code

Tic-Tac-Toe

Tic-Tac-Toe created using HTML, CSS and Javascript.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: -