Re: [Tutor] Dictionaries or Numpy?

2008-05-17 Thread Adam Clarridge
On 5/16/08, John Fouhy <[EMAIL PROTECTED]> wrote: > > On 17/05/2008, Adam Clarridge <[EMAIL PROTECTED]> wrote: > > I'm fairly new to Python, and I am not sure whether it would be faster > > for me to use a Dictionary data type to represent the board > >

[Tutor] Dictionaries or Numpy?

2008-05-16 Thread Adam Clarridge
Hi, I'm writing an AI for a board game called Blokus, and I believe that the quality of the program is going to greatly depend on the efficiency of the algorithm I use to generate legal moves and rate them. I know sort of how I'm going to do this legal move generation, and I know it is going to re