Closed fabienjuif closed 4 years ago
Maybe on socket First step, the server will not check for cheaters
pseudo code
const { server } = require('socket-io') server.on('connect', socket => { socket.on('dispatch', action => { server.emit('dispatch', action) }) })
1 instance per game?
starting with 1 server for 1 game. the client have to write the server IP in an input after he is authenticated
create a sequence diagram for this game server
Maybe on socket First step, the server will not check for cheaters
pseudo code