Skip to content

Commit

Permalink
Merge branch 'dev-testing' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
maxfierrog committed Apr 8, 2024
2 parents 5c80634 + 7123bf9 commit 0e0e81b
Show file tree
Hide file tree
Showing 9 changed files with 786 additions and 360 deletions.
7 changes: 7 additions & 0 deletions src/game/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ pub enum GameError {
game_name: &'static str,
hint: String,
},

/// An error to indicate that a game-building rule within the abstract
/// extensive mock game implementation was violated during construction.
/// Since this is intended as an internal feature, it is a very general
/// error variant.
MockViolation { hint: String },
}

impl Error for GameError {}
Expand Down Expand Up @@ -87,6 +93,7 @@ impl fmt::Display for GameError {
hint, game_name
)
},
Self::MockViolation { hint } => write!(f, "{}", hint),
}
}
}
183 changes: 0 additions & 183 deletions src/game/extensive/builder.rs

This file was deleted.

161 changes: 0 additions & 161 deletions src/game/extensive/mod.rs

This file was deleted.

Loading

0 comments on commit 0e0e81b

Please sign in to comment.