minimax-rs
nokamute
minimax-rs | nokamute | |
---|---|---|
2 | 6 | |
9 | 20 | |
- | - | |
6.1 | 5.9 | |
4 months ago | 12 months ago | |
Rust | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
minimax-rs
-
nokamute 1.0: the fastest and maybe strongest hive bot; based on minimax 0.5.1
Nokamute was developed to have very fast move generation for this atypical game structure; this is mainly difficult because the game state does not have a fixed size. Rust has been a great language to micro-optimize performance. I developed the minimax crate in parallel to implement fancy 20th century game search algorithms in a generic way. If anyone else starts using it and doesn't hate the interface I'll stamp it 1.0.
-
Hey Rustaceans! Got an easy question? Ask here (9/2021)!
Repo, Minimal reproduction
nokamute
-
Hexagonal Grids
I've looked at a number of implementations of the board game Hive, which uses a technically unbounded hexagonal layout. Most of them have read your article and really like the 3-axis cube system, usually with hash table representation. As the core of a minimax engine, this is very inefficient, so my engine uses a [wrapping 16x16 rhombus](https://github.com/edre/nokamute/blob/master/src/hex_grid.rs) in a packed 256-entry array. The adjacency operations are very fast, but I have yet to come up with a way to efficiently compute distance...
-
nokamute 1.0: the fastest and maybe strongest hive bot; based on minimax 0.5.1
After a couple years of on-and-off development, I've anointed v1.0 of nokamute. It's a bot that plays the board game Hive. Briefly, hive is like chess with hexagonal bugs without a board.
-
The board game Hive, written in Rust
I wrote a hive AI in rust, and somehow I never discovered the hex-spiral crate. Neat!
-
Looking for AI opponent
Nokamute, for this you will need Mzinga to run it with a GUI https://github.com/edre/nokamute
-
Minimal web version of Hive
I just hacked up a wasm build of nokamute that communicates over UHP. Here are the files and here is my dumb example. Let me know if this is useful at all.
What are some alternatives?
x11rb - X11 bindings for the rust programming language, similar to xcb being the X11 C bindings
Mzinga - Open-source software to play the board game Hive.
erased-serde - Type-erased Serialize, Serializer and Deserializer traits
spiral_cube - How to convert between spiral and cube hexagonal coordinate systems
rust - Empowering everyone to build reliable and efficient software.
Hoive - The boardgame Hive, written in Rust
serde - Serialization framework for Rust
BezierInfo-2 - The development repo for the Primer on Bézier curves, https://pomax.github.io/bezierinfo
bevy - A refreshingly simple data-driven game engine built in Rust
astroficial-intelligence - An AI game on a hexagonal grid
rust-ffi-omnibus - A collection of examples of using code written in Rust from other languages
hn-search - Hacker News Search