GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - shubham03mathur/tic-tac-toe: A simple and interactive Tic-Tac-Toe game built with ReactJS and powered by Vite. Playable in-browser and deployed on Vercel. Perfect for practising React state management and game logic!

BranchesTags
Open more actions menu

Latest commit

 

History

10 Commits
10 Commits

Folders and files

NameName
Last commit message
Last commit date
public
public
 
 
src
src
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
eslint.config.js
eslint.config.js
 
 
index.html
index.html
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
vite.config.js
vite.config.js
 
 

Repository files navigation

Tic-Tac-Toe Game

This is a simple Tic-Tac-Toe game built using ReactJS and powered by Vite for blazing fast development. The game allows two players to compete against each other in a classic 3x3 grid. It's deployed on Vercel for easy access!

Live Demo

Check out the live demo here: Tic-Tac-Toe Game

Features

  • Interactive Gameplay: Two-player game with alternating turns.
  • React State Management: Game state is managed using React hooks.
  • Fast Build: Built with Vite for a quick and efficient development experience.
  • Deployed on Vercel: Accessible online through Vercel’s global edge network.

Technologies Used

  • ReactJS: For building the UI and managing the game state.
  • Vite: Fast and lightweight build tool for development.
  • CSS: For styling the components.
  • Vercel: For deployment.

Installation

To run this project locally, follow these steps:

  1. Clone the repo:
    git clone https://github.com/shubham03mathur/tic-tac-toe.git
  2. Navigate to the project directory:
    cd tic-tac-toe
  3. Install dependencies:
    npm install
  4. Start the development server:
    npm run dev
  5. Open your browser and visit http://localhost:5173.

How to Play

  • The game is played on a 3x3 grid.
  • Player 1 uses X, and Player 2 uses O.
  • Players take turns to place their marks in empty squares.
  • The first player to align three of their marks horizontally, vertically, or diagonally wins.
  • If all squares are filled without a winner, the game ends in a draw.

Contributions

Feel free to fork this repository and submit pull requests if you have improvements in mind!

License

This project is open-source and available under the MIT License.


About

A simple and interactive Tic-Tac-Toe game built with ReactJS and powered by Vite. Playable in-browser and deployed on Vercel. Perfect for practising React state management and game logic!

y-seven-ashen-33.vercel.app/

Topics

javascriptjsxmachinecodingreact-interviewreactjs

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.