summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
MA Beaudet [Fri, 5 Nov 2021 14:42:13 +0000 (15:42 +0100)]
feat: add frequency function and constants
`frequency` is available through wasm_bindgen.
MA Beaudet [Fri, 5 Nov 2021 14:37:28 +0000 (15:37 +0100)]
feat: eval_from_str split in two functions
`eval_from_str` was doing too much. Now `parse_cards` parses the cards
and `eval_hand` wraps over `eval_5hand` and `eval_7hand`.
Both functions are available through wasm_bindgen
MA Beaudet [Fri, 5 Nov 2021 14:33:12 +0000 (15:33 +0100)]
fix: parsing a card now returns an option
`card_from_str` is renamed to `parse_card` and now returns an
`Option<u32>` instead of a `u32`. The function does not panic anymore.
MA Beaudet [Fri, 5 Nov 2021 10:05:03 +0000 (11:05 +0100)]
chore(web): remove comments from index.js
MA Beaudet [Fri, 5 Nov 2021 09:59:11 +0000 (10:59 +0100)]
fix: convert unnecessary u32 to u16 and u8
Debug builds are now 2x faster, release builds were already optimized
MA Beaudet [Fri, 5 Nov 2021 08:32:21 +0000 (09:32 +0100)]
refactor: main now in examples
MA Beaudet [Thu, 4 Nov 2021 18:01:23 +0000 (19:01 +0100)]
feat(web): update html and css for lighthouse performance
MA Beaudet [Thu, 4 Nov 2021 16:24:57 +0000 (17:24 +0100)]
feat(wasm): add wasm js generated files and basic web example
MA Beaudet [Wed, 3 Nov 2021 22:26:22 +0000 (23:26 +0100)]
Merge branch 'main' of mars:/srv/git/poker-eval
* 'main' of mars:/srv/git/poker-eval:
feat: add wasm-bindgen build option and live example
MA Beaudet [Wed, 3 Nov 2021 21:34:36 +0000 (22:34 +0100)]
feat: add wasm-bindgen build option and live example
Pass Automated Testing Suite [Wed, 3 Nov 2021 21:34:36 +0000 (22:34 +0100)]
feat: add wasm-bindgen build option and live example
Pass Automated Testing Suite [Wed, 3 Nov 2021 08:52:16 +0000 (09:52 +0100)]
initial commit