Tic-tac-toe: Difference between revisions

m
→‎{{header|Pascal}}: fixed spelling typo in comment section
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 poisitivepositive integers from 0 to func arg}
best_j := random(3);
end else