TicTacToe
[1/4] from: mh983::yahoo::com at: 21-Dec-2001 13:19
The version of TicTacToe in the library seems to have been made unwinnable. How this
oversight was allowed to happen I don't know,
but it ruined my lunch break :-)
If you add this line:
if win? game-grid #"X" [clear-game "YOU^/WIN!"]
into the check-state function, you will again be allowed to win the game.
mike
[2/4] from: arolls:idatam:au at: 24-Dec-2001 15:48
I don't see how you managed to bring it to
its knees, though...
Anton.
[3/4] from: mh983::yahoo::com at: 24-Dec-2001 11:53
Re: TicTacToe (how to win)
This sequence will always win...
1. top right
2. bottom row, middle column
3. bottom right
4. middle right for the win
[4/4] from: ryanc:iesco-dms at: 27-Dec-2001 10:06
Hey Mike,
Thanks for finding that bug. The algrythm now correctly deals
with this condition. The new version 1.0.2 has been posted.
--Ryan
Mike wrote:
> This sequence will always win...
> 1. top right
<<quoted lines omitted: 8>>
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
--
Ryan Cole
Programmer Analyst
www.iesco-dms.com
707-468-5400
The contradiction so puzzling to the ordinary way
of thinking comes from the fact that we have to use
language to communicate our inner experience
which in its very nature transcends lingistics.
-D.T. Suzuki
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted