A classic Tic Tac Toe game developed with HTML, CSS, and JavaScript. The project focuses on practicing DOM manipulation, game logic, event handling, and responsive interface development without external libraries.
- Interactive 3x3 game board
- Two-player mode (X vs O)
- Automatic turn switching
- Winner detection
- Draw detection
- Restart game functionality
- Responsive layout
- Clean and organized JavaScript logic
- HTML5
- CSS3
- JavaScript (ES6)
tic-tac-toe/
│
├── assets/
│ ├── images/
│ └── fonts/
│
├── index.html
├── style.css
├── script.js
└── README.md
This project was created to practice concepts such as:
- DOM manipulation
- Event listeners
- Conditional logic
- Arrays
- Functions
- Game state management
- Responsive design
- CSS variables
- User interface development
Clone the repository:
git clone https://github.com/rayssarrsilva/tic-tac-toe.gitOpen the project folder:
cd tic-tac-toeThen simply open the index.html file in your browser.
Rayssa Roberta
- GitHub: https://github.com/rayssarrsilva
This project is available for educational purposes.
https://www.figma.com/design/mqktcbiZLe3u38Oa2YIn0X/tictactoe?node-id=5-9&t=SExICa1gVaYFKw8f-1