Implementing text-based adventure interface