A web-based Tic-Tac-Toe game built using HTML, CSS, and JavaScript.
Tic-Tac-Toe is a classic two-player game where players take turns marking X or O in a 3ร3 grid. The goal is to get three of your symbols in a row โ horizontally, vertically, or diagonally. It's a fun and easy game that helps improve logical thinking and strategy skills.
This simple project was developed as part of a hands-on session in our college Data Club, guided by our seniors. It was an engaging way to learn the basics of web development and game logic.
- Two-player mode: X vs O
- Highlights the winning combination
- Displays the winner or a draw
- Restart button to reset the game
Wanna play my Tic-Tac-Toe? ๐ Press here to play!
โโโ index.html # Game structure
โโโ style.css # Game styling
โโโ script.js # Game logic
-
Clone the repository:
git clone https://github.com/your-username/tic-tac-toe.git cd tic-tac-toe -
Open
index.htmldirectly in your browser (No installations needed โ just open and play!)
- Click the Code button on this repo and select Download ZIP.
- Extract (unzip) the folder.
- Open the folder in VS Code.
- Install the Live Server extension (if not already installed).
- Right-click
index.htmlโ Open with Live Server. - Play the game in your browser.
This project was created during a Data Club activity in my 1st year of B.Tech, under the guidance of our seniors.
Special thanks to them for mentoring us and providing a great hands-on learning experience with web development.
If you like this repository or found it helpful, please give it a star โญ โ it really motivates me to keep creating and sharing more projects like this!
You can also fork it, try adding new features, and share your own version.


