Git Product home page Git Product logo

finding_earl_minigame's Introduction

A text-based adventure: Finding Earl

Earl

'Finding Earl' is a text-based adventure game created by CribberSix.

The idea for the text-based approach originated from the TV-series 'Chuck' where the 1980 text-based video game 'Zork' was mentioned.

Useful commands

Useful commands:

  • help - shows this text
  • info - shows some information about the game
  • look - shows what the character can see
  • read or inspect - shows more details on a specific object
  • i or inventory - shows the inventory
  • take - takes an object to inventory
  • drop - drops an object to the floor
  • open or open ... with ... - opens an object
  • go or walk - lets you move around. Acceptable directions are: north\forward, west\left, south\backward, east\right

Parser

The algorithm tries to match the input's first word - needs to be a verb - to a game functionality. Some verbs work as a standalone. Other verbs require further input, for example what the object of the verb is. If there are more than one of the desired objects around, you will need to specify which one you mean with a descriptive adjective, for instance purple book .

The parser will tell you if he does not know a verb or if he needs further information, so the best thing to do is to try it out!

Running the Game

  1. Install the necessary packages with pip install -r requirements.txt
  2. Run the game with python Adventure.py.
  3. Have fun!

License

© CribberSix

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.