/tic_tac_toe_game_javascript

A simple, fun, Tic-Tac-Toe game Built using HTML + CSS+ JavaScript.

Primary LanguageJavaScript

Tic Tac Toe Game

Contents

The repository includes the following files:

  • index.html: The HTML file that defines the structure of the web page and contains the game interface.
  • style.css: The CSS file that defines the styles and layout of the game interface.
  • script.js: The JavaScript file that implements the game logic and handles user interactions.

Usage

To play the game, follow these steps:

  1. Clone or download the repository to your local machine.
  2. Open the index.html file in a web browser.
  3. The game interface will be displayed, showing a 3x3 grid representing the game board.
  4. Players take turns clicking on an empty square to make their move.
  5. The game will check for a winning combination or a draw and display the result accordingly.
  6. Play subsequent rounds by refreshing the page.
  7. Enjoy playing the Tic Tac Toe game!

Customization

You can customize the game by modifying the JavaScript code in the script.js file. For example, you can change the game board size, add additional players, or modify the winning conditions to suit your preferences.

Requirements

The game requires a modern web browser with JavaScript support to run correctly.

Contributions

Contributions to this repository are welcome. If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.

Preview

tic-tac-toe.mp4

Live Demo

https://sanjays-tic-tac-toe-fun.netlify.app/