added python files and fixed logs, gitignore

This commit is contained in:
2026-05-14 18:58:30 -05:00
parent 88b1cb8076
commit 59477c3ea7
4 changed files with 44 additions and 4 deletions

12
python/admin.py Normal file
View File

@@ -0,0 +1,12 @@
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()