Skip to content

DigitalEforce/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Tic Tac Toe Game

A simple Tic Tac Toe game built with HTML, CSS, and JavaScript.
Play as Player X or Player O and see who wins โ€” or if itโ€™s a draw!


๐Ÿš€ Live Demo

(After enabling GitHub Pages, your game will be playable here.)
๐Ÿ‘‰ Play Tic Tac Toe (link will work after setup)


๐Ÿ“‚ Project Structure

tic-tac-toe/
 โ”œโ”€โ”€ index.html   # Main game page
 โ”œโ”€โ”€ style.css    # Styling for the board & UI
 โ””โ”€โ”€ script.js    # Game logic

๐ŸŽฏ Features

  • Classic 3x3 Tic Tac Toe board
  • Two-player mode (X vs O)
  • Detects winners and draws
  • Restart button to play again

๐Ÿ› ๏ธ How to Run

  1. Clone the repository:
    git clone https://github.com/DigitalEforce/tic-tac-toe.git
  2. Open index.html in your browser.
  3. Start playing! ๐ŸŽ‰

๐ŸŒ Deploy to GitHub Pages

  1. Go to your repo Settings โ†’ Pages
  2. Under Source, select branch: main and folder: / (root)
  3. Click Save
  4. Your game will be live at:
    https://digitaleforce.github.io/tic-tac-toe/
    

๐Ÿ“œ License

This project is open-source under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published