Welcome to Lapyrinthe’s documentation!¶
Contents:
Installation Guide¶
Requirements¶
This package has the following dependencies:
- Python 2.5 or later (Python 3.x is not supported yet)
Installation¶
To install the latest stable release, you can type:
pip install lapyrinthe
or you can download the latest tar file from PyPI and install it using:
python setup.py install
Developer version¶
If you want to install the latest developer version, you can do so from the git repository:
git clone https://github.com/Linkid/lapyrinthe.git
cd lapyrinthe
python setup.py install
Getting Started¶
Beginnning¶
To launch the game, use the following command:
python interf.py
To change the language before starting the game, use the following command (in French, here):
LANG=fr python interf.py
Goal¶
You have to move your red pawn to the other side of the labyrinth, marked by a leaving arrow, in the fewest movements a possible. A new window will indicate you the number of movements.
However, labyrinths have some obstacles to be more interesting.
Movements¶
Use the arrow on your keyboard to move your pawn.
Furthermore, there are some objects to guide you:
- teleporters
- propellers
- blue arrows (one-way)
Labyrinths¶
Location¶
Mazes are in the folder labyrintheque.
Levels¶
There are 5 levels, from A to E:
- level A (easy): the easiest one, with no obstacles.
- level B (medium): with special objects (teleporters, one-way, return to the beginning)
- level C (medium): the same as level B
- level D (medium): the same as level B
- level E (hard): with more special objects (propellers, stop)
Symbols¶
Symbol | Name | Level |
---|---|---|
![]() |
Start | All |
![]() |
End | All |
![]() |
Teleporter [1] | B, C, D, E |
![]() |
One-way | B, C, D, E |
![]() |
Return to the beginning | B, C, D, E |
![]() |
Key [2] | B, C, D, E |
![]() |
Propeller [3] | E |
![]() |
Stop [4] | E |
Footnotes
[1] | Teleport the pawn to the teleporter’s twin |
[2] | The key is to open a red wall |
[3] | Go through every obstacle (teleporter, one-way, wall) to one direction |
[4] | Stop the propelled pawn |
Legend¶
Each symbol is separated by ,.
For every symbol with 4 possibilities, the order is: left, right, up, down.
For wall, the order is: vertical, horizontal.
Symbol | Legend | Level |
---|---|---|
Start / End | A, B, C, D | All |
Empty | . | All |
Wall | | or - | All |
Teleporter | integer | B, C, D, E |
One-way | W, X, Y, Z | B, C, D, E |
Return to the beginning | * | B, C, D, E |
Key | B, C, D, E | |
Propeller | G, H, I, J | E |
Stop | K | E |
Contributing to Lapyrinthe¶
You are a user of Lapyrinthe or interested in its development and think you could help? So, you’re welcome!
There are several different ways to help us to make Lapyrinthe better.
Programmers¶
- Contact me
- Open an issue on GitHub
- Fork the repository on GitHub and make a pull request
Making mazes¶
- Contact me
- Follow the doc
Reporting issues¶
If you have found a bug, please report it by creating a new issue on the lapyrinthe GitHub issue tracker.
Sources, documentation and lapyrinthes are under the GPL v3 License.