summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/board.rs3
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 {