Skip to main content

All Questions

0 votes
0 answers
185 views

Recieving information from sockets in multiplayer game without huge delay

I am working on a multiplayer game in python and pygame and am having issues with the information receiving part through sockets and its making my game extremely glitchy/laggy. Essentially I have a ...
Aayush's user avatar
  • 124
0 votes
0 answers
728 views

Python socket programming , how to communicate with another computer in the same network

#SOLVED# It is solved when i disable Microsoft FireWall... I want to make a basic multiplayer game using pygame and socket. I created two scripts server.py and client.py . I can send data from one ...
tanjavaner's user avatar
0 votes
1 answer
73 views

Messages cannot flow between client and server

I followed the youtube video and used python to make a multiplayer online game of rock-paper-scissors. When I execute the script, the console displays "Couldn't get game", which is generated ...
Martin's user avatar
  • 29
0 votes
0 answers
38 views

when using python sockets, is there any way for the client to receive data without sending any?

So I'm currently building a multiplayer python game with sockets, but I ran into some issues when putting the game on a global server (is that the right term?) basically, once every loop, my game ...
Soldier Potato's user avatar
0 votes
0 answers
505 views

Python TCP Socket is too slow for my multiplayer game on a real Network

I have coded a drawing & guessing game simular to skribble.io and I'm using a TCP Socketserver for providing the game information to all connected players. On the client side is a thread running ...
v e n t E c h's user avatar
1 vote
0 answers
967 views

Python Socket Chat Room Is Not Working With Ngrok

So lately I have been trying to get into multiplayer with Python. The game I have an idea for is like Dwarf Fortress but with two players instead of AI. To do this I have been looking at a lot of ...
WimpyLlama's user avatar
1 vote
1 answer
1k views

Adding multiplayer functionality to singleplayer game with sockets

I am relatively new to python and programming in general and would like to know how I can add multiplayer functionality to a single player game I made with pygame. I have already made both a ...
anonymous's user avatar
1 vote
1 answer
24k views

TCP Server/Client: [Errno 32] Broken pipe

I am trying to create a simple multiplayer mode for a little game using python. What I want to do is sharing the position of each player connected to the server. Right now though I am stuck struggling ...
Shin's user avatar
  • 684
1 vote
1 answer
988 views

Multi multiplayer server sockets in python

I am trying to create a multiplayer game for iPhone(cocos2d), which is almost finished, but the multiplayer part is left. I have searched the web for two days now, and can´t find any thing that ...
user1220713's user avatar
2 votes
1 answer
432 views

Can pygame events be handled in select.select input list?

The documentation for python's select.select says: Note that on Windows, it only works for sockets; on other operating systems, it also works for other file types (in particular, on Unix, it ...
hjpotter92's user avatar
  • 80.7k
2 votes
1 answer
188 views

Should I store player information on server or client? [closed]

I'm making a multilayer, text-based game in python sockets. The game is two player with a server which the clients connect to. I'm not sure whether to store player information (name, health, etc) on ...
icedvariables's user avatar