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

YouTube

How to Build a Client and Game Interface for Online Multiplayer Game Development

Linode via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This tutorial builds a Python client and game interface for an online multiplayer math game. It covers client-server communication, player input, drawing the game, displaying opponents, and handling a player leaving.

Syllabus

What We'll Be Doing
Create .py Files
Copy Protocols
Write client.py
Create Methods
Write Receive Method
Write Start Method
Write Handle Method
Write Send Method
Write Client Validate Answer
Client Script Recap
Write game.py
Install pygame
Import pygame
Create Game Class
Create Variables
Create Game Logic
Define Draw
Draw Login
Initialize Math Game
Create handleEvent Method
Test App
Adjust Input Box
Submit User Entry to Server
Test App
Draw Remaining Methods
Spin Up An Additional Client
Implement Draw Game
Test App
Improve Index
Test App
Handle Opponents
Test App
Resolve a tuple Bug
Test App Again
Test What Happens if Someone Leaves
Display State of Opponent
Test App
Conclusion

Taught by

Linode

Reviews

Start your review of How to Build a Client and Game Interface for Online Multiplayer Game Development

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.