diff options
Diffstat (limited to 'server/bot')
-rw-r--r-- | server/bot/Cargo.toml | 2 | ||||
-rw-r--r-- | server/bot/src/lib.rs | 17 | ||||
-rw-r--r-- | server/bot/src/main.rs | 2 |
3 files changed, 19 insertions, 2 deletions
diff --git a/server/bot/Cargo.toml b/server/bot/Cargo.toml index ee9706d8..3143ab55 100644 --- a/server/bot/Cargo.toml +++ b/server/bot/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "bot" +name = "hurrycurry-bot" version = "0.1.0" edition = "2021" diff --git a/server/bot/src/lib.rs b/server/bot/src/lib.rs index e8f05fd6..385e2334 100644 --- a/server/bot/src/lib.rs +++ b/server/bot/src/lib.rs @@ -1,3 +1,20 @@ +/* + Hurry Curry! - a game about cooking + Copyright 2024 metamuffin + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, version 3 of the License only. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + +*/ #![feature(isqrt)] pub mod algos; pub mod pathfinding; diff --git a/server/bot/src/main.rs b/server/bot/src/main.rs index e9798b75..9ecd0a84 100644 --- a/server/bot/src/main.rs +++ b/server/bot/src/main.rs @@ -16,8 +16,8 @@ */ use anyhow::Result; -use bot::{algos::ALGO_CONSTRUCTORS, BotAlgo, BotInput}; use clap::Parser; +use hurrycurry_bot::{algos::ALGO_CONSTRUCTORS, BotAlgo, BotInput}; use hurrycurry_client_lib::{network::sync::Network, Game}; use hurrycurry_protocol::{PacketC, PacketS, PlayerID}; use log::warn; |