Tic Tac Toe

חינם
על ידי stujo | מְעוּדכָּן 15 дней назад | Entertainment
פּוֹפּוּלָרִיוּת

0.4 / 10

חֶבִיוֹן

165ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

what is recommendation in response

Rapid account: Emads 3
emads3
4 года назад

I can see that there is a key called recommendation in the response. what is it ?

Rapid account: Grahamestudent
grahamestudent Commented 2 года назад

Looks like the cell number to place the next symbol into. The one thing that I’m not sure about is if the position is 0 or 1 aligned (0-8 or 1-9)

assuming it’s zero aligned, here’s a worked example:
in state: ---------
if recommendation = 1 then
out state: -X-------

Edit: Running though several games using the assumption that the response is 0 aligned validated the assumption

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות