Maze
How to install
We clone the code from the repository with the command: git clone https://gitflic.ru/project/ilyazheprog/maze.git
.
The project requires Python 3.10+!
Initialization
In the data/conf.py
file, in the OS
variable, write the name of your operating system, in PATH
- the absolute path to the project, in PATH_TO_VENV
- the absolute path to the virtual environment.
For example,
OS = "Windows"
PATH = r"C:\Maze"
PATH_TO_VENV = r"C:\venv"
Note: The OS variable can take the value “Windows” or “Linux”.
Run services/initilization.py
.
Initialization is automated only for Windows and Linux!
You must install all dependencies from requirements.txt
into the virtual environment yourself!
launch
After initialization, run.bat
or run.sh
will appear, depending on the operating system. To open the game you need to run this file.
Controls
←, ↑, →, ↓
- to move the player
S
- to draw/hide the score
Q
- to close the game window
ESC
- to enter/exit pause mode