Non-exam assessment contributing for A Level Computer Science OCR exam taken in July 2024.
See a-level-computer-science-ocr-maze-program.pdf
for the document sent to OCR.
See maze-program.py
for the code.
- Login screen allows users to enter credentials and toggle password visibility.
- Users can register with a unique username and password, triggering a confirmation message upon successful registration.
- Admin console accessible with predefined credentials for managing users, including deletion and bulk deletion.
- Post-login, users access a maze generation menu to create mazes with adjustable dimensions.
- Maze generation includes options for perfect and random mazes, with save and regenerate functionalities.
- "My mazes" menu displays saved mazes with options to delete individual mazes or all saved mazes.
- Maze creation and saved mazes menus feature "quit" buttons for exiting the program.
- Admin panel and saved mazes menu include scrollbars for navigating overflow content.
- Usernames and passwords must adhere to specific length and character criteria, with error messages for invalid inputs.
- Functionality includes regenerating saved mazes to their original state and re-displaying their paths.
- Clone this repository.
- Create a virtual python environment by running
python -m venv venv
. - Run
source venv/bin/activate
. - Install bcrypt via
pip install bcrypt
. - Run
python maze-program/index.py
.
Admin credentials
- username:
admin123
. - password:
admin123
.