Skip to content

Tic Tac Toe is a simple and timeless game that can be enjoyed by people of all ages. This project aims to provide a user-friendly digital version of the game, allowing players to enter their names and compete against each other. If you're interested in learning HTML, CSS, and JavaScript, this Tic Tac Toe project can be a great starting point.

Notifications You must be signed in to change notification settings

MateenSeddiqi/Tic-Tac-Toe-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

A classic Tic Tac Toe game where users can enter their names and play against each other.

Introduction

Tic Tac Toe is a simple and timeless game that can be enjoyed by people of all ages. This project aims to provide a user-friendly digital version of the game, allowing players to enter their names and compete against each other.

Features

  • Player name input
  • Visual representation of the Tic Tac Toe board
  • Interactive gameplay with X and O markers
  • Automatic detection of winners and draws
  • Reset functionality to start a new game

Learning Opportunities

If you're interested in learning HTML, CSS, and JavaScript, this Tic Tac Toe project can be a great starting point:

  • HTML: Understand the structure and semantics of web pages, including elements like <div>, <input>, and <button>.
  • CSS: Learn how to style the web page, including the game board, player names, and buttons.
  • JavaScript: Implement the game logic, handle user interactions, and update the UI dynamically.

By exploring and modifying this project, you can gain practical experience in web development and build a solid foundation in these technologies.

Usage

  1. Open the Tic Tac Toe web page in your preferred browser.
  2. Enter the names of the two players in the designated input fields.
  3. Click the "Start Game" button to begin the game.
  4. Take turns placing your X or O markers on the Tic Tac Toe board by clicking on the desired cell.
  5. The game will automatically detect the winner or a draw, and display the result.
  6. To start a new game, click the "Reset" button.

Contributing

If you would like to contribute to the Tic Tac Toe project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and test them thoroughly.
  4. Submit a pull request with a detailed description of your changes.

Your contributions are greatly appreciated!

About

Tic Tac Toe is a simple and timeless game that can be enjoyed by people of all ages. This project aims to provide a user-friendly digital version of the game, allowing players to enter their names and compete against each other. If you're interested in learning HTML, CSS, and JavaScript, this Tic Tac Toe project can be a great starting point.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published