Does anyone have good guides on how to create grid-based games? Isometric, hex, chess etc.

How do I create the actual grid? Sprites, randomness etc?