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
|
|
@ -1,11 +1,11 @@
|
|||
use bot::{
|
||||
use trictrac_bot::{
|
||||
BotStrategy, DefaultStrategy, DqnBurnStrategy, ErroneousStrategy, RandomStrategy,
|
||||
StableBaselines3Strategy,
|
||||
};
|
||||
use itertools::Itertools;
|
||||
|
||||
use crate::game_runner::GameRunner;
|
||||
use store::{CheckerMove, GameEvent, GameState, Stage, TurnStage};
|
||||
use trictrac_store::{CheckerMove, GameEvent, GameState, Stage, TurnStage};
|
||||
|
||||
#[derive(Debug, Default)]
|
||||
pub struct AppArgs {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
use bot::{Bot, BotStrategy};
|
||||
use trictrac_bot::{Bot, BotStrategy};
|
||||
use log::{debug, error};
|
||||
use store::{CheckerMove, DiceRoller, GameEvent, GameState, PlayerId, TurnStage};
|
||||
use trictrac_store::{CheckerMove, DiceRoller, GameEvent, GameState, PlayerId, TurnStage};
|
||||
|
||||
// Application Game
|
||||
#[derive(Debug, Default)]
|
||||
|
|
@ -117,8 +117,8 @@ impl GameRunner {
|
|||
}
|
||||
|
||||
if let Some(winner) = self.state.determine_winner() {
|
||||
next_event = Some(store::GameEvent::EndGame {
|
||||
reason: store::EndGameReason::PlayerWon { winner },
|
||||
next_event = Some(trictrac_store::GameEvent::EndGame {
|
||||
reason: trictrac_store::EndGameReason::PlayerWon { winner },
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue