A simple and responsive Tic-Tac-Toe game built with HTML, CSS, JavaScript, and styled using Tailwind CSS.
- Classic 2-player Tic-Tac-Toe gameplay
- Responsive layout using Tailwind CSS
- Smooth user experience and minimal UI
- Reset button to restart the game
- HTML5
- CSS3
- JavaScript (ES6)
- Tailwind CSS
- Git & GitHub
- git clone
https://github.com/techvoyager-varun/Tic-Tac-Toe.git
-
cd Tic-Tac-Toe
-
Run
npm install
to install dependencies.
-
npx tailwindcss -i ./input.css -o ./output.css --watch
-
If your package.json has a script like this add these parts:
"scripts": {
"build": "tailwindcss -i ./input.css -o ./output.css --watch",
"start": "live-server",
}
- This example uses live-server, so make sure you have it installed globally:
npm install -g live-server
- Final live server starting line:
npm start