This project contains files and folders for a small Python-based game. This README explains how to run the project and describes the main folder structure.
- Python 3.8 or newer
- (Optional) Additional libraries if used in
python.py
-
Open PowerShell or Command Prompt in the project folder (
c:\Users\ASUS\Desktop\game_folder). -
Run the command:
python python.py -
If you encounter errors, verify your Python version and that all required files are present.
- W — Move forward
- S — Move backward
- A / D — Strafe left / right
- Mouse — Look around / aim
- Q/W — Run (hold to sprint; consumes stamina)
- Space — Jump
- Enter — Start the game on the start screen or press the Start button
- Esc — Unlock the mouse / show cursor / exit
- Collect apples — Walk near an apple to collect it automatically
- Stamina bar — Shown on the UI; running consumes stamina and it regenerates while walking
Note: You can change input keys or behavior directly in
python.pyif you want to customize controls or add shortcuts.
python.py— main entry point for the game.house/— folder containing level or scene-related files.OLD/— folder for old copies or backups from previous development.اصوات/— folder for audio files (ensure UTF-8 encoding when using Arabic filenames).
- If you need to add dependencies (e.g., external libraries), add a
requirements.txtfile or tell me and I will update the README. - If there are specific run options or command-line flags, share them so I can document them here.
Contributions are welcome. Please describe changes and tests when opening a pull request.
If you want this file translated back to Arabic, expanded, or adjusted with more details, tell me and I'll update it quickly ✅