|
674e5549c2
|
types: played_cards is now HashMap<Color, Digit> instead of <Color, Card>
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2022-08-20 11:51:58 +02:00 |
|
|
fe40316b2c
|
args: --no-recording argument
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2022-08-20 11:30:00 +02:00 |
|
|
553abf5abe
|
Remove commented line
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2022-08-19 14:27:18 +02:00 |
|
|
a7a193c0b9
|
GameState.show: Add player turn
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2022-08-19 14:21:10 +02:00 |
|
|
23c97b0cd7
|
GameState.show: move stuff around
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2022-08-19 14:14:36 +02:00 |
|
|
085a927d0a
|
Add 'display' action
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2022-08-19 13:10:06 +02:00 |
|
|
233327539f
|
Use GameState in main loop
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2022-08-19 12:26:43 +02:00 |
|
|
9df88a7f78
|
types: GameState!
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2022-08-19 12:11:01 +02:00 |
|
|
e1ff2a0a35
|
types: Add generic derives
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2022-08-19 12:02:42 +02:00 |
|
|
2659afd476
|
types: impl Display for Color returns short version
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2022-08-19 11:54:36 +02:00 |
|
|
c65de4bfca
|
types: impl From<Digit> for u8
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
|
2022-08-19 11:54:03 +02:00 |
|
|
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 |
|