a game framework for egret