#react websockets

Multiplayer Games with React Three Fiber and WebSockets
React Day Berlin 2023React Day Berlin 2023
28 min
Multiplayer Games with React Three Fiber and WebSockets
Watch video: Multiplayer Games with React Three Fiber and WebSockets
We're discussing making multiplayer games in React, focusing on accessibility and development phases. The game architecture involves a monorepo with a single server and WebSocket connections. React context is used for server communication and updating the React state. The game introduces 3D using React 3 Fiber and implements game mechanics like timers. The talk also mentions using generative AI tools for game design and testing with tools like Cypress. Different rendering techniques and the use of Socket.io's rooms feature in the WebSocket server are also discussed.