summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/bot/src/main.rs3
-rw-r--r--server/client-lib/src/network/mod.rs17
2 files changed, 18 insertions, 2 deletions
diff --git a/server/bot/src/main.rs b/server/bot/src/main.rs
index 61cef1f9..18c4617a 100644
--- a/server/bot/src/main.rs
+++ b/server/bot/src/main.rs
@@ -16,11 +16,10 @@
*/
-use std::{thread::sleep, time::Duration};
-
use anyhow::Result;
use hurrycurry_client_lib::{network::sync::Network, Game};
use hurrycurry_protocol::{glam::Vec2, PacketC, PacketS, PlayerID};
+use std::{thread::sleep, time::Duration};
fn main() -> Result<()> {
let mut network = Network::connect("ws://127.0.0.1")?;
diff --git a/server/client-lib/src/network/mod.rs b/server/client-lib/src/network/mod.rs
index fa570170..9423f645 100644
--- a/server/client-lib/src/network/mod.rs
+++ b/server/client-lib/src/network/mod.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/>.
+
+*/
#[cfg(feature = "sync-network")]
pub mod sync;
#[cfg(feature = "tokio-network")]