I tried coding agar.io in python using sockets, networking and the python module pygame. This project is coded using entirely python and can host multiple people playing from different machines on different networks.
Code:
Playlist:
Get %30 off a GitPod.io subscription with the code: techwithtim
◾◾◾◾◾
💻 Enroll in The Fundamentals of Programming w/ Python
…
📸 Instagram:
🌎 Website
📱 Twitter:
⭐ Discord:
📝 LinkedIn: …
📂 GitHub:
🔊 Podcast:
💵 One-Time Donations: …
💰 Patreon:
◾◾◾◾◾◾
⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡
Tags:
– Tech With Tim
– Python Tutorials
– agar.io
– coding agar.io with python
– python coding
– agar.io coding
– pygame
#python #sockets #networking
Finn
03.06.2023People like you are what students need. Thanks for being so awesome!
LordOfWizard
02.06.2023How did u change win in dark mode huh? Bro
Aditya Pai Thon
02.06.2023You can remove the hard-coding of ip address with
socket.gethostbyname(socket.gethostname())
Ujjval W
02.06.2023wow
MERNiK
02.06.2023Please make a tutorial of this!
MABO
02.06.2023How to move the ball with his mouse pointer?
The Noob Gamer
02.06.2023Hey tim I just wanna ask you a question, is p5.js a good library for making designer and artistic webpages.
P.s Sorry for my bad English
Sa Inco
02.06.2023thanks.
Gautam Sharma
02.06.2023Could you make a video on adding cut scenes in pygame
Mustafa Sarwar
02.06.2023=-O
adam120yep
02.06.2023Can you send to us the code ? Cause I want to play with you to win someone strange haha
Duke minecrafter
01.06.2023Hi hope your having a great day but how do you get pygame in 2019 thanks
Heinz Beckenbauer
01.06.2023Please make a tutorial to this or to sockets anyway!
Script_Kiddie_13
01.06.2023Wow please PLEASE FFS DONT GIVE AGARIO ATTENTION U MELON
Dr4kk0nnys
01.06.2023It would be amazing if you started explainning the codes instead of only putting the github links to it
Ivo Agar
01.06.2023This is so cool!
Andrej Kesten
01.06.2023Try to make GTA 1 or 2 in Pygame 😀
NukeML
01.06.2023I need to make a client-server mobile game for my school coursework. Anything specific I should know for online mobile game development with python?
Gaming With Farhan
01.06.2023Hi Tim I Love Your Videos I Just Wanted To Say Please Make Roulette Game In Python In A Live Stream
TheFunnyBuddy
01.06.2023Should have included the reaction for 2:47
Panda patchslaw Pp
01.06.2023what is this IDE ?
King Of Agario
31.05.2023Nice! Now recode Mope.io?
John Taxmi
31.05.2023Could you make a copy of diep.io, please?
stop
31.05.2023Awesome work
Mike_Vahe Moubayed
31.05.2023Hi i was wondering where i can learn python and pygame i know python but i want to learn python with pygame.
Dill Pickle
31.05.2023Can anyone recommend me a good sockets tutorial ?
Heisenberg
31.05.2023Now code python with Agar.io
TTV
31.05.2023Python Noob here, thanks for being one of the people on YouTube getting me into it.
饱马
31.05.2023Hi, I'm wondering how to change this from local connection to public network.
Juice
31.05.2023I decided I would give your code a test run. I am not getting 30fps, it is pretty laggy for me. I am not sure why. I increased the tick speed to 60 and there is 0 change.
igs
31.05.2023First thing I thought when I saw this video was creating a cheat
Gabriel Ext
30.05.2023balls, players, game_time = server.send(data)
ValueError: too many values to unpack (expected 3)
why do i get this error?
Tristan Sun
30.05.2023Is there a way to play it from any network? btw, very nice.
HOÀNG KHOA NGUYỄN
30.05.2023I don't know how to run 2 players. please i help
DEVANSH BHATT
30.05.2023bro how u r sending msg to all clients and i can't able to send msg to all by using conn.send()
plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz HELP
p5kplamps
30.05.2023bro its not working on public ip pleas help
p5kplamps
30.05.2023bro its not working on public ip pleas help
why its not work on public ip ?
can i play it with my friend on internet?
pleas help
p5kplamps
30.05.2023bro its not working on public ip pleas help
why its not work on public ip ?
can i play it with my friend on internet?
pleas help
p5kplamps
30.05.2023bro its not working on public ip pleas help
why its not work on public ip ?
can i play it with my friend on internet?
pleas help
p5kplamps
30.05.2023bro its not working on public ip pleas help
why its not work on public ip ?
can i play it with my friend on internet?
pleas help
Daniel Csakanyosi
30.05.2023i downloaded and get this error: OSError: [Errno 113] No route to host After i entered correct ip address and get this error: ConnectionRefusedError: [Errno 111] Connection refused
Yat Kiu Wong
29.05.2023But how to run it on different computers??
Rebecca
29.05.2023What college do you go to?
Imad Afzal
29.05.2023lol can I join your class room
its probably really fun!
soi sauce
29.05.2023can i atten your codding class i m 11 year old and where do i attend
Prime
29.05.2023Can i run the game with pycharm too?
Blah Bleh
29.05.2023AWESOMEEEEE
boooring learning
29.05.2023Turkish people seem to really like this game
az
29.05.2023tech with tim the python master
Muhammad Ruzaini
29.05.2023H Tim, i was trying to play with local network (2 Player). But when both connected the time stuck at "Starting Soon" and the round wont start. how can i solve this?