In this new series, @TechWithTim explains how to build an online multiplayer math game using Python, sockets, and Pygame module. In episode 1, Tim covers how to implement the server.
New to Cloud Computing? Get started here with a $100 credit!
1:20 About Your Host
2:05 Demo of the App
3:58 App Architecture
6:50 Create Initial Python Files
7:40 Paste Protocols
8:10 Create main.py
25:30 Create room.py
29:30 Import room.py
31:35 Write wait_for_room
35:36 Create Handle Logic
44:14 Create send
45:00 Create send_to_opponent
46:17 Create disconnect
49:40 Have Server Start After Init
50:40 Initialize Server and Test
Check out Tim’s Github for the code.
Learn more about Python.
Subscribe to get notified of new episodes as they come out.
#AkamaiDeveloper #onlinegame #python
Product: Akamai Developer, Online Game, Python; @TechWithTim