Giter Site home page Giter Site logo

slashdotted / polderbash Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 1.02 MB

PolderBash Game (Didactic adventure game written in Bash)

License: GNU General Public License v3.0

Shell 100.00%
bash game educational educational-game learning programming didactic-games didactic

polderbash's Introduction

PölderBash Game (Didactic adventure game written in Bash)

PölderBash Logo

Introduction

Welcome to Pölder Bash, an adventure game written in Bash that can be used to assess your knowledge of Bash (and more!). This game is comprised of a server, a CLI client (where you can input your commands), and a GUI (in a web browser)

PolderBash Screenshot

Requirements

Pölder Bash requires a Linux Distribution and some additional tools, namely realpath and socat. If you are using Ubuntu Linux you can install them using

sudo apt-get install realpath socat

You can also enable sound effects by installing the ubuntu-restricted-extras package.

Running the game

The game is launched using the start script. You need to provide the path to the file containing the gameboard you want to play:

./start levels/bash_level1.poe

Playing the game

The user interface is comprised of a terminal window (the same where you launched the start script) and a web browser. The user interface can be accessed by visiting the following Url: http://localhost:8183.

During the game you will need to move Pöldo (or one of the other characters) through a maze. There are doors that need to be opened in order to reach the exit portal (the blue vortex). In your journey you can also collect stars. Doors are opened by answering a question (you can read the question by clicking on a door).

Commands

To move your character one step forward you need to execute pol_forward. You can turn clockwise or counterclockwise by means of pol_clockwise and pol_anticlockwise. You can also change your character using pol_persona: this command accepts an additional numeric value (from 0 to 9) which corresponds to a different character.

To open a door we either need to execute some commands (that will automatically unlock the door), or answer a question. To answer a question turn your character toward the door and then use the pol_say command followed by the answer (typically a letter), for example pol_say A. If the answer is correct the door will be unlocked and you will be able to proceed using pol_forward.

Copyright and license

(c) 2016-2019 Amos Brocco

License: see files

Contact: Amos Brocco <amos.brocco |at| supsi.ch>

polderbash's People

Contributors

slashdotted avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.