Number-Game
Number-Game copied to clipboard
Number Game is a game where players solve a 4-digit secret number combination using clever deductions!
Number Game
Number Game is a game where players solve a 4-digit secret number combination using clever deductions!
✨ Demo
Preview of the game:
https://user-images.githubusercontent.com/87220004/140336598-9a2382ce-e6df-46b7-94fe-efd3b0beb1d9.mp4
Installation and running
- make sure you have python3 and git installed
- clone this repository with
git clone https://github.com/farisfaikar/Number-Game - change into the Number-Game directory and open a terminal emulator (e.g. CMD on Windows)
Create a venv (not strictly necessary, but recommended)
Do that with the following commands or if that doesn't work read the documentation
python3 -m venv venv
source venv/bin/activate
Install the requirements
Use the package manager pip to install pygame. Make sure you are still in the Number-Game directory and run the following command.
pip3 install -r requirements.txt
How to run
Make sure you are still in the Number-Game directory and run the following command:
python3 src/main.py
Additional game instructions
- Digits can't be repeated in an attempt, they can be only used once (1123 isn't possible)
- Click the green '=' sign button after entering 4 numbers
- Use the hints provided after each attempt to guess the number!
Contributing
Contributions, issues and feature requests are welcome. Please read the CONTRIBUTING.md file for guidelines and feel free to check issues page if you want to contribute.
Author
👤 Faris Faikar
- Github: @farisfaikar
Show your support
Please ⭐️ this repository if this project helped you!
Contributors
Thank you so much for everyone who has contributed to this little project of mine! I didn't know it would get quite the attention from the community 😀
License
Copyright © 2021 farisfaikar.
MIT