crewbattle Svelte Themes

Crewbattle

An easy way to organize a crew battle, i.e. team-based tournament with a shared pool of life/stock.

Crew Battle

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:

  • Add crewmates
  • Form crews (both manually assign and randomize)
  • (TODO) Keep track of lives
  • (TODO) Export the state of the battle into text
  • Provide options for the number of crews and number of lives per crewmate

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.


But actually:

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

Top categories

Loading Svelte Themes