-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Changelog - Added support for gaps (`Piece::Gap`). - Removed the `Board` type, replaced by a better `Position`. - Parsing a `Move` from a string (`FromStr` for `Move). - Implemented `IntoIterator` for `MoveList`. - Implemented a not operator (`!`) for `Hash`. - Add the `UPDATE_HASH` template parameter to `after_move` - Make the internal value of a `Hash` private. - Implemented the `std::error::Error` trait for all errors. - Added a perft function (`ataxx::perft`). - Renamed `Color` to `Piece`. - Add a bunch of tests to validate changes.
- Loading branch information
1 parent
b99226e
commit 1d73d61
Showing
15 changed files
with
912 additions
and
861 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,4 +1,9 @@ | ||
[workspace] | ||
members = [ | ||
"ataxx" | ||
] | ||
] | ||
|
||
[profile.release] | ||
opt-level = 3 | ||
codegen-units = 1 | ||
lto = 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "ataxx" | ||
version = "0.1.0" | ||
version = "0.2.0" | ||
edition = "2021" | ||
|
||
authors = ["Rak Laptudirm <[email protected]>"] | ||
|
@@ -12,6 +12,7 @@ keywords = ["ataxx"] | |
categories = ["games"] | ||
|
||
[dependencies] | ||
thiserror = "1.0" | ||
num-traits = "0.2" | ||
num-derive = "0.4" | ||
strum = "0.26" | ||
|
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
Oops, something went wrong.