/tic-tac-toe

Primary LanguageJavaScriptMIT LicenseMIT

Tic Tac Toe Game

This is a simple implementation of the classic Tic Tac Toe game using HTML, CSS, and JavaScript. It allows two players to play against each other on a grid of 3x3 squares, taking turns to place their respective markers (X or O) until one player wins or the game ends in a draw.

Screenshot 2024-04-24 122733

Screenshot 2024-04-24 122701

Features

Simple and intuitive user interface.

Two-player gameplay.

Real-time updates on the game status (e.g., whose turn it is, winner, draw).

Responsive design, playable on both desktop and mobile devices.

Getting Started

To play the game, simply open the index.html file in your web browser.

Alternatively, you can try the live demo hosted on Netlify using this link: https://sunny-dasik-0bb070.netlify.app/

Contributing

If you'd like to contribute to this project, follow these steps:

  1. Fork the repository by clicking the "Fork" button on the top-right corner of this page.

  2. Clone your forked repository to your local machine: git clone https://github.com/1HashCode/tic-tac-toe.git

  3. Create a new branch for your changes: git checkout -b feature/your-feature-name Make your changes to the codebase. Test your changes locally to ensure they work as expected.

  4. Commit your changes with descriptive commit messages: git commit -m "Add feature: description of your changes"

  5. Push your changes to your forked repository: git push origin feature/your-feature-name

Finally, open a pull request from your forked repository to the original repository. Provide a clear description of your changes in the pull request.

License

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