weirdgungamecr

A calculator to bruteforce find the best gun for the roblox game "Weird Gun Game".

WeirdGunGameCalc

Build

shards build --release

Executable output:

./bin/wggcalc --help

Run examples

./bin/wggcalc --top 10 --sort ttk --include AR,SMG
./bin/wggcalc --sort dps --priority highest --dps-min 100
./bin/wggcalc --ttk-max 0.25 --mh 100

Supported flags

  • --data <path> path to FullData.json
  • --top <n> number of returned builds
  • --mh <health> max player health
  • --sort <ttk|dps|damage|damageend|firerate|magazine>
  • --priority <highest|lowest|auto>
  • --include <cat1,cat2,...> include weapon categories
  • --part-pool <n> candidate parts per type per core
  • --damage-min, --damage-max
  • --damage-end-min, --damage-end-max
  • --ttk-min, --ttk-max (seconds)
  • --dps-min, --dps-max
  • --metrics

Test

crystal spec

Regenerating sheet data

crystal run ParseSheet.cr

Web app (GitHub Pages)

A browser-hosted version is available under docs/.

  • Entry point: docs/index.html
  • Engine: docs/src/engine.js
  • UI: docs/src/app.js
  • Tests: docs/tests/engine.test.mjs

See docs/README.md for GitHub Pages deployment steps.

Repository

weirdgungamecr

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • about 4 hours ago
  • April 12, 2026
License

Links
Synced at

Wed, 22 Apr 2026 08:42:43 GMT

Languages