Update readme to reflect Android app instead of generic app idea
This commit is contained in:
parent
33ee1704ec
commit
205548e89c
1 changed files with 1 additions and 61 deletions
62
README.md
62
README.md
|
@ -2,64 +2,4 @@ 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:
|
This app is mostly meant for me to learn Android dev with while I follow along with Udacity's [Developing Android Apps](https://www.udacity.com/course/new-android-fundamentals--ud851) course. I'm still building Sunshine of course but a little extra practice never hurt :) I'd appreciate any tips/tricks on how I could improve this app as really I'm doing what I can with what I pick up from the course/Android documentation/StackOverflow, and I'm sure there are better ways of accomplishing this.
|
||||||
1. Computer generates random number
|
|
||||||
2. Computer starts "I'm thinking of a number..."
|
|
||||||
3. Player inputs number
|
|
||||||
4. Computer responds higher, lower, or exact for input
|
|
||||||
5. 2 & 3 repeat until player guesses number
|
|
||||||
6. Computer says how many guesses it took
|
|
||||||
|
|
||||||
## Requirements:
|
|
||||||
* player
|
|
||||||
* ability to give input
|
|
||||||
* player's guessed numbers
|
|
||||||
* computer
|
|
||||||
* computer's random number
|
|
||||||
* ability to receive input
|
|
||||||
* number comparison calculations
|
|
||||||
* give reply on number
|
|
||||||
|
|
||||||
## Future Challenges
|
|
||||||
* ~~Ask player if they want to play again~~
|
|
||||||
* Reverse roles: human picks number and AI guesses
|
|
||||||
* Multiplayer: play with two humans
|
|
||||||
* Spectator: play with two AIs
|
|
||||||
* Menu: select between different game modes
|
|
||||||
* Build a GUI
|
|
||||||
|
|
||||||
## Contribution
|
|
||||||
Add the files you changed:
|
|
||||||
```
|
|
||||||
git add ngg.php
|
|
||||||
```
|
|
||||||
|
|
||||||
Commit the new changes:
|
|
||||||
```
|
|
||||||
git commit -m "Fixed syntax error"
|
|
||||||
```
|
|
||||||
|
|
||||||
Push the changes
|
|
||||||
```
|
|
||||||
git push
|
|
||||||
```
|
|
||||||
|
|
||||||
Get the latest code
|
|
||||||
```
|
|
||||||
git pull
|
|
||||||
```
|
|
||||||
|
|
||||||
See the changes you've made since your last commit (press Q to exit if it's long enough to scroll)
|
|
||||||
```
|
|
||||||
git diff
|
|
||||||
```
|
|
||||||
|
|
||||||
See which branch you're on now
|
|
||||||
```
|
|
||||||
git branch
|
|
||||||
```
|
|
||||||
|
|
||||||
Switch to a different branch to see that language's work:
|
|
||||||
```
|
|
||||||
git checkout php
|
|
||||||
```
|
|
||||||
|
|
Loading…
Reference in a new issue