View Single Post
  #7   Spotlight this post!  
Unread 11-01-2007, 13:02
mgreene mgreene is offline
Registered User
AKA: Mike Greene
FRC #1351 (TKO)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: San Jose, CA
Posts: 12
mgreene is on a distinguished road
Re: Scoring function in C

From what I recall, the 9x4 array was a holdover (no longer used) from a draft where we thought it may be useful to know the sum of pieces active in each row and column, kind of like this image:

(x's)
xoxxoxxo5
xoooooox2
oxxxxoxx6
21221122

Not that mixing ints and chars is good practice, but it was just a draft that grew.

MG