A simple cocos2d-x game framework aims at separating general tasks from individual game logic.