8000 GitHub - IongIer/minimax-rs: A generic implementation of Negamax in Rust. · GitHub
[go: up one dir, main page]

Skip to content
forked from edre/minimax-rs

About

A generic implementation of Negamax in Rust.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

181 Commits

Folders and files

< 8000 th colSpan="1" class="Box_1__vRncVq">Name
Name
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minimax-rs - Generic implementations of Minimax in Rust.

Build Status Crates.io Documentation

About

This library provides interfaces that describe:

  1. the rules for two-player, perfect-knowledge games;
  2. methods of evaluating particular game states for a player; and
  3. strategies for choosing moves for a player.

This crate implements multiple different strategies, so that any combination of custom evaluators and strategies can be tested against each other. These include single- and multi-threaded algorithms using alpha-beta pruning, iterative deepening, and transposition tables. There is also a basic implementation of multi-threaded Monte Carlo Tree Search, which does not require writing an evaluator.

Example

The ttt and connect4 modules contain implementations of Tic-Tac-Toe and Connect Four, demonstrating how to use the game and evaluation interfaces. test shows how to use strategies.

About

A generic implementation of Negamax in Rust.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0