I recently did a couple of MonoGame related talks at Prairie Dev Con 2015 (#PrDC15)
This talk (Building a Scrolling Tile Engine (with bugs) in MonoGame) covers setting up a simple tile-map, displaying terrain tiles & decal tiles, scrolling, camera view, moving a bug onscreen, and adding simple path navigation via waypoints.
Below you will find links to the code for the demo and the slide deck for the talk.
If you want to build it step by step from scratch, I've also uploaded my talk notes.
Disclaimer: It's all demo code, so some things are done to illustrate a concept and be easy to read, and not necessarily "best practice."
Spent a little time with Minecraft-Pi recently, running on Raspbian on a B board. Creating a house becomes super easy when you can do it programmatically. The following code will create a hollow stone cube (10x10x10) directly in front of you.
In Python 2.7.3
from mcpi import minecraft
mc = minecraft.Minecraft.create()
x, y, z = mc.player.getPos()
stone = 1
air = 0
mc.setBlocks(x+1, y+1, z+1, x+11, y+11, z+11, stone)
mc.setBlocks(x+2, y+2, z+2, x+9, y+9, z+9, air)