Skip to content

A classic Tic Tac Toe game built with HTML, CSS, and JavaScript. Enjoy real-time feedback on game status. Open-source and beginner-friendly!

Notifications You must be signed in to change notification settings

isharadbharadwaj/tic-tac-toe-html-css-js

Repository files navigation

Tic Tac Toe

A simple web-based Tic Tac Toe game built using HTML, CSS, and JavaScript.

Description

This project implements a classic Tic Tac Toe game where two players take turns marking spaces in a 3x3 grid. The game indicates when a player wins, loses, or the game ends in a draw. It's a fun and interactive game suitable for players of all ages.

Features

  • User-friendly interface
  • Responsive design for various devices
  • Real-time feedback on game status (win, lose, draw)
  • Easy-to-understand game mechanics
  • Built with modern web technologies (HTML, CSS, JavaScript)
  • Open-source project, feel free to contribute!

Screenshots

Tic Tac Toe Screenshot

How to Play

  1. Open the game in your web browser.
  2. Two players take turns clicking on the empty cells to mark their moves.
  3. The game will indicate when a player wins, loses, or the game ends in a draw.
  4. Click the "Restart" button to play again.

Installation

There is no installation required to play the game. Simply open the index.html file in your web browser to start playing.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to improve the game.

Author

Sharad Bharadwaj