Главная
Study mode:
on
1
- Adrian's Intro
2
- Setting up HTML
3
- Setting up the canvas
4
- Painting the snake
5
- Setting up the socketio server
6
- Connecting to socketio from frontend
7
- Moving game state to the server
8
- Adding a game loop
9
- Debugging game loop issue
10
- Controlling the snake
11
- WORKING SNAKE GAME!!
12
- Home screen for multiplayer game
13
- Handling new game on the server
14
- Adding ability for second player to join the game
15
- Handling join game error states
16
- Modify game mechanics for two players
17
- Testing the game
18
- Debugging errors
19
- Working multiplayer game
20
- Outro
Description:
Learn to create a multiplayer snake game using JavaScript and Socket.io in this comprehensive video tutorial. Begin by setting up the HTML and canvas, then progress to painting the snake and establishing a Socket.io server. Connect the frontend to Socket.io, move the game state to the server, and implement a game loop. Master snake controls, develop a home screen for multiplayer functionality, and handle new game creation on the server. Explore adding a second player, managing join game error states, and modifying game mechanics for two players. Conclude with testing, debugging, and achieving a fully functional multiplayer snake game.

Multiplayer Snake Game - JavaScript & Socket.io

Traversy Media
Add to list
0:00 / 0:00