This is an exercise project to learn python using game-writing. The projects breakdown is thus:
terminal_games
- A collection of games written with basic terminal interactionpyxel_games
- A collection of games written using Pyxel for 2D retro graphics
- Python
pipenv
- Manages a virtual environment that contains the Python dependenceis
- Installation:
pip install pipenv
pyxel
low-level library- Required only for
pyxel
-based projects - Installation: TBD
- Required only for
Before running a project for the first time:
cd
to the project's root folder- Run
pip install
After the initial setup, run pipenv run src
.
pwd
- Print the current working directorycd PATH
- Change the (current) directory to the specified pathPATH
- Example:
cd ~/Documents
changes the current working directory to theDocuments
folder in the user's home folder
- Example:
tree
- Print a recursive directory and file treepytest -f ./test/
- Run all the tests in the./test/
directory (-f
means re-run on file save)