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

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This episode walks through implementing the server for an online multiplayer math game in Python using sockets. It covers room handling, sending messages to opponents, disconnects, and starting and testing the server.

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.