mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-26 12:51:29 -08:00
30 lines
1.1 KiB
Markdown
30 lines
1.1 KiB
Markdown
<<<<<<< HEAD
|
|
#STARS
|
|
|
|
From: BASIC Computer Games (1978), edited by David H. Ahl
|
|
|
|
In this game, the computer selects a random number from 1 to 100
|
|
(or any value you set [for MAX_NUM]). You try to guess the number
|
|
and the computer gives you clues to tell you how close you're
|
|
getting. One star (*) means you're far away from the number; seven
|
|
stars (*******) means you're really close. You get 7 guesses.
|
|
|
|
On the surface this game is very similar to GUESS; however, the
|
|
guessing strategy is quite different. See if you can come up with
|
|
one or more approaches to finding the mystery number.
|
|
|
|
Bob Albrecht of People's Computer Company created this game.
|
|
|
|
## NOTES
|
|
|
|
Original source downloaded [from Vintage Basic](http://www.vintage-basic.net/games.html)
|
|
|
|
Conversion to [Rust](https://www.rust-lang.org/) by JW Bruce
|
|
|
|
thanks to Jeff Jetton for his Python port which provide inspiration
|
|
=======
|
|
Original source downloaded [from Vintage Basic](http://www.vintage-basic.net/games.html)
|
|
|
|
Conversion to [Rust](https://www.rust-lang.org/)
|
|
>>>>>>> 3e27c70ca800f5efbe6bc1a7d180211decf55b7d
|