Multiplayer Snake Game - JavaScript & Socket.io
Offered By: Traversy Media via YouTube
Course Description
Overview
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.
Syllabus
- Adrian's Intro.
- Setting up HTML.
- Setting up the canvas.
- Painting the snake.
- Setting up the socketio server.
- Connecting to socketio from frontend.
- Moving game state to the server.
- Adding a game loop.
- Debugging game loop issue.
- Controlling the snake.
- WORKING SNAKE GAME!!.
- Home screen for multiplayer game.
- Handling new game on the server.
- Adding ability for second player to join the game.
- Handling join game error states.
- Modify game mechanics for two players.
- Testing the game.
- Debugging errors.
- Working multiplayer game.
- Outro.
Taught by
Traversy Media
Related Courses
Programming LanguagesUniversity of Virginia via Udacity Building a Basic Website
University of Massachusetts Amherst via Independent iDESWEB, Introducción al desarrollo web
MirÃadax Web Engineering II: Developing Mobile HTML5 Apps
Technische Hochschule Mittelhessen via iversity Web Application Architectures
University of New Mexico via Coursera