Git Product home page Git Product logo

bashcrawl's Introduction

Welcome!

This is a game to teach you the basics of using a POSIX (Linux, BSD, UNIX) terminal.

Try it on your machine

To start playing, open a terminal.

Type the letters "cd " (just the letters, not the quotes) into the terminal...

Then a space (press the spacebar)...

Then drag and drop the entrance directory from this folder into your terminal.

If your terminal asks you what you want to do with what you have just dragged into it, select "Paste location". If it doesn't ask, then expect it to paste the file path of the folder you just dragged into it.

Once you have something like:

$ cd /home/your_username/Downloads/bashcrawl/entrance

in your terminal window, press RETURN. The exact path to the entrance varies, depending on where you saved the file.

Your first move is very important. Type this into your terminal:

cat scroll

You are now playing the game. May the gods save you.

Try it online with mybinder

  • Follow this link: Binder.
  • Wait a few seconds to a minute until the launcher appears.
  • Click on the Terminal icon.

Note: mybinder sessions are temporary; the game is reinitialized each time you disconnect. Learn more about the mybinder service.

NOTES FOR macOS X

It appears that there is a problem with the standard Archive Utility that is called from Finder when a zip archive is double-clicked to extract to the current folder, if you're downloading the archive from GitLab rather than using git's clone facility to download the game. You may find that all of the files in the destination folder are set to be executable. This will cause great confusion as you play the game as intended, because every plain text file will be indistiguishable from executable scripts. Here's how to avoid this problem:

  1. Open your favorite terminal emulator app (e.g. Terminal.app or iTerm2).
  2. Navigate to the directory where you want to unpack the zip archive:
    cd /path/to/destination
    
    Replace '/path/to/destination' with the relative (does not start with slash '/') or absolute (starts with slash '/') path to your desired destination.
  3. Type unzip (that's 'unzip' followed by one or more spaces [hit the space bar at least once])
  4. From the Finder, drag the bashcrawl-master.zip to your terminal emulator window. The absolute path to your downloaded archive should be pasted into your terminal window similar to the following:
    unzip /Users/${USER}/Downloads/bashcrawl-master.zip
    
  5. Press Enter to unpack the contents of the zip archive to the current directory.
  6. In the terminal window change directory to bashcrawl-master/entrance:
    cd bashcrawl-master/entrance
    

At this point, you're in the game! Have fun!

bashcrawl's People

Contributors

bawnorton avatar covard avatar curusarn avatar danshil avatar freedomben avatar jaqque avatar jmona789 avatar kekkolicche15 avatar notklaatu avatar nthiery avatar sbrl avatar simon-will avatar tblancher avatar vilontemccloud avatar zmegolaz avatar

Watchers

 avatar

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.