Calculator for helping analyze shooting and fighting attacks in Kill Team (2021 edition). Heavily inspired by kt2.doit-cms.ru (now offline).
Live at jmegner.github.io/KT21Calculator.
For reference, here's ktcalc's announcement reddit thread and follow-up thread for fight support. Check out Kill Team Resources repo for other calculators/simulators and more.
See issues, but to comment on the big ones ...
Basically, this is a React SPA web app mostly written in TypeScript. There is some Rust compiled down to wasm for some stuff where I needed more performance. I use GitHub Actions to test, build, and deploy the web app upon every git-push to main branch. I do my development in vscode.
List of notable technologies/libs/whatever used...
Dev setup...
rustup target add wasm32-unknown-unknown
as well.npm ci
to install npm packages with exact versions of previous development.npm run build
to build the wasm and React stuff.npm start
to build the TypeScript stuff and run.npm start
before launching the debugger.
For debugging tests, you can just launch one of vscode's test-oriented debug profiles.npm test
for normal watch-mode testing that sticks around.
Do npm run testq
that does a single run of tests (like doing test
and then hitting q
to quit).My thanks to Daniel Espinoza-Hernandez for UI improvements, like Accordions and SwipableViews.
My thanks to Dave/veddermatic for the nav bar and icons at top.
My thanks to Redux maintainer Mark Erikson for his advice and help. I decided not to use Redux just yet, but look forward to using it.