Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rkrupinski/guessing-game
https://github.com/rkrupinski/guessing-game
guessing-game kata typescript
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/rkrupinski/guessing-game
- Owner: rkrupinski
- Created: 2022-07-16T17:28:46.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-07-26T10:08:09.000Z (over 2 years ago)
- Last Synced: 2024-04-13T18:24:18.452Z (8 months ago)
- Topics: guessing-game, kata, typescript
- Language: TypeScript
- Homepage:
- Size: 53.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Guessing game
Milestones (the order matters):
1. Ask in the console for guessing a random number between 1 and 10. The player only has one chance and the correct answer is always 8.
2. Tweak the program to draw a random winning number every game.
3. Give the player N attempts.
4. Change the range to 1-100 and if the player guesses incorrectly, give him a hint that the number is either too big or too small.
5. If the answer has already appeared before, let the player know that the move was dumb.
6. If you hint the player that the number given was to small and he responds with an even smaller one, let him know that the move was dumb.
7. M (M < N) dumb moves end the game with a different message.
8. If the player follows a hint, let him know.
9. Add a test suite.
10. Change the interface from the console to Web or... Siri/Alexa.