ai-challenger.net is a platform developed to help ai and robotics algorithms development by using games that can be controlled remotely and evaluate the result of this execution.
Steer is a game developed to test basic motion algorithms, to do a basic test please indicate any text on Game ID and press "Set" button, you can test a python sample code by clicking "Run code for 10 seconds" button, there is a text field with Python code that you can modify to do your own tests.
Enter game ID:
Live testing:
Here is a sample code to test during 10 secs:
Output from steer program, you can process this output to control the game:
It consists on a ball controlled using the following commands:
To control the game you can connect to a websockets server and provide the previous commands byte by byte, once connected you are going to receive an output like the following in string format:
pos:0.00,-18.00
Speed:0.50
Angle:0.00
target_pos:46.00,85.00
Where pos is the ball position in x and y coordinates, Speed and angle belongs to the direction of the ball and target_pos is the next target position in x and y coordinates
To test a control a game you can connect to: ws://ai-challenger.net:5555/steer/client using the following parameters:
ID='your id' , it can be anyone and it can be used to monitor your game execution.
ARG0='seed' , you can indicate the seed used for random calculations of target to test the same game configation multiple times
To monitor game progress you can use this same page indicating ID on game ID input field.
Here is a sample program made on golang to test game control:
To test locally you can run:
go run main.go legv83 steer 3
Where:
We also have a demo in Python for testing:
> To test you can run:
python3 steer_client.py legv83 3
Where:
Once your program is running you can refresh this page to see the exection in real time, just you need to confirm that page id argument corresponds to game execution id.