A web-based text-adventure game framework