summaryrefslogtreecommitdiff
path: root/game_server/src/main.rs
blob: cfd9787b95d1bf8f909642b4de6c3708e484270f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
mod group;
mod maths;
mod scribble_group;
mod webhogg_group;
mod webhogg_game;
mod collide;
mod lobby;
mod server;
mod backend_connection;

mod game_logger;

#[macro_use] extern crate log;

fn main() {
    game_logger::init_logger();

    let addr = ("0.0.0.0", 5001);
    info!("create game server on {:?}", addr);
    let mut gameserver = server::GameServer::new(addr);
    gameserver.run().unwrap();

}