Talk:Tic-tac-toe: Difference between revisions

m
m (→‎Design issues: changed a word.)
 
Line 41:
== letting the human win (sometimes) ==
A note on the REXX solution:   tic-tac-toe games,   if played perfectly,   will always end in a draw, making it a   [https://en.wikipedia.org/wiki/Futile_game futile game].
<br>(Except forFor the case for a &nbsp; '''2x2''' &nbsp; grid, a win is guaranteed for the player moving first.)
 
Since kids may be playing it &nbsp; (or adults with very short attention spans), &nbsp; I programmed a "hole" in the logic of the REXX program &nbsp; so that if a human player plays first (the default), &nbsp; they may win if a certain pair of moves are made. &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] 23:49, 10 December 2012 (UTC)