Is 14 the correct number of zeros for 32! in base 12? Shouldn't it be 13?
I run into a problem if the last move in the list is the winning move.
For theese moves: ( [0] => C_Red [1] => F_Yellow [2] => G_Red [3] => B_Yellow [4] => F_Red [5] => B_Yellow [6] => D_Red [7] => E_Yellow [8] => G_Red [9] => D_Yellow [10] => D_Red [11] => D_Yellow [12] => C_Red [13] => C_Yellow [14] => D_Red [15] => C_Yellow [16] => B_Red [17] => B_Yellow )
Yellow is winning on the diagonal from B3 to E0.
But the test expects "Draw" not "Yellow".
Loading collection data...
Is 14 the correct number of zeros for 32! in base 12? Shouldn't it be 13?
I run into a problem if the last move in the list is the winning move.
For theese moves:
(
[0] => C_Red
[1] => F_Yellow
[2] => G_Red
[3] => B_Yellow
[4] => F_Red
[5] => B_Yellow
[6] => D_Red
[7] => E_Yellow
[8] => G_Red
[9] => D_Yellow
[10] => D_Red
[11] => D_Yellow
[12] => C_Red
[13] => C_Yellow
[14] => D_Red
[15] => C_Yellow
[16] => B_Red
[17] => B_Yellow
)
Yellow is winning on the diagonal from B3 to E0.
But the test expects "Draw" not "Yellow".