You can look into pairing functions to create a hash from XY coordinates:
Jump to content
I'm not a game developer, I'm a CAD developer! Either way, I'm passionate about 3D Graphics technology and have pursued the Art of Computer Graphics since my school days.
I am the author of two C# wrappers for native libraries dealing with content processing - AssimpNet(Open Asset Import) and TeximpNet (Texture Import, wraps Nvidia Texture Tools and FreeImage). And in my spare time, I develop my major and ongoing project of interest - the Tesla Graphics Engine. It is a C# graphics engine designed with portability of graphics API/platform in mind (although currently targeting Direct3D11 only). It also sports a nifty content pipeline that includes material scripting.