Commit Graph

4 Commits

Author SHA1 Message Date
Stephen Childs
6c1adde205 Move harvest calculation outside rat condition.
This fixes an error where the harvest was only added
to the total bushels if rats ate some.

Note in the BASIC file, we check to see if rats eat
the grain in line 522 and if not, go to line 530,
which is where the `S=S-E+H` calculation is done.
2022-01-13 10:56:50 -05:00
Bill Cruise
a360ca17ca Return a value from gen_random function. 2022-01-08 13:18:09 -05:00
Bill Cruise
d5a2260796 Reformat to make code more Pythonic and (hopefully) readable. 2022-01-08 12:56:44 -05:00
Chris Reuter
d26dbf036a Removed spaces from top-level directory names.
Spaces tend to cause annoyances in a Unix-style shell environment.
This change fixes that.
2021-11-21 18:30:21 -05:00