Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

games

Static game collection for heist deployed via Cloudflare Workers.

Local preview

Open heist/index.html directly in your browser or serve the folder with a local static server.

Deploy

This project uses Cloudflare Workers to serve the games site from the repo root.

The heist2 game uses the same domain for its WebSocket room endpoint at /room, so no separate Node server is required once the Worker is deployed.

Run the deploy script from the repo root:

npm install
./scripts/deploy.sh

That script changes to the repo root and executes:

npx wrangler deploy

Cloudflare setup

The Cloudflare configuration is in wrangler.toml with:

  • route = "games.veyan.ai/*"
  • [site].bucket = "./heist"

Make sure the parent zone veyan.ai is added to Cloudflare and the games subdomain DNS record exists.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages