mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-05 20:40:25 -08:00
Official cargo documentation says Cargo.lock should be under version control for binaries (but not for libraries) see https://doc.rust-lang.org/cargo/faq.html#why-do-binaries-have-cargolock-in-version-control-but-not-libraries
Chemist
The fictitious chemical, kryptocyanic acid, can only be diluted by the ratio of 7 parts water to 3 parts acid. Any other ratio causes an unstable compound which soon explodes. Given an amount of acid, you must determine how much water to add to the dilution. If you’re more than 5% off, you lose one of your nine lives. The program continues to play until you lose all nine lives or until it is interrupted.
It was originally written by Wayne Teeter of Ridgecrest, California.
As published in Basic Computer Games (1978):
Downloaded from Vintage Basic at http://www.vintage-basic.net/games.html
Known Bugs
- There is a typo in the original Basic, "...DECIDE WHO MUCH WATER..." should be "DECIDE HOW MUCH WATER"
Porting Notes
(please note any difficulties or challenges in porting here)