Here's my framework for playing programming games. Rummy, Boxes, Atoms, etc.
All still under development. Take a look.