Skip to content

Commit

Permalink
feat: tui!
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoDog896 committed Sep 26, 2024
1 parent ba76592 commit e22188b
Show file tree
Hide file tree
Showing 23 changed files with 988 additions and 173 deletions.
186 changes: 182 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion _typos.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[default.extend-words]
nd = "nd"
misere = "misere"
misere = "misere"
ratatui = "ratatui"
2 changes: 2 additions & 0 deletions crates/game-solver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ sysinfo = { version = "0.30", optional = true }
twox-hash = { version = "1.6", optional = true }
itertools = { version = "0.13", optional = true }
futures = "0.3.30"
thiserror = "1.0"
castaway = "0.2.3"

[package.metadata.docs.rs]
all-features = true
4 changes: 2 additions & 2 deletions crates/game-solver/src/game.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Game trait and related types.
use std::cmp::Ordering;
use std::{cmp::Ordering, error::Error};

use crate::player::Player;

Expand Down Expand Up @@ -68,7 +68,7 @@ pub trait Game: Clone {
where
Self: 'a;

type MoveError;
type MoveError: Error;

type Player: Player;

Expand Down
Loading

0 comments on commit e22188b

Please sign in to comment.