aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-12-13 22:52:35 -0600
committerMatt Strapp <matt@mattstrapp.net>2024-12-13 22:52:35 -0600
commitcbecbe5c10d9981012341553c865a52d732df7d5 (patch)
tree453d34a0314c556f4e8d17a35fa5cc4e4150712a
parentUpdate sim status (diff)
downloadwwb-cbecbe5c10d9981012341553c865a52d732df7d5.tar
wwb-cbecbe5c10d9981012341553c865a52d732df7d5.tar.gz
wwb-cbecbe5c10d9981012341553c865a52d732df7d5.tar.bz2
wwb-cbecbe5c10d9981012341553c865a52d732df7d5.tar.lz
wwb-cbecbe5c10d9981012341553c865a52d732df7d5.tar.xz
wwb-cbecbe5c10d9981012341553c865a52d732df7d5.tar.zst
wwb-cbecbe5c10d9981012341553c865a52d732df7d5.zip
Pain
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
-rw-r--r--wwb/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/wwb/src/lib.rs b/wwb/src/lib.rs
index 7815efc..59ab677 100644
--- a/wwb/src/lib.rs
+++ b/wwb/src/lib.rs
@@ -2,6 +2,8 @@ use bincode::{Decode, Encode};
/// WWB is a 2-player game at heart. Hardcode 2 players only so no one else has to suffer
pub const PLAYER_COUNT: usize = 2;
+/// By default, the game board is 100 cards, not including the start and finish spaces.
+/// An alternative rule would be to set this to be 1000, but since the game has never been finished at 100, it's not worth it.
pub const BOARD_SIZE: u16 = 100;
#[derive(Encode, Decode, Debug, Default, PartialEq)]