Closed Antoinegtir closed 4 months ago
When we connect Python client to an AI server, the AI server will wrongly parse the command receive from the AI.
sock.sendall((name + '\n').encode())
Remove the last 2 characters of the message sent.
To Reproduce Steps to reproduce the behavior:
./zappy_server -p 12345 -x 10 -y 10 -n antoine maxime -c 3 -f 10
./zappy_ai -p 12345 -n antoine
Screenshots
:ambulance: Issue of communication between AI & Server
When we connect Python client to an AI server, the AI server will wrongly parse the command receive from the AI.
Python side:
sock.sendall((name + '\n').encode())
Server side issue:
Remove the last 2 characters of the message sent.
To Reproduce Steps to reproduce the behavior:
./zappy_server -p 12345 -x 10 -y 10 -n antoine maxime -c 3 -f 10
./zappy_ai -p 12345 -n antoine
Screenshots