Bash.tv → GitHub → itch.io

Template prompts

Prompts for making the starter templates in Bash.tv. Each file is one template: open it, copy everything under the line, and paste it into a new Bash.tv space. The bot there downloads the toolkit from the website, builds the template with its components, sets up the project docs, and proves it works with the quality gates.

Make the templates in this order if you want each one to build on the last: 1 (vanilla) first, then the others in any order.

# Template Technology Docs Needs a GPU browser to check
1 Vanilla HTML5 Game HTML, CSS and JavaScript ES modules, no build step full no
2 TypeScript Game TypeScript with Vite (strict mode), built to dist/ full no
3 Single HTML File Game One self-contained index.html: HTML, CSS and JavaScript inline lite no
4 Canvas 2D Game Canvas 2D API with plain JavaScript modules full no
5 Phaser Game Phaser 3 (current stable release from npm) with Vite full yes
6 PixiJS Game PixiJS v8 with Vite full yes
7 Three.js Game Three.js with Vite full yes
8 WebGL Game Raw WebGL 2 with a small renderer written for the template full yes
9 WebGPU Game WebGPU with a WebGL 2 fallback full yes
10 Mobile-First Game Canvas 2D, designed for one-thumb phone play first full no
11 Portrait Game Canvas 2D with a fixed portrait layout (9:16) full no
12 Landscape Game Canvas 2D with a fixed landscape layout (16:9) full no
13 Multiplayer Game Node.js WebSocket server (server decides what happens) and a Canvas 2D client full no
14 Local Multiplayer Game Canvas 2D, 2 to 4 players on one device full no
15 PS1 Horror Game Three.js with a low-resolution retro look full yes
16 Pixel Art RPG Canvas 2D, tile-based, pixel-perfect scaling full no
17 Arcade Shooter Canvas 2D full no
18 Tower Defense Canvas 2D full no
19 Card Game HTML and CSS for the cards (DOM), JavaScript modules full no
20 Visual Novel HTML and CSS (DOM), JavaScript modules full no
21 Game Jam Starter Plain JavaScript modules, as little setup as possible lite no
22 PWA Game HTML5 game that can be installed and played offline full no

Every prompt asks for the same basics

Changing the prompts

The shared rules and each template’s details are in build-prompts.py. Edit that, then run:

python3 template-prompts/build-prompts.py          # rewrite the prompt files and the list above
python3 template-prompts/build-prompts.py --check  # make sure they're up to date (also run by the website build)