Tic-tac-toe: Difference between revisions
Content added Content deleted
Alextretyak (talk | contribs) (Added 11l) |
Alextretyak (talk | contribs) m (→{{header|11l}}) |
||
Line 28: | Line 28: | ||
<lang 11l>UInt32 seed = 0 |
<lang 11l>UInt32 seed = 0 |
||
F nonrandom_choice(lst) |
F nonrandom_choice(lst) |
||
:seed = |
:seed = 1664525 * :seed + 1013904223 |
||
R lst[:seed % UInt32(lst.len)] |
R lst[:seed % UInt32(lst.len)] |
||
Line 79: | Line 79: | ||
R choice + 1 |
R choice + 1 |
||
F your_turn(xo, board) |
F your_turn(xo, &board) |
||
V options = space() |
V options = space() |
||
L |
L |