I show how to create an online multiplayer game with python using sockets and basic python networking. This is really cool and works on your local network. I use pygame, sockets and threading to accomplish this.
To modify this to work on your computer go to CMD type ipconfig and find the ipv4 addrss of the machine that will be running the server. You must change the host attribute in the Network class to match this value.
Code:
**************************************************************
One-Time Donations:
Support the Channel:
Twitter:
Join my discord server:
**************************************************************
Please leave a LIKE and SUBSCRIBE for more content!
Tags:
– Tech With Tim
– Pygame
– Python Tutorials
– Python Networking
– Socket Programming Python
– Online game in python
– Python multiplayer game
68 Comments