Skip to content

Tic Tac Toe or Xs and Os is a paper-and-pencil game for two players who take turns marking the spaces in a three-by-three grid, one with Xs and the other with Os.

Notifications You must be signed in to change notification settings

Mikulew/js-tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JS Tic Tac Toe

Table of contents

General info

Tic Tac Toe or Xs and Os is a paper-and-pencil game for two players who take turns marking the spaces in a three-by-three grid, one with Xs and the other with Os. A player wins when they mark all three spaces of a row, column, or diagonal of the grid, whereupon they traditionally draw a line through those three marks to indicate the win. It is a solved game, with a forced draw assuming best play from both players.

Technologies

  • HTML5
  • CSS
  • JavaScript (ES6+)

Demo

See here

Resources

Articles and videos that I was inspired and used to write the base and how to solve a given problem with the tic tac toe's logic. Project is work in progress. This project is going to be totally rewritten and the code is a draft version.

  1. Wikipedia: Tic-tac-toe
  2. GeeksForGeeks: Simple Tic-Tac-Toe Game using JavaScript
  3. Simple Tic-Tac-Toe JavaScript game for beginners
  4. Create a simple Tic-Tac-Toe game using HTML, CSS, JavaScript
  5. How to Code Tic Tac Toe in JavaScript
  6. How to create a Tic Tac Toe game with HTML, CSS, and JavaScript
  7. How to Write an Unbeatable Tic-Tac-Toe in JavaScript
  8. JavaScript tic tac toe - beginner level - t24
  9. JavaScript tic tac toe - intermediate level - t24
  10. Vanilla JavaScript Tic Tac Toe
  11. Stackoverflow: Simple Javascript Tic-Tac-Toe game
  12. Stackoverflow: HTML/JavaScript Tic Tac Toe with a 2D array
  13. Tic Tac Toe in JavaScript (Super Simple!)
  14. Build Tic Tac Toe With JavaScript - Tutorial
  15. Coding a Tic-Tac-Toe game
  16. How to Win Tic-Tac-Toe: The Strategies You Need to Master

About

Tic Tac Toe or Xs and Os is a paper-and-pencil game for two players who take turns marking the spaces in a three-by-three grid, one with Xs and the other with Os.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published