chore(refact): move training_common from bot to store crate
This commit is contained in:
parent
257665c546
commit
453c363334
12 changed files with 38 additions and 39 deletions
|
|
@ -1,15 +1,16 @@
|
|||
pub mod burnrl;
|
||||
pub mod strategy;
|
||||
pub mod training_common;
|
||||
pub mod trictrac_board;
|
||||
|
||||
use log::debug;
|
||||
use trictrac_store::{CheckerMove, Color, GameEvent, GameState, PlayerId, PointsRules, Stage, TurnStage};
|
||||
pub use strategy::default::DefaultStrategy;
|
||||
pub use strategy::dqnburn::DqnBurnStrategy;
|
||||
pub use strategy::erroneous_moves::ErroneousStrategy;
|
||||
pub use strategy::random::RandomStrategy;
|
||||
pub use strategy::stable_baselines3::StableBaselines3Strategy;
|
||||
use trictrac_store::{
|
||||
CheckerMove, Color, GameEvent, GameState, PlayerId, PointsRules, Stage, TurnStage,
|
||||
};
|
||||
|
||||
pub trait BotStrategy: std::fmt::Debug {
|
||||
fn get_game(&self) -> &GameState;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue