Skip to content

Number Game is a game where players solve a 4-digit secret number combination using clever deductions!

License

Notifications You must be signed in to change notification settings

farisfaikar/Number-Game

Repository files navigation

Number Game

Number Game is a game where players solve a 4-digit secret number combination using clever deductions!

✨ Demo

Preview of the game:

Number.Game.compressed.mp4

Installation and running

  1. make sure you have python3 and git installed
  2. clone this repository with git clone https://github.com/farisfaikar/Number-Game
  3. 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

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

About

Number Game is a game where players solve a 4-digit secret number combination using clever deductions!

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages