feat: add evaluator and hand structs (WIP)
authorMA Beaudet <ma@beaudet.xyz>
Sat, 6 Nov 2021 12:02:18 +0000 (13:02 +0100)
committerMA Beaudet <ma@beaudet.xyz>
Sat, 6 Nov 2021 12:02:18 +0000 (13:02 +0100)
commit28b6f43cad7d013aeb21f9b631815db23fab259b
tree9d3c8e4783c5379ee05df005c4e5d610ec8d3680
parentfc2e651c563bd214f50e7eb26906ad83c3203e2c
feat: add evaluator and hand structs (WIP)

Evaluation should be done using these structs. I will probably let some
functions available freely for wasm builds.

Hand should probably be changed to `struct Hand(Vec<Card>) where Card is
`struct Card(u32)` that impl `std::str::FromStr`, `std::fmt::Display`,
PartialEq`, `PartialOrd` and others...
src/lib.rs