On Tue, 14 Dec 2004 09:04:53 +0900
Brian Schröäer <ruby / brian-schroeder.de> wrote:

| If I understand your code correctly, you choose with highest
| probability the worst move ;). You should either use moves.pop or sort
| in reverse order.
| 
| Note that I used exactly the opposite evaluation function: -1000 for
| loss and 100 for win, because it is impossible to win against a decent
| player and I wanted to avoid losses and tend to play draws. Though I
| don't know if this really makes a difference compared with -1 0 1 or
| other numbers. I hope my choice does not lead to weird psychoanalysis
| of me ;)
| 
| Best Regards,
| 
| Brian
| 
| -- 
| Brian Schröäer
| http://www.brian-schroeder.de/
| 

Thanks for your help! However, after I changed the code to use
moves.pop, nothing changed. I.e. the learning AI player was as bad as
was before.

Thanks for helping,
Thomas

-- 
|\  Thomas Leitner  --  thomas [underscore] leitner [at] gmx [dot] at
|>
|/  "Life is what happens to you while you're busy making other plans"