Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on Windows
Saved setup from 8 h ago
Will it work on Windows?
Because the app uses native ES modules (main.js is loaded via <script type="module">), it needs to be served over http(s):// rather than opened directly as a file:// URL.
git clone https://github.com/brandon-300/chess-game.git
cd chess-game
database.js expects (profiles, saved games, online rooms, chat/call logs, etc.) to match the queries in that file.config.js.Local two-player and vs-AI modes will work without Supabase configured; accounts, cloud save/restore, and online multiplayer (including voice chat) require it.
Voice chat uses WebRTC, with signaling passed over a Supabase Realtime channel. It requires microphone permission and a working STUN/TURN setup for players on restrictive networks (e.g. mobile carriers) to connect to each other.
Any static file server works, for example:
# Using Node
npx serve .
# Using Python
python3 -m http.server 8000
Then open http://localhost:<port>/index.html in your browser.
The project is a static site, so it deploys as-is to any static host. The live demo is hosted on Vercel — simply import the repo and deploy with no build command.
Then run powershell -ExecutionPolicy Bypass -File .\setup.ps1. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: winget install Git.Git
git clone https://github.com/brandon-300/chess-game.git cd chess-game
Python 3, Node.js
winget install Python.Python.3.12 winget install OpenJS.NodeJS.LTS
In the maintainers' order. Do the README instructions above first — they cover steps outside the terminal.
npx serve . python3 -m http.server 8000
No reports for Windows yet.
GitManual AI Agent reads the 1 key files and writes a step-by-step guide for Windows. Once written, it's saved for everyone.