Showing
1 changed file
with
4 additions
and
0 deletions
... | @@ -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 | }); | ... | ... |
-
Please register or login to post a comment