Thanks to visit codestin.com
Credit goes to github.com

Skip to content

curiousbud/Tic-Tac-Toe-game-with-HTML-CSS-and-JavaScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe Game

A delightful Tic-Tac-Toe game featuring adorable critter characters (Ladybug vs Bumblebee) with score tracking and symbol randomization!

Tic-Tac-Toe Game Preview

Netlify Status License: MIT

✨ Features

  • 🎮 Two-player gameplay on the same device
  • 🐞🐝 Cute critter characters (Ladybug and Bumblebee emojis)
  • 🔄 Random symbol assignment each game
  • 📊 Comprehensive score tracking (wins, losses, draws)
  • 🎨 Modern, responsive design
  • 📱 Mobile-friendly interface
  • 🔁 Continue or reset options

🛠️ Technologies Used

  • HTML5 - Structure and semantics
  • CSS3 - Styling and responsive design
  • Vanilla JavaScript - Game logic and interactivity

📋 Prerequisites

  • A modern web browser (Chrome, Firefox, Safari, Edge)
  • Basic understanding of HTML/CSS/JavaScript (for contributors)

🚀 Quick Start

Option 1: Download and Run

  1. Download the repository as ZIP or clone it:

    git clone https://github.com/curiousbud/Tic-Tac-Toe-game-with-HTML-CSS-and-JavaScript.git
  2. Navigate to the project folder:

    cd Tic-Tac-Toe-game-with-HTML-CSS-and-JavaScript
  3. Open index.html in your web browser

Option 2: Live Server (Recommended for Development)

If you have VS Code with Live Server extension:

  1. Open the project folder in VS Code
  2. Right-click on index.html
  3. Select "Open with Live Server"

🎮 How to Play

  1. The game randomly assigns 🐞 (Ladybug) and 🐝 (Bumblebee) to Player 1 and Player 2
  2. Players take turns clicking empty squares
  3. Get three symbols in a row (horizontal, vertical, or diagonal) to win
  4. Scores are tracked across multiple games
  5. Use Continue to play again with the same scores, or Play Again to reset everything

📁 Project Structure

Tic-Tac-Toe-game/
├── index.html          # Main HTML file
├── assets/
│   ├── css/
│   │   └── style.css   # Styling
│   └── js/
│       └── app.js      # Game logic
├── README.md
└── LICENSE

🤝 Contributing

We love contributions! Here's how you can help improve this project:

🐛 Found a Bug?

  1. Check if it's already reported in Issues
  2. If not, create a new issue with:
    • Clear description of the bug
    • Steps to reproduce
    • Expected vs actual behavior
    • Screenshots if applicable

💡 Have an Idea?

Great! We'd love to hear it. Please:

  1. Open an issue to discuss your idea first
  2. Wait for feedback before starting work

🔧 Ready to Code?

  1. Fork the repository
  2. Create a new branch:
    git checkout -b feature/your-feature-name
  3. Make your changes
  4. Test thoroughly
  5. Commit with a clear message:
    git commit -m "Add: description of your changes"
  6. Push to your fork:
    git push origin feature/your-feature-name
  7. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

About

The game is live at:

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •