-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
38 changed files
with
78 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
# The Hash Chess Engine | ||
# The Mangrove Chess Engine | ||
|
||
[![Status](https://github.com/miestrode/hash/workflows/Rust/badge.svg)](https://github.com/miestrode/hash/actions) | ||
|
||
Hash is a CEGO (revision 1) compliant experimental Chess engine written in Rust, with the goal of putting to use recent advancements in statistics, computer science and computer Chess. Unlike most traditional Chess engines, Hash doesn't use the alpha-beta framework, and instead opts to perform directed tree search in the form of AlphaZero-style MCTS, while in the future, incorporating and facilitating new ideas and innovations in Computer Chess, neural network architecture, and directed tree search. | ||
Mangrove is a CEGO (revision 1) compliant experimental Chess engine written in Rust, with the goal of putting to use recent advancements in statistics, computer science and computer Chess. Unlike most traditional Chess engines, Mangrove doesn't use the alpha-beta framework, and instead opts to perform directed tree search in the form of AlphaZero-style MCTS, while in the future, incorporating and facilitating new ideas and innovations in Computer Chess, neural network architecture, and directed tree search. | ||
|
||
A secondary goal of Hash is to use as much Rust as possible in its design, to test the boundaries of what is possible to do with modern Rust. Therefore, Hash currently uses the Burn deep learning framework for running its neural networks, instead of more established options, such as Tensorflow or PyTorch. The hope is that, in the future, there will be less of a feature gap between the frameworks, and that optimization tools will grow to support Burn and similar Rust-based projects. | ||
A secondary goal of Mangrove is to use as much Rust as possible in its design, to test the boundaries of what is possible to do with modern Rust. Therefore, Mangrove currently uses the Burn deep learning framework for running its neural networks, instead of more established options, such as Tensorflow or PyTorch. The hope is that, in the future, there will be less of a feature gap between the frameworks, and that optimization tools will grow to support Burn and similar Rust-based projects. | ||
|
||
Hash is currently in the process of being written, and has not officially released in any form. It is unlikely the code in the repository here currently works as a full Chess engine. | ||
Mangrove is currently in the process of being written, and has not officially released in any form. It is unlikely the code in the repository here currently works as a full Chess engine. | ||
|
||
## CEGO (or, why Hash doesn't support UCI) | ||
## CEGO (or, why Mangrove doesn't support UCI) | ||
|
||
Hash doesn't support UCI, and instead uses its bespoke protocol, CEGO (Chess Engine Game Operation). The reasons for this are partially explained in [here](docs/cego/REVISION-1.md). It suffices to say, we felt UCI and similar protocols weren't good choices given the use cases for this engine. | ||
Mangrove doesn't support UCI, and instead uses its bespoke protocol, CEGO (Chess Engine Game Operation). The reasons for this are partially explained in [here](docs/cego/REVISION-1.md). It suffices to say, we felt UCI and similar protocols weren't good choices given the use cases for this engine. | ||
|
||
## Documentation | ||
|
||
As we feel Hash is a sufficiently large project, documentation explaining things such as its current network structure and things of the like can be seen in [here](docs/). Note that documentation is currently largely incomplete. | ||
As we feel Mangrove is a sufficiently large project, documentation explaining things such as its current network structure and things of the like can be seen in [here](docs/). Note that documentation is currently largely incomplete. | ||
|
||
## Contributing | ||
|
||
The project currently will not accept contributions which significantly alter the source code, and so does not have guidelines for doing so. This is because things are currently far too underdeveloped. In the future, a `CONTRIBUTING.md` file will be made. | ||
Mangrove currently isn't accept contributions which significantly alter the source code, and so does not have guidelines for doing so. This is because things are currently far too underdeveloped. In the future, a `CONTRIBUTING.md` file will be made. |
3 changes: 1 addition & 2 deletions
3
crates/hash-bootstrap/Cargo.toml → crates/mangrove-bootstrap/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
[package] | ||
name = "hash-bootstrap" | ||
authors = ["Yoav Grimland <[email protected]>"] | ||
name = "mangrove-bootstrap" | ||
version = "0.0.0" | ||
edition.workspace = true | ||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 3 additions & 4 deletions
7
crates/hash-core/Cargo.toml → crates/mangrove-core/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
[package] | ||
name = "hash-core" | ||
authors = ["Yoav Grimland <[email protected]>"] | ||
name = "mangrove-core" | ||
version = "0.0.0" | ||
edition.workspace = true | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[build-dependencies] | ||
hash-bootstrap.workspace = true | ||
mangrove-bootstrap.workspace = true | ||
rustifact.workspace = true | ||
rand.workspace = true | ||
|
||
[dev-dependencies] | ||
test-case.workspace = true | ||
|
||
[dependencies] | ||
hash-bootstrap.workspace = true | ||
mangrove-bootstrap.workspace = true | ||
rustifact.workspace = true | ||
arrayvec.workspace = true | ||
thiserror.workspace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
crates/hash-core/src/game.rs → crates/mangrove-core/src/game.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
crates/hash-core/src/repr.rs → crates/mangrove-core/src/repr.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
crates/hash-network/Cargo.toml → crates/mangrove-pisa/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
[package] | ||
name = "hash-network" | ||
authors = ["Yoav Grimland <[email protected]>"] | ||
name = "mangrove-pisa" | ||
version = "0.0.0" | ||
edition.workspace = true | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
hash-bootstrap.workspace = true | ||
hash-core.workspace = true | ||
mangrove-bootstrap.workspace = true | ||
mangrove-core.workspace = true | ||
burn.workspace = true | ||
serde.workspace = true | ||
|
||
|
8 changes: 5 additions & 3 deletions
8
crates/hash-network/src/lib.rs → crates/mangrove-pisa/src/lib.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
crates/hash-search/Cargo.toml → crates/mangrove-search/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
[package] | ||
name = "hash-search" | ||
authors = ["Yoav Grimland <[email protected]>"] | ||
name = "mangrove-search" | ||
version = "0.0.0" | ||
edition.workspace = true | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
hash-core.workspace = true | ||
hash-network.workspace = true | ||
mangrove-core.workspace = true | ||
mangrove-pisa.workspace = true | ||
burn.workspace = true | ||
thiserror.workspace = true | ||
tracing.workspace = true | ||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 4 additions & 5 deletions
9
crates/hash-train/Cargo.toml → crates/mangrove-train/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
[package] | ||
name = "hash-train" | ||
authors = ["Yoav Grimland <[email protected]>"] | ||
name = "mangrove-train" | ||
version = "0.0.0" | ||
edition.workspace = true | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
hash-core.workspace = true | ||
hash-search.workspace = true | ||
hash-network.workspace = true | ||
mangrove-core.workspace = true | ||
mangrove-search.workspace = true | ||
mangrove-pisa.workspace = true | ||
burn = { workspace = true, features = ["autodiff"] } | ||
ringbuffer.workspace = true | ||
rand.workspace = true | ||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
[package] | ||
name = "hash-engine" | ||
description = "The Hash Chess Engine CLI" | ||
name = "mangrove" | ||
version = "0.0.0" | ||
authors = ["Yoav Grimland <[email protected]>"] | ||
edition.workspace = true | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
@@ -14,9 +12,9 @@ clap = { workspace = true, features = [ | |
"color", | ||
"unstable-styles", | ||
] } | ||
hash-core.workspace = true | ||
hash-search.workspace = true | ||
hash-network.workspace = true | ||
mangrove-core.workspace = true | ||
mangrove-search.workspace = true | ||
mangrove-pisa.workspace = true | ||
thiserror.workspace = true | ||
burn-wgpu.workspace = true | ||
tracing.workspace = true | ||
|
Oops, something went wrong.