mmserver
Sever/Node.js 2019. 7. 10. 14:25https://github.com/Frankenmint/mmserver/tree/66fa53a583221d2dac53ec4a2de5a2631b2a9095
Frankenmint/mmserver
match-making server demo using node.js and socket.io - Frankenmint/mmserver
github.com
https://www.codementor.io/codementorteam/socketio-player-matchmaking-system-pdxz4apty
Build a Multi-user App using Socket.io (Part 1): Lightweight Chat App | Codementor
For today's exercise, we will be building a simple game engine into a Socket.io chat demo. This engine will create game objects for connected users and emit them to other users.
www.codementor.io
https://socket.io/docs/server-api/#socket-rooms
Socket.IO — Server API
ServerExposed by require('socket.io'). new Server(httpServer[, options]) httpServer (http.Server) the server to bind to. options (Object) Works with and without new: const io = require('socke
socket.io
1.Just u and the server (socket.emit)
2.A message from point to everyone, expect u (socket.broadcast.emit)
3.Everyone gets the message, u, server, and all broadcast users (io.emit)
'Sever > Node.js' 카테고리의 다른 글
node.js socket.io (0) | 2019.08.09 |
---|---|
socket.io functions (0) | 2019.08.09 |
Node.js에서 mysql을 async/await으로 작성하기 (0) | 2019.01.16 |
nodejs mysql RESTful API (yellobean-server-00) (0) | 2019.01.08 |
JWT를 구현하면서 마주치게 되는 고민들 (0) | 2019.01.03 |