4 releases (2 breaking)
0.3.0 | Jul 2, 2020 |
---|---|
0.2.0 | May 4, 2019 |
0.1.1 | Apr 27, 2019 |
0.1.0 | Apr 27, 2019 |
#656 in Game dev
78KB
1.5K
SLoC
rubot
A rust library for easily usable game bots. While these controllers are a lot weaker and slower than a specialized engine like Stockfish, they are good enough to be a challenge in most games.
Integrating rubot
in your project should be possible in about half an hour while only requiring less than a total of 100 lines of code.
If this is not the case for your project, please create an issue on github.
Examples
To run the examples, download the repository and run cargo run --example <example name>
.
tic-tac-toe
: A port of Sunjay's wonderful tic-tac-toe implementation, adding and usingrubot
required about 40 loc.chess
: A chess bot using shakmaty.oko
: An original game inspired by Dots and Boxes and tic-tac-toe.
Supported games
rubot
only supports deterministic games with perfect information.