From 16ff78180669411326d42ea32d4a9260c018236c Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 13 Aug 2024 12:48:31 +0200 Subject: refactor server to use client-lib data model (breaks customers) --- server/bot/src/lib.rs | 17 +++++++++++++++++ server/bot/src/main.rs | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) (limited to 'server/bot/src') 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 . + +*/ #![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; -- cgit v1.2.3-70-g09d2