Talk:Tic-tac-toe: Difference between revisions
Content deleted Content added
→letting the human win (sometimes): added a new task section (content from an old section). |
m →letting the human win (sometimes): separated long sentences into paragraphs. |
||
Line 14: | Line 14: | ||
== letting the human win (sometimes) == |
== letting the human win (sometimes) == |
||
A note on the REXX solution: tic-tac-toe games, if played perfectly, will always end in a draw. |
|||
⚫ | |||
⚫ | Since kids may be playing it (or adults with very short attention spans), I programmed a "hole" in the logic so that if a human player plays first (the default), they may win if a certain pair of moves are made. -- [[User:Gerard Schildberger|Gerard Schildberger]] 23:49, 10 December 2012 (UTC) |
||
=="ancient" computer game== |
=="ancient" computer game== |