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

Re: [pbmserv-dev] 3d board array?



On Thu, Jul 03, 2003 at 03:17:05PM -0500, Douglas Zander wrote:
> I thought that I once knew how to represent a three dimensional array
> for the board for certain games but I can't remember how I did it.
> Can anyone help?  I want board[8][8][11] and I wish to read and write
> it to the game file.   Does anyone know a game that uses a 3d board file?
> Any help will be appreciated.  Thanks!  
> (maybe that would be a new project: board3d.cpp: GetAt(x,y,z),PutAt(x,y,z)
> :-)

qubic.cpp

-- 
 /  \__  | Richard Rognlie / Oracle Prophet / Gamerz.NET Lackey
 \__/  \ | http://www.gamerz.net/rrognlie/    <rrognlie@gamerz.net>
 /  \__/ | The past is the future
 \__/    |                  Nobody expects the spammish inquisition