Skip to content

evelynlacerda/tictactoe-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe Game

GitHub watchers GitHub repo size

The classic Tic Tac Toe game made with HTML, CSS and JavaScript!


This project was made to practice my skills with JavaScript and also to learn more about CSS pseudo-elements.

👥 Clone this repository:

git clone https://github.com/evelynlacerda/tictactoe-js.git

📚 What I learned:

  • How to use the before and after pseudo-elements
  • How to use the nth-child selector
  • Select elements using atributtes on HTML
  • Make array for the game board

🚀 Technologies:

🎮 How to play:

  • Click here to play: Tic-Tac-Toe Game
  • Or clone this repository and open the index.html file on your browser/IDE server
  • The game is for two players, X and O. The player who succeeds in placing three of their marks in a diagonal, horizontal, or vertical row is the winner.
  • Click on the board to place your mark and have fun!

Preview:

✨ Future improvements:

  • Add a score board
  • Add choice to play against the computer
  • Add choice for the player to choose their mark (X or O)

🤝 Contributors: