A simple framework for creating games