mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2025-06-28 04:45:36 -04:00
22 lines
No EOL
804 B
Markdown
22 lines
No EOL
804 B
Markdown
# Tic Tac Toe
|
|
|
|
## Description
|
|
|
|
This is a simple Tic Tac Toe web application built using HTML, CSS, and JavaScript. Players can take turns marking spaces in a 3x3 grid, and the game will automatically detect a win or a draw.
|
|
|
|
## How to Run Locally
|
|
|
|
1. **Clone the Repository**
|
|
If you haven't already, clone the repository to your local machine.
|
|
|
|
2. **Open `index.html`**
|
|
Navigate to the project directory in your file explorer and open the `index.html` file in your web browser.
|
|
|
|
3. **Play**
|
|
You can now play Tic Tac Toe in your browser. Click on the empty cells to make your move.
|
|
|
|
## Project Structure
|
|
|
|
- `index.html`: The main HTML file for the game.
|
|
- `css/style.css`: Contains the styling for the game's interface.
|
|
- `js/main.js`: Contains the JavaScript code for the game logic. |