milkshake-moo / Dao_Game

Make a Dao game!
GNU General Public License v3.0
2 stars 0 forks source link

Adding python socket testing scripts #9

Closed donny138 closed 1 year ago

donny138 commented 1 year ago

These are some testing scripts I was playing with during the week when I got bored!

I forgot everything I learned about socket programming from school and have never actually done it in python. So lots of trial and error!

This is something we could use to get two Dao programs to talk to each other on different computers over the internet, which is what we want for our initial prototype!

This code is intended to be reference material for socket programming later since I'm probably going to forget how it works again :p. So there are lots of comments! hopefully enough to explain what it is and how it works, but feel free to ask any questions!