All Questions
Tagged with multiplayer python
46 questions
-1
votes
1
answer
36
views
pygame multiplayer jsondecodeerror
I'm developing a two-player multiplayer game with pygame.
Here is the server code and client code:
<Server Code>
import json
import pygame # Main module for the game
import pyautogui # For ...
0
votes
0
answers
182
views
OSError: [Errno 98] Address already in use, Comes up only when running on a port forwarded connection
I am trying to create a multiplayer server and have successfully made it work when using it on the same computer and the same local WiFi. However, when I try and move it to my server (on AWS) I get a ...
1
vote
1
answer
46
views
Why is the 'game' module running automatically when I am trying to run 'FootballSim_server' module?
MODULE I AM TRYING TO RUN - Football_sim module
import socket
from _thread import *
import plyer
import json
class GameServer:
def __init__(self):
self.Server = '127.0.0.1'
self....
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 ...
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 ...
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 ...
0
votes
1
answer
143
views
Is it possible to create a Multiplayer Game using a Cloud Text File?
My idea is to create a multiplayer Pontoon game where I use a text file located in a Cloud Storage (like Google Drive etc). Each computer connected to the game should write to the file:
The user id / ...
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 ...
1
vote
0
answers
623
views
Multiplayer game in Python with websockets: Wait for multiple input
I'm developing a text game in Python implementing the networking part using Quart and websockets. I'm done with the single player part which is a simple single request- single response thing and next ...
1
vote
2
answers
1k
views
Turn Python turtle game into local LAN multiplayer game [closed]
I made a game called "Pong" in Python using the turtle module, and I want to make it a local LAN multiplayer game.
Can someone tell me how I can do it?
I want to make it a localhost-like ...
1
vote
0
answers
66
views
Pygame player 2 is not updating its state [duplicate]
Whenever I run my pygame code on 2 configurations for 2 players they don't update the positions so my 2 configurations/players are separate and not in sync. I move the positions for the first ...
1
vote
0
answers
701
views
Flask-Socketio: Managing Game Lobbies
This is a somewhat theoretical question; I'm still in the design stage of the app I'm trying to make.
I have a front end that supports general websockets and a back end WSGI written using Flask ...
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 ...
1
vote
1
answer
398
views
Multiplayer Following Camera in Pygame
For a school project I am building a recreation of Among Us in python with Pygame. I have already set up all the server and client side code and that's all working fine. I'm now in the process of ...
0
votes
1
answer
728
views
How to set up a server for a local wifi multiplayer game for python
I'm making a Cards Against Humanity game (but nicer/family friendly-er) and I have it set up where all I need to do is run player functions and then a judge function until someone wins. I recently ...