Tic-tac-toe: Difference between revisions
Content deleted Content added
m fixed typo and rephased slightly |
m →{{header|Pascal}}: fixed spelling typo in comment section |
||
Line 9,599:
(* randomize if computer opens, so its not always the same game *)
if k = 1 then begin
best_i := random(3); {Pascal random returns
best_j := random(3);
end else
|