Deploying Node : from localhost to the cloud
summary
Builds a real-time multiplayer "five-in-a-row" prototype using plain Node/Express, Socket.io for events and reconnection, and HTML canvas 20x20 grid rendering; each connection gets a random color token, clicks map to cell coordinates, turns emit x/y+color to the server, and the server broadcasts and stores the board state so newcomers get the current 20×20 board. Uses nodemon during development, pushes to CI/CD for live deployment, and the demo runs live so the game actually works end-to-end.
AI-written summary · about
chapters (11)
- 0:00Start
- 2:47Javascript Game Development
- 5:15Socket Io
- 7:16Connecting Socket Io
- 9:01Establish the Real-Time Communication between Two Clients
- 13:25Canvas
- 16:48Game Loop
- 30:39Clear My Canvas
- 35:14Build the Game Logic
- 39:07Add the Win Conditions
- 39:32Final Words








