Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Build an Online Multiplayer Game in Python - Implementing the Server

Linode via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to build an online multiplayer math game using Python, sockets, and the Pygame module in this comprehensive tutorial video. Follow along as the host demonstrates the app, explains its architecture, and guides you through implementing the server-side functionality. Create essential Python files, implement protocols, and develop key functions like handling game logic, sending data to opponents, and managing disconnections. By the end of this 52-minute session, gain the knowledge to initialize and test your own server for an online multiplayer game.

Syllabus

Introduction
About Your Host
Demo of the App
App Architecture
Create Initial Python Files
Paste Protocols
Create main.py
Create room.py
Import room.py
Write wait_for_room
Recap
Create Handle Logic
Recap
Create send
Create send_to_opponent
Create disconnect
Have Server Start After Init
Initialize Server and Test
Conclusion

Taught by

Linode

Reviews

Start your review of Build an Online Multiplayer Game in Python - Implementing the Server

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.