Self-Hosting Guide
With source code access, you can host your game on your own server.
When you purchase source code access for a game, you can download a standalone ZIP package from your dashboard. This package contains everything needed to run the game: HTML, JavaScript, assets, and the game engine.
The game must be opened through a web server. Opening index.html directly from your file explorer won't work due to browser security restrictions. Below are a few simple
ways to get started.
Running Locally
Start a local web server to preview the game on your computer.
Option A — VS Code + Live Server
The easiest option if you have Visual Studio Code installed.
- Install the Live Server extension in VS Code
- Unzip your download and open the folder in VS Code
- Right-click
index.htmland select "Open with Live Server" - The game will open in your browser automatically
Option B — npx serve (Node.js)
One command if you have Node.js installed.
- Unzip your download
- Open a terminal in the unzipped folder
- Run:
npx serve . Then open the URL shown in the terminal (usually http://localhost:3000).
Option C — Python
One command if you have Python installed.
- Unzip your download
- Open a terminal in the unzipped folder
- Run:
python -m http.server 8000 Then open http://localhost:8000 in your browser.
Deploying to a Host
Upload the game files to any web hosting provider to make it publicly accessible.
The game is a static website—no server-side code or database required. Upload the contents of the ZIP to any hosting provider and point to index.html. Some popular
options:
- Netlify or Vercel — drag and drop the folder to deploy instantly
- Shared hosting (GoDaddy, Hostinger, etc.) — upload via FTP or file manager
- Your own server — serve the files with Nginx, Apache, or any static file server
As long as the file structure from the ZIP is preserved, it will work out of the box.
Troubleshooting
Game shows a blank page when I open the HTML file
index.html directly from your file explorer (a file:// URL) won't work because browsers block local file access for security reasons. Use one of the local server options above.
Game doesn't load on my hosting
index.html, game.js, lib/, and assets/ folders must all be in the same directory.
If your host requires files in a specific folder (like public/ or www/), place all the files there together.
Need help?
If you run into any issues hosting your game, reach out and we'll help you get it working.
Contact Support