Anonymous user
Talk:Tic-tac-toe: Difference between revisions
→letting the human win (sometimes): added a new task section (content from an old section).
m (→Design issues: corrected a HTML tag.) |
(→letting the human win (sometimes): added a new task section (content from an old section).) |
||
Line 13:
... And I like your printout of the board. I really did do a minimal version of the game for Python. Maybe someone else will do a fancy version in Python for comparison? --[[User:Paddy3118|Paddy3118]] 12:45, 5 February 2011 (UTC)
== letting the human win (sometimes) ==
A note on the REXX solution: the tic-tac-toe game, 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)
|