Tic-tac-toe: Difference between revisions

Content deleted Content added
Added a traditional Pascal solution
m fixed typo and rephased slightly
Line 9,464:
In some ways easier to read, but because Pascal lack return/break/continue
functions a little long and different style. Tested with FreePascal on macOS.
I thinkwould expect this version should compilercompile onwith most Pascal variants including Delphi, but YMMR.
 
<lang Pascal>program tic(Input, Output);