Skip to content

Welcome to our Tic-Tac-Toe game repository! This is a JavaScript implementation of the classic Tic-Tac-Toe game, with a user interface created using HTML, and CSS. In this project, we aimed to create a fun and challenging game that is accessible to players of all levels.

Notifications You must be signed in to change notification settings

CodeStudio-Content/Tic-Tac-Toe-JavaScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe build using JS

About The Project

Tic Tac Toe is a simple game that is played by two players. The game is played on a 3x3 grid. The players take turns placing their symbol (either "X" or "O") in an empty cell. The first player to get three of their symbols in a row (horizontally, vertically, or diagonally) wins the game. If all cells are filled and no one has won, the game is tied.

Blog

Check out our project blog post for more information on the development process and our thoughts on the Tic Tac Toe Game project:

Getting Started

To get a local copy up and running follow these simple example steps.

Installation

  1. Clone the repo https://github.com/CodeStudio-Content/Tic-Tac-Toe-JavaScript.git
  2. cd Tic-Tac-Toe-JavaScript

Usage

  • Open the index.html file in your browser
  • Click on the boxes to play the game

Requirements

  • HTML
  • CSS
  • Javascript

How to Play

  1. The game is played on a 3x3 grid.
  2. The players take turns placing their symbol (either "X" or "O") in an empty cell.
  3. The first player to get three of their symbols in a row (horizontally, vertically, or diagonally) wins the game.
  4. If all cells are filled and no one has won, the game is tied.

Files

  • index.html :
    • This is the main file that contains the html code for the game.
  • style.css :
    • This file contains the styling for the game.
  • game.js :
    • This file contains the logic for the game.

About

Welcome to our Tic-Tac-Toe game repository! This is a JavaScript implementation of the classic Tic-Tac-Toe game, with a user interface created using HTML, and CSS. In this project, we aimed to create a fun and challenging game that is accessible to players of all levels.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •