[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pbmserv] question about the game "Alak"



'Twas 04:18 PM -0400 on Friday 10/7/2005 when Mike Felts wrote:
That's only 2187 board positions for 7 stone Alak right?

Correct. It would require 12 pits to encode that number, but we can just use two bits per space which is 14 bits. An extra two bytes per turn of state info shouldn't be much overhead.


A Go board has 361 spaces. At 2 bits per space this is 91 bytes. That would be a significant increase in the file size, but is that an issue? If so, a 64 bit hash should suffice.

--
RB |\  Randall Bart
aa |/  admin@RandallBart.com  Home: 1-212-965-1786  Barticus@att.net
nr |\  Cell: 1-917-715-0831   I LOVE YOU  California: 1-818-985-3259
dt ||\                  Do the Math: http://calculator.brainthru.com
a   |/            Smart Greek Dude: http://aristarchus.brainthru.com
l   |\ DOT-HS-808-065          The Church Of The Unauthorized Truth:
l   |/ MS^7=6/28/107          http://yg.cotut.com mailto:s@cotut.com