A simple text game engine written in HTMl and Javascript