| Crates.io | minimax |
| lib.rs | minimax |
| version | 0.5.4 |
| created_at | 2015-09-27 00:32:07.037626+00 |
| updated_at | 2025-02-19 19:21:27.485969+00 |
| description | Generic implementations of Minimax. |
| homepage | |
| repository | https://github.com/edre/minimax-rs |
| max_upload_size | |
| id | 3116 |
| size | 151,449 |
This library provides interfaces that describe:
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.
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.