Added another challenge to the README
This commit is contained in:
parent
44d2595e0b
commit
f43515647c
1 changed files with 29 additions and 28 deletions
57
README.md
57
README.md
|
@ -1,28 +1,29 @@
|
||||||
Number-Guessing Game
|
Number-Guessing Game
|
||||||
--------------------
|
--------------------
|
||||||
A simple game where the computer picks a number and the player must guess what it is.
|
A simple game where the computer picks a number and the player must guess what it is.
|
||||||
|
|
||||||
## Gameplay:
|
## Gameplay:
|
||||||
1. Computer generates random number
|
1. Computer generates random number
|
||||||
2. Computer starts "I'm thinking of a number..."
|
2. Computer starts "I'm thinking of a number..."
|
||||||
3. Player inputs number
|
3. Player inputs number
|
||||||
4. Computer responds higher, lower, or exact for input
|
4. Computer responds higher, lower, or exact for input
|
||||||
5. 2 & 3 repeat until player guesses number
|
5. 2 & 3 repeat until player guesses number
|
||||||
6. Computer says how many guesses it took
|
6. Computer says how many guesses it took
|
||||||
|
|
||||||
## Requirements:
|
## Requirements:
|
||||||
* player
|
* player
|
||||||
* ability to give input
|
* ability to give input
|
||||||
* player's guessed numbers
|
* player's guessed numbers
|
||||||
* computer
|
* computer
|
||||||
* computer's random number
|
* computer's random number
|
||||||
* ability to receive input
|
* ability to receive input
|
||||||
* number comparison calculations
|
* number comparison calculations
|
||||||
* give reply on number
|
* give reply on number
|
||||||
|
|
||||||
## Future Challenges
|
## Future Challenges
|
||||||
* ~~Ask player if they want to play again~~
|
* ~~Ask player if they want to play again~~
|
||||||
* Reverse roles: human picks number and AI guesses
|
* Reverse roles: human picks number and AI guesses
|
||||||
* Multiplayer: play with two humans
|
* Multiplayer: play with two humans
|
||||||
* Spectator: play with two AIs
|
* Spectator: play with two AIs
|
||||||
* Menu: select between different game modes
|
* Menu: select between different game modes
|
||||||
|
* Build a GUI
|
Loading…
Reference in a new issue