summaryrefslogtreecommitdiff
path: root/game_server/src/main.rs
blob: ab73a978c8e83777fd2769abdffabb43aa8ae0a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
mod group;
mod scribble_group;
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();

}