[Tutor] Todays Learning Python Question From a Newbie ;)
Wolfram Kraus
kraus at hagen-partner.de
Thu Feb 2 15:30:14 CET 2006
Jon Moore wrote:
[...]
> Thanks to André, there is a way to win every time if you take the first
> move (see below), so there MUST be a whole in the computers stratergy!
> Based on what we all know about the game, I would say that you can not
> make it so that the computer can win every time, but it should be
> possable to make it tie.
>
> x: 0
> o: 4
> x: 7
> o: 2
^
Make this 6,3,8 or 5 and it will be a tie
> x: 6
>
> 0 | 1 | 2
> ---------
> 3 | 4 | 5
> ---------
> 6 | 7 | 8
>
>
Wolfram
More information about the Tutor
mailing list