Talk:Tic-tac-toe: Difference between revisions

m
→‎letting the human win (sometimes): added a comment about a 2x2 grid when played, will always force a win.
m (→‎"ancient" computer game: added more verbiage.)
m (→‎letting the human win (sometimes): added a comment about a 2x2 grid when played, will always force a win.)
Line 15:
== letting the human win (sometimes) ==
A note on the REXX solution:   tic-tac-toe games,   if played perfectly,   will always end in a draw.
<br>(Except for 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)