Skip to content
No description, website, or topics provided.
Rust
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
Cargo.toml
README.md

README.md

negamax

  • Cargo.toml :
[dependencies]
negamax = { git = "https://github.com/mariogeiger/negamax" }
  • src/main.rs :
extern crate negamax;
use negamax::GameState;

struct TicTacToe([i32; 3 * 3]);

impl<'a> negamax::GameState<'a> for TicTacToe {
    type It = Vec<TicTacToe>;

    fn value(&self) -> i32 {
        // ...
    }

    //...
You can’t perform that action at this time.