Some coding tutorials I have written.
link View it online link Tutorial and code
link View online
This document details how to implement the MVC design pattern for games. It includes a playable samegame implemented with this pattern, as an example.