Commit graph

14 commits

Author SHA1 Message Date
8f1e63b108
Use log/env_logger
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-09 22:24:45 +02:00
f0e921ebfd
cargo fmt
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-09 18:31:01 +02:00
c2b609ba55
parser: use parse_slot instead of custom code
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-09 18:29:17 +02:00
098ce3a1d8
types: PlayCard and DropCard now require Card and Slot
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-09 18:28:16 +02:00
3762856813
Allow shortname for colors
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-09 18:25:36 +02:00
557ac79537
Write header to recording file
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-08 22:19:14 +02:00
c52bd7512c
types: more docstrings
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-08 22:18:04 +02:00
ebabf90ba6 Record actions in file
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-08 10:21:35 +02:00
5a057a49e6 Remove Slot newtype and fix recursion issue in Slots
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-08 10:21:35 +02:00
8a5ba57a42 Cargo.toml: update desc
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-07 22:01:07 +02:00
b51c0faed8 Add ReplAction alongside GameAction
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-07 22:01:07 +02:00
a5b7d1d862 impl fmt::Display for GameAction
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-07 22:01:07 +02:00
67fc8583a9 Rename Action to GameAction
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-07 21:54:06 +02:00
f51c9fe6da Initial commit; parse game actions
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-08-07 21:54:06 +02:00