A javascript game engine (initially developed for txtgame)