Rename project
This commit is contained in:
16
Cargo.lock
generated
16
Cargo.lock
generated
@@ -120,14 +120,6 @@ version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
||||
|
||||
[[package]]
|
||||
name = "ippos"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"rand",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "is_terminal_polyfill"
|
||||
version = "1.70.1"
|
||||
@@ -301,3 +293,11 @@ name = "windows_x86_64_msvc"
|
||||
version = "0.52.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
||||
|
||||
[[package]]
|
||||
name = "zeal"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"rand",
|
||||
]
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
[package]
|
||||
name = "ippos"
|
||||
name = "zeal"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
clap = { version = "4.5.16", features = ["derive"] }
|
||||
rand = { version = "0.8.5", features = ["small_rng"] }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Creating a .bat file to connect to cutechess GUI on windows
|
||||
# Create a batch file to connect with cutechess GUI on windows
|
||||
|
||||
if ! cargo build --release --target x86_64-pc-windows-gnu; then
|
||||
echo "cargo build failed"
|
||||
@@ -13,9 +13,9 @@ if ! cd "$BUILD_DIR"; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
BAT_FILE_NAME="ippos.bat"
|
||||
echo "ippos.exe -- --mode uci" > "$BAT_FILE_NAME"
|
||||
echo "created ippos.bat in directory: $(pwd)"
|
||||
BAT_FILE_NAME="zeal.bat"
|
||||
echo ".\zeal --mode uci" > "$BAT_FILE_NAME"
|
||||
echo "created "$BAT_FILE_NAME" in directory: $(pwd)"
|
||||
|
||||
if ! unix2dos "$BAT_FILE_NAME"; then
|
||||
echo "failed to convert line endings for Windows"
|
||||
|
||||
@@ -50,7 +50,7 @@ use std::fmt;
|
||||
impl fmt::Display for Response {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
match self {
|
||||
Self::UciOk => write!(f, "id name ippos\nid author stefiosif\nuciok"),
|
||||
Self::UciOk => write!(f, "id name zeal\nid author stefiosif\nuciok"),
|
||||
Self::ReadyOk => write!(f, "readyok"),
|
||||
Self::BestMove(best_move) => write!(f, "bestmove {best_move}"),
|
||||
Self::Info(info) => write!(f, "{info}"),
|
||||
@@ -253,7 +253,7 @@ mod tests {
|
||||
|
||||
uci_loop(input, &mut output)?;
|
||||
|
||||
let expected_response = "id name ippos\n\
|
||||
let expected_response = "id name zeal\n\
|
||||
id author stefiosif\n\
|
||||
uciok\n\
|
||||
Clear cache\n\
|
||||
@@ -279,7 +279,7 @@ mod tests {
|
||||
|
||||
uci_loop(input, &mut output)?;
|
||||
|
||||
let expected_response = "id name ippos\n\
|
||||
let expected_response = "id name zeal\n\
|
||||
id author stefiosif\n\
|
||||
uciok\n\
|
||||
Clear cache\n\
|
||||
|
||||
Reference in New Issue
Block a user