Tic-tac-toe: Difference between revisions

No change in size ,  3 years ago
m
→‎{{header|REXX}}: changed a comment.
No edit summary
m (→‎{{header|REXX}}: changed a comment.)
Line 10,905:
do c=1 for N; _= _ + (@.r.c==wm) /*count the # of markers in col*/
if @.r.c=='' then ec= r c /*Cell empty? Then remember it*/
end /*c*/ /* [↓] AX≡meansAC≡means available cell*/
if ec\=='' then ac=ec /*Found an empty? Then use it.*/
if _==N | (_>=w & ec\=='') then return 1==1 /*a winner has been determined.*/