Files
basic-computer-games/24_Chemist/README.md
2023-07-26 15:20:25 -07:00

26 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### 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 youre 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):
- [Atari Archives](https://www.atariarchives.org/basicgames/showpage.php?page=42)
- [Annarchive](https://annarchive.com/files/Basic_Computer_Games_Microcomputer_Edition.pdf#page=57)
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)
#### External Links
- C: https://github.com/ericfischer/basic-computer-games/blob/main/24%20Chemist/c/chemist.c