The original name is Gumoku
The point of the game is to get five stones in a
row either horizontal, or vertical or diagonal on
a square playing field with the size limited to
19.
Note that the whole field is not always
accessible for you during the game, as well
as a game may end in a draw when the entire
board is filled with stones at the time, as none
of the players will have five stones in a row.
The point of the game is to get five stones in a row either horizontal, or vertical or diagonal on a square playing field with the size limited to 19.Note that the whole field is not alwaysaccessible for you during the game, as wellas a game may end in a draw when the entireboard is filled with stones at the time, as noneof the players will have five stones in a row.
Resolving of the following tasks can help: The biggest union of points, Put the number
Here you can find more information: Wikipedia, Renju International Federation
Before the start playing we execute initial_checkio, and tell to your ENV the number of your player - 1 or 2.
initial_checkio({'num':1}) # you goes first
Function checkio gets input values as a dict with the following keys:
checkio({
'step':[4,5], #coordinates of your opponent step
'map':[[...],[...],...,[...]] #array of array of coordinates
})
Jan. 7, 2011 11:58 a.m. #
Jan. 8, 2011 6:55 a.m. #
Jan. 8, 2011 7:44 a.m. #
What I don't understand is that if the score board, as this is a competition, should be updated awarding the strongest program with the first position. My solution, at the moment, beats the first and the second solution.
Jan. 11, 2011 6:21 p.m. #
And your solution doesn't beat my
Only authorized users can reply. Login