Git Product home page Git Product logo

tic-tac-toe_game's Introduction

Typing SVG

Tic Tac Toe Game using Javascript

This is a simple Tic Tac Toe game built using JavaScript. It allows two players to take turns and play the classic game on a web browser.

โญ• This Site is Fully Responsive

๐Ÿ“Œ Live Site URL: Visit Now ๐Ÿš€

Table of Contents

Installation

To run this Tic Tac Toe game on your local machine, follow these steps:

  1. Clone this repository to your local machine using the following command:

    ```bash git clone (https://github.com/sakshams23/Tic-Tac-Toe_Game) ```

  2. Navigate to the project directory.

  3. Open the `index.html` file in your preferred web browser.

That's it! You're ready to play Tic Tac Toe.

Usage

  • Upon opening the `index.html` file, you will see a 3x3 grid representing the Tic Tac Toe board.
  • Players take turns by clicking on empty cells to place their respective symbols (X or O).
  • The game will automatically determine if a player has won or if it's a draw.
  • After the game ends, you can restart it by clicking the "Restart" button.

Game Rules

  • The game is played on a 3x3 grid.
  • Two players take turns, one playing as X and the other as O.
  • The objective is to get three of your own symbols (X or O) in a row, column, or diagonal.
  • The game ends when one player achieves the winning condition or when all cells are filled without a winner (a draw).

Contributing

Contributions to improve this Tic Tac Toe game are welcome. If you'd like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your modifications and commit changes.
  4. Push your changes to your forked repository.
  5. Submit a pull request detailing your changes.

Thank You

tic-tac-toe_game's People

Contributors

sakshams23 avatar gitsaksham avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.