We are going to build the classic game Battleships.

  • In the first video, Ania works out all of the single-player game logic.
  • In this video, I will be adding to Ania’s code and working out the multiplayer game logic.
  • Then, in the final video, Kyle at Web Dev Simplified will style it and add awesome animations.

In this video we will:

  • Setup a Node.js server with Express
  • Configure Socket.io on the server and client-side to relay gameplay.
  • Deploy the game to Heroku.

Be sure to go to Ania’s channel to watch the first video if you haven’t already. Then watch the next video in the series to see the completed, styled game.

Part 1: https://morioh.com/p/ad24cfca523b
Part 3: https://morioh.com/p/4e46d646fb8b

Starting Code: https://github.com/kubowania/battleships/tree/single-player
Ending Code: https://github.com/kubowania/battleships/tree/multiplayer

Thanks for watching!

#node #express #heroku #socket #javascript

Building BATTLESHIPS Multiplayer Game with Node.js, Express, Socket.io, Heroku
24.10 GEEK