From 6d988d13f7fc1652e2d041cfd1c4b40dce6a8adb Mon Sep 17 00:00:00 2001 From: natrixaeria Date: Tue, 7 May 2019 05:30:03 +0200 Subject: Add the game server --- game_server/Cargo.toml | 9 +++++++++ game_server/build.sh | 3 +++ game_server/src/main.rs | 3 +++ 3 files changed, 15 insertions(+) create mode 100644 game_server/Cargo.toml create mode 100755 game_server/build.sh create mode 100644 game_server/src/main.rs (limited to 'game_server') diff --git a/game_server/Cargo.toml b/game_server/Cargo.toml new file mode 100644 index 0000000..fba755c --- /dev/null +++ b/game_server/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "game-server" +version = "0.1.0" +authors = ["natrixaeria", "truedoctor"] +edition = "2018" +description = "A general game server for connections to web clients. Currently (on the way to) deploying a skribbl.io like game." + +[dependencies] +rocket = "0.4" diff --git a/game_server/build.sh b/game_server/build.sh new file mode 100755 index 0000000..67e239f --- /dev/null +++ b/game_server/build.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +rustup run nightly cargo run diff --git a/game_server/src/main.rs b/game_server/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/game_server/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} -- cgit v1.2.3-70-g09d2