An easy way to organize a crew battle, i.e. a team-based tournament with a shared pool of life/stock. I think it originated from the Super Smash Bros. scene, but I was introduced to the concept from a tiny indie game, SpyParty.
Crew Battle does the following:
There's another helper tool at /wildcards that's specific to SpyParty. Wildcards is a way to pseudo-randomly select and keep track of a set of rules for two teams. Duplicate rules are guaranteed not to appear and removing a rule ensures it won't show up again until every other rule has appeared.
I enjoyed using Svelte, SvelteKit, and Cloudflare Pages with my other project, so I wanted to continue exploring these. This time, I added Carbon Components Svelte instead of writing completely custom CSS. I also used Svelte stores instead of relying on locally declared bindings, and [pnpm] instead of npm.
To run locally, install dependencies:
pnpm i
Then run:
pnpm dev