Bash.tv → GitHub → itch.io

Check and fix a browser game before it's uploaded anywhere (itch.io, GitHub Pages, Newgrounds, Game Jolt, CrazyGames) and make it play better in the browser. Finds broken paths, case-sensitive file names, size and file-count limits, junk files, blocked popups, missing touch controls, page scrolling from arrow keys, sound that never starts, unsafe saves, frame-rate-dependent loops and missing sc...

Download skill (.zip) Files on GitHub

Web game checkup

Run the checker, explain the results in plain words, fix what’s safe to fix, and run it again.

1. Run it

python3 <skill>/scripts/check-web-game.py <game-folder>                 # all platforms
python3 <skill>/scripts/check-web-game.py <game-folder> --platform itch  # itch | crazygames | newgrounds | gamejolt
python3 <skill>/scripts/check-web-game.py <game-folder> --json           # machine-readable

<game-folder> is the folder that gets uploaded: the one with index.html at the top (for example www/ or dist/). Build the game first if it has a build step. Exit code 1 means at least one error.

Level Meaning What to do
ERROR Will break on a host (blank page, missing files, rejected upload) Fix before uploading
WARN Plays worse in the browser or on phones Fix unless the user says no
TIP Nice to have Mention briefly, fix if asked

2. Fix

Use the snippets in references/fixes.md. Each finding’s message links to its section. Rules:

Common fixes in order of impact:

  1. Relative paths (./game.js) and exact file-name case → fixes most “blank on itch.io” reports
  2. index.html at the top of the folder, junk removed (.map, .DS_Store, node_modules)
  3. No alert/confirm/prompt → in-game panel
  4. Fit the screen + touch controls + touch-action: none
  5. Audio unlock on first tap, mute button
  6. Arrow/space preventDefault, click-to-play focus screen
  7. requestAnimationFrame + dt, pause when hidden
  8. Safe saves with try/catch and a game-specific key prefix

3. Check again and test

  1. Run the checker again until there are 0 errors.
  2. Test in the viewer’s preview (look_at_preview / control_preview), and on a phone-sized viewport (set_preview_viewport phone) if the game should work on phones.
  3. Tell the user in one or two sentences what was fixed and anything left. Example: “Fixed 3 things that would have made it blank on itch.io and added touch controls. The music file is still 9 MB. Want me to shrink it?”

Platform notes

Platform Limits and rules
itch.io 1,000 files, 500 MB extracted, case-sensitive names, index.html at the top of the ZIP
CrazyGames 50 MB initial / 250 MB total / 1,500 files, no outside ads/links, remove the Bash badge
Newgrounds / Game Jolt ZIP with index.html at the top; set the embed size to the game size
GitHub Pages Served from /<repo>/, so relative paths are required
Bash preview No alert, no SharedArrayBuffer / threads