Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cm0use/guess-number
A simple guessing game.
https://github.com/cm0use/guess-number
cpp cpp-game cppgame guess-the-number guessing-game guessing-number-game guessmynumber guessnumber
Last synced: about 2 months ago
JSON representation
A simple guessing game.
- Host: GitHub
- URL: https://github.com/cm0use/guess-number
- Owner: CM0use
- License: gpl-3.0
- Created: 2022-04-16T15:18:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-13T19:59:05.000Z (about 1 year ago)
- Last Synced: 2023-11-13T20:43:55.651Z (about 1 year ago)
- Topics: cpp, cpp-game, cppgame, guess-the-number, guessing-game, guessing-number-game, guessmynumber, guessnumber
- Language: C++
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Guess Number
Guess a random number between 1 and 1000, you will have 9 attempts.
Features •
Requirements •
Compile & Run •
Contributing •
License![20220412_054827](https://user-images.githubusercontent.com/102839710/163680586-d43ddee7-8675-4bee-aa0a-cfd5a07b517f.gif)
## Features
* A simple guessing game.
* Easy to modify.
* Cross-Platform
- Windows, macOS and Linux.## Requirements
* g++
* git (optional)## Compile & Run
To **clone** and **compile** this game, you will need to have **git** and **g++** installed on your computer.
From your command line:```bash
git clone https://github.com/CM0use/Guess-Number.git
cd Guess-The-Number
g++ -O2 -std=c++2a src/main.cpp src/utilities.cpp -o guessNumber
```Run on **macOS & Linux**:
```bash
./guessNumber
```Run on **Windows**:
```cmd
guessNumber.exe
```## Contributing
**Any contribution you make will be greatly appreciated.**
If you have any ideas/suggestions to improve the repository, make a fork of the repository and create a pull request.
You can also open the issue tracker to report any improvements or bugs.## License
**Distributed under the GNU General Public License v3.0**
See accompanying file LICENSE
or copy at GNU General Public License