How do I add more clients to my pygame server?
I added the third player but it still showed only two players and in the third window the third player was having his own game.
import pygame
from network import Network
import random
width = 1000
height = 700
win = pygame.display.set_mode((width, height))
pygame.display.set_caption("Client")
pos = 0
click = False
txt = ''
def redrawWindow(win, player1, player2,player3):
if not(player2.connected()):
win.fill('blue')
font = pygame.font.SysFont("comicsans", 50)...