Tic-tac-toe: Difference between revisions
Content deleted Content added
Abdelrahman (talk | contribs) |
|||
Line 7,223: | Line 7,223: | ||
The tecTacToe.ring is provided [https://github.com/AbdelrahmanGIT/RingSamples/blob/master/src/TecTacToe.ring here] |
The tecTacToe.ring is provided [https://github.com/AbdelrahmanGIT/RingSamples/blob/master/src/TecTacToe.ring here] |
||
<lang ring> |
|||
<pre> |
|||
Load "guilib.ring" |
Load "guilib.ring" |
||
Line 7,353: | Line 7,353: | ||
next |
next |
||
if tie=true return 3 ok return 0 |
if tie=true return 3 ok return 0 |
||
</ |
</lang> |
||
{{out}} |
|||
Output: |
|||
[[http://ring-lang.sourceforge.net/tictactoe.jpg image]] |
[[http://ring-lang.sourceforge.net/tictactoe.jpg image]] |
||