강동현

테스트를 위한 더미 방 추가

...@@ -13,6 +13,10 @@ const io = new socketIo.Server(server); ...@@ -13,6 +13,10 @@ const io = new socketIo.Server(server);
13 const handler = new SocketHandler(); 13 const handler = new SocketHandler();
14 const roomManager = new RoomManager(); 14 const roomManager = new RoomManager();
15 15
16 +roomManager.create("테스트 방 #1", 8);
17 +roomManager.create("테스트 방 #2", 4);
18 +roomManager.create("테스트 방 #3", 2);
19 +
16 io.on("connection", (socket) => { 20 io.on("connection", (socket) => {
17 handler.connected(socket); 21 handler.connected(socket);
18 }); 22 });
......