a simple engine for web games and mobile games