These are some tutorials and code examples. Most are a work in progress - but mineweeper can be read as is.