Skip to content

l76l105l/Tic-Tac-Toe_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎮 Tic-Tac-Toe Game

A modern, functional Tic-Tac-Toe game built with React and Vite. Enjoy the classic game with additional features like time travel, allowing you to jump to specific past moves, undo, and redo actions.

✨ Features

  • Classic Gameplay: Two players (X and O) take turns marking spaces in a 3×3 grid.
  • Move History (Time Travel): See the list of past moves and jump to any specific turn in history.
  • Undo / Redo / Reset: Instantly take back a move, redo a move, or reset the board completely.
  • Component-Based Architecture: Separation of concerns using Game, Board, and Square components.
  • Fast Development: Powered by Vite for blazing-fast Hot Module Replacement (HMR).

🚀 Tech Stack

  • React 19
  • Vite
  • CSS Modules for styling
  • ESLint for code linting
  • gh-pages (ready for GitHub Pages deployment)

📦 Installation & Setup

  1. Navigate to the project directory:
    cd Tic-Tac-Toe_game
  2. Install dependencies:
    npm install
  3. Start the development server:
    npm run dev
    The application will automatically open in your default browser.

🛠️ Build and Deploy

To build the project for production:

npm run build

To deploy the application to GitHub Pages (using the provided deploy script):

npm run deploy

Created as a minimalistic, adaptive, and modern standard implementation of Tic-Tac-Toe.

About

Данная система представляет собой программную имитацию классической стратегической игры «Крестики-нолики», реализованную в рамках концепции локального взаимодействия двух пользователей.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors