The purpose of this project is to build and document the development of a simple interactive terminal game using Python.
The game is straightforward, you are presented with a set of white squares to choose from. Only one will make you progress to the next level of the path, while the others will lower your try-count.
Based on the difficulty chosen, the path will vary in size, as well as the try-count — decreasing as the difficulty increases.
All of the code is kept in the ./src
folder:
libs.py
file: implements two classes, Board and Path, the core components of the programmain.py
file: contains the full logic of the program, specified in thestart_game(difficulty)
function