Text based gaming engine for the web