This project was made to practice my skills with JavaScript and also to learn more about CSS pseudo-elements.
git clone https://github.com/evelynlacerda/tictactoe-js.git
- How to use the
before
andafter
pseudo-elements - How to use the
nth-child
selector - Select elements using atributtes on HTML
- Make array for the game board
- 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!
- Add a score board
- Add choice to play against the computer
- Add choice for the player to choose their mark (X or O)