A text-based Java adventure game engine