A simple Tic-Tac-Toe game built with Vue 3 and Vite.
This is a small practice project, ideal for learning component-based UI design and basic game logic.
👉 Play it online on GitHub Pages
Or download the production build:
📦 xo-game-v1.0.0-production-ready.zip
- ✅ Responsive layout
- ✅ Simple, clean UI
- ✅ Game restart and win-detection logic
- ✅ Vuex-based state management
- ✅ No external CSS frameworks — just plain SCSS
git clone https://github.com/TheMachinist01/xo-game.git
cd xo-game
npm install
npm run dev
npm run build
npm run preview
Or use a static file server:
npm install -g serve
serve dist
If you want to deploy the project yourself:
- Set
base: '/xo-game/'
invite.config.js
- Install the deploy package:
npm install --save-dev gh-pages
- Add this to your
package.json
:
"scripts": {
"deploy": "gh-pages -d dist"
}
- Then run:
npm run build
npm run deploy
This project is licensed under the MIT License.
See: GitHub Commits