- Random
- Monte-Carlo
Install Nix Flakes, then:
nix develop .#wasm
# build and run app
make build && make serve
# test
make test
# benchmark
make time
# build, test, optimize
makeTest/bench using ghc:
nix develop .#default
cabal test
cabal run time
cabal bench
cabal build criterion && $(cabal list-bin criterion | tail -n 1) --output bench.html
$(cabal list-bin criterion | tail -n 1) --list
$(cabal list-bin criterion | tail -n 1) "Breakthrough.Game/play"