13 lines
347 B
Python
13 lines
347 B
Python
import socket
|
|
|
|
SERVER_IP = "127.0.0.1"
|
|
PORT = 5901
|
|
|
|
# Manually set the starting "input" for the first team
|
|
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
|
s.connect((SERVER_IP, PORT))
|
|
# Using "0" as the ID for the very first team's source
|
|
s.send("ADMIN SET 0 80".encode()) # Sets the first clue as 80
|
|
print(s.recv(1024).decode())
|
|
s.close()
|