Implement lobby parts of custom games #38

This commit is contained in:
NG (Graham) committed 2026-03-17 21:52:15 -04:00
1 parent af04c4093c
commit 6a953bc613
32 files changed
+1045 -61

No files matched your search

+5
View File
@@ -46,6 +46,11 @@ async fn main() -> std::io::Result<()> {
let server = std::sync::Arc::new(polariton_server::Server::new(operations::handler(&init_ctx), polariton_server::events::EventsHandler::new()));
crate::events::IntercomHandler::new(
init_ctx.users.clone(),
init_ctx.queue.clone(),
).run();
let ip_addr: std::net::IpAddr = args.ip.parse().expect("Invalid IP address");
let listener = net::TcpListener::bind(std::net::SocketAddr::new(ip_addr, args.port)).await?;