diff options
| author | tslil clingman <> | 2020-01-14 20:45:37 -0500 |
|---|---|---|
| committer | tslil clingman <> | 2020-01-14 20:45:37 -0500 |
| commit | 074103c90092a98938c1dfafb690b468fc27b093 (patch) | |
| tree | 042212ffaffc18e8653f6ea3553b5f4cb2d6391c /src | |
| parent | 7dcf57f6f2e987d44391ae68b8c48824ba7523a6 (diff) | |
Small error in board sizes
Diffstat (limited to 'src')
| -rw-r--r-- | src/board.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/board.rs b/src/board.rs index 4e3b0d5..eb8a638 100644 --- a/src/board.rs +++ b/src/board.rs @@ -114,8 +114,6 @@ where // TODO: Generate all legal actions for a given player -// pub type Logger = fn(String); - impl<L: Fn(String)> Board<L> { pub fn new(size: u8, log: L) -> Option<Board<L>> { if size >= 3 && size <= 8 { @@ -125,6 +123,7 @@ impl<L: Fn(String)> Board<L> { 5 => (21, 1), 6 => (30, 1), 7 => (40, 2), + 8 => (50, 2), _ => return None, }; Some(Board { |
