Anonymous user
Tic-tac-toe: Difference between revisions
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*/ /* [↓]
if ec\=='' then ac=ec /*Found an empty? Then use it.*/
if _==N | (_>=w & ec\=='') then return 1==1 /*a winner has been determined.*/
|