Skip to content

Caktusuki/Tictactoe

Repository files navigation

Tic Tac Toe Game

Overview

This project is a classic Tic Tac Toe game implemented using HTML, CSS, and JavaScript. The game is designed to be user-friendly, responsive, and visually appealing, providing an enjoyable gaming experience for players of all ages.

Features

  • Interactive Gameplay: Two-player mode with clear turn indications.
  • Responsive Design: Works seamlessly on desktop and mobile devices.
  • Winning Highlights: Highlights the winning combination upon game completion.
  • Reset Option: Easy reset to start a new game.

How to Play

  1. Open the game in your browser.
  2. Player 1 starts as "X" and Player 2 as "O".
  3. Players take turns clicking on the grid cells to place their mark.
  4. The first player to align three marks horizontally, vertically, or diagonally wins.
  5. If all cells are filled without a winner, the game ends in a draw.

Technologies Used

  • HTML: Structure of the game.
  • CSS: Styling and responsive layout.
  • JavaScript: Game logic and interactivity.

Installation

  1. Clone the repository:
    git clone https://github.com/Caktusuki/tic-tac-toe.git  
  2. Open index.html in your browser to start the game.

Future Enhancements

  • Single-player mode with AI opponent.
  • Score tracking system.
  • Advanced styling and animations.

Contributing

Feel free to fork the repository and submit pull requests for improvements or new features.


Let me know if you’d like any other updates!

About

First project took some time but felt so good

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors