chore(refact): rename modules with 'trictrac-' prefixes
This commit is contained in:
parent
54d9ad70ad
commit
257665c546
20 changed files with 157 additions and 154 deletions
|
|
@ -4,7 +4,7 @@ use burn_rl::base::{ElemType, Model, State};
|
|||
|
||||
use crate::{BotStrategy, CheckerMove, Color, GameState, PlayerId};
|
||||
use log::info;
|
||||
use store::MoveRules;
|
||||
use trictrac_store::MoveRules;
|
||||
|
||||
use crate::burnrl::algos::dqn;
|
||||
use crate::burnrl::environment;
|
||||
|
|
@ -152,7 +152,7 @@ impl BotStrategy for DqnBurnStrategy {
|
|||
to1 = if fto1 < 0 { 0 } else { fto1 as usize };
|
||||
}
|
||||
|
||||
let checker_move1 = store::CheckerMove::new(from1, to1).unwrap_or_default();
|
||||
let checker_move1 = trictrac_store::CheckerMove::new(from1, to1).unwrap_or_default();
|
||||
|
||||
let mut tmp_board = self.game.board.clone();
|
||||
let move_res = tmp_board.move_checker(&self.color, checker_move1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue