Functioning of duels for noughts and crosses

Do not trust the animated GIF of the site's home page.
It's the illustration of the overall operation of the arena, but it is wrong : the tictactoe only needs to send 10 variables to the bots.
The choice was therefore made to pass them by GET parameters and not by POST as shown in the animation.

Requirements : GET variables and HTML return

Your program does not have to manage a whole part of noughts and crosses, just one lap.

The arbitrator program (the arena) build a request as follows :

    https://votreUrl/?you=O&0-0=&0-1=O&0-2=X&1-0=X&1-1=X&1-2=O&2-0=O&2-1=&2-2=X

The GET parameter "you" indicate what is your symbol in the noughts and crosses grid
Classically : "X" or "O"

For each box of the noughts and crosses grid, a GET parameter corresponding to the coordinates ("0-0", "0-1", etc ...) is indicated to you.
He can be :

Your program chooses the box on which he wishes to play in view of the grid and returns its coordinates.

The result of the HTTP (s) request can only be : "0-0" ou "0-1" ou "0-2" ou "1-0" etc.

A player (an AI) that answers something else, or responds with the coordinates of a box already played, loses the game.

Publish your program to test it then release into to the arena

The form is on website home page !