§10.11. Mathematics
It is uncommon, but not absolutely unheard-of, to need to do detailed mathematical calculations in interactive fiction.
The Fibonacci Sequence demonstrates the calculation of a series of numbers; Sieve of Eratosthenes shows off how to calculate the prime numbers within a certain range.
Number Study demonstrates conditional relations between numbers.
|
|
|