Package: theRiddler
The Riddler is a project for learning purposes.It is a sample project made for
the upcoming lectureEinfuehrung in Pythonof the universityHTWG
Konstanzat Constance, Germany.It consists of riddles the solution of which preferably require learning Python
basics.
The riddles are intended to be solved programmatically, and most of them can
be solved by straightforward and short scripts.
The solution sometimes will require the use of extra modules, which can
all be downloaded from the internet.The Riddler is designated to accompany the lecture and make the
students apply and consolidate their theoretical knowledge without
greater guidance and by play.
After mastering the first few riddles, the application leads to the
project itself and its distribution here on PyPI, and is then intended
to encourage the students to revise and modify, and finally republish it
for the following ones.With this approach, the project is expected to result in the making of a sophisticated
learning project, geared to the needs of the learners, and well tried and tested.Getting StartedAt the beginning, the project is handed out to the students in the form
of an installer package (“.msi” file), for “mysterious” intentions.Once they have solved the first riddles and end up here,
The Riddler shall be downloaded over its PyPI-Homepage and the downloaded File
has to be extracted. Subsequently it can be run by moving to the
extracted folder and typingpython theriddlerin the shell.Installing with PipIt is also possible to install this project with pip from the shell by
typingpip install theRiddler, but it is not meant to be installed
this way for testing and development purposes.Anyway, it could be started then by going into the directory where pip
installed it in, and by directly running the “__main__.py” script from
there.PrerequisitesThe “setup.py” script is yet built withSetuptools.ThePillowor “PIL” (Python Imaging Library)
module is used to display pictures, as the “PhotoImage” class from the built-in
“Tkinter” module provides comparably lean functionalities.To run tests,Noseis required.The  installer package handed out at the beginning is made withcx_Freeze.
Therefore, another “setup.py” script is used.
More information is provided in the attachment folder “misc” within the package.Some riddles require a valid connection to the internet.
The connection is accomplished withcertifi,beautifulsoup4andurllib3.ContributingPlease read theCONTRIBUTINGfile from the “misc” folder for
details.VersioningThe versioning is intended to be made after “Semver”.
Checkhttps://semver.org/.The initial release was “theRiddler 0.1.0”, 21th February 2018.LicenseThe entire content of this project is “self-made”, pictures included.The icon was created with a freeware version of the application “IcoFX” (v1.64).The author waives any copyright for the content.This project is licensed under the MIT License - see theLICENSEfile for details.AuthorEtienne Martin,student of theHTWG Konstanz, at the department of electrical
engineering.This project is part of the bachelor thesis created to achieve the
bachelor of science degree.AcknowledgmentsThe conception of this project was inspired byhttp://www.pythonchallenge.com/. Some riddles resemble an adaptation of the ones found
in the python challenge.Thanks toNadav Samet, you can go visit hisblog.
“Because everyone needs a blog”.The “Gothon Trash Game” is an adaption and inspired by “Gothons from
Planet Percal#25” from Zed Shaw’s book “Learn Python the Hard Way”,
exercise 43.