summaryrefslogtreecommitdiff
path: root/game_server/src/main.rs
blob: e129283ab8191b984d77adab6cc95bb4c51527dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
mod group;
mod test_group;
mod lobby;
mod gameserver;
mod backend_connection;

#[macro_use] extern crate log;
use pretty_env_logger;

use backend_connection::BackendConnection;

fn main() {
    pretty_env_logger::init();

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

}