Game - Map data structures

Erik Max Francis max at
Sat Jun 19 03:48:03 CEST 2004

Sam Holden wrote:

> That's going to make it really hard to determine which boats are on a
> given water tile.

Surely if you're dealing with populating a grid of things with objects,
you're not going to do so by holding objects in each slot.  You'll
implement some sort of sparse array, instead.

 __ Erik Max Francis && max at &&
/  \ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
\__/ We must use time as a tool, not as a crutch.
    -- John F. Kennedy

More information about the Python-list mailing list