Damage simulator for OSRS written in Go with a angular web app frontend.
- navigate to osrs-damage-sim/backend/osrs-dmg-sim
go install github.com/air-verse/air@latestgo get .air
- Run all unit tests
go test -v ./... - Run all benchmark tests
go test -v ./... -bench . -run=xxx - Run benchmark with profiling
go test -bench . -cpuprofile='cpu.prof' -memprofile='mem.prof' -benchmem
- navigate to osrs-damage-sim/frontend/osrs-damage-sim
- install dependencies
npm install - start web app
npm start