HP Forums
[DM15] Hammurabi Strategy Game - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: Not HP Calculators (/forum-7.html)
+--- Forum: Not quite HP Calculators - but related (/forum-8.html)
+--- Thread: [DM15] Hammurabi Strategy Game (/thread-13086.html)



[DM15] Hammurabi Strategy Game - Michael Zinn - 06-06-2019 06:30 PM

I'm not posting this in the HP 15C Software Library because this program requires more memory than the original 15C has: 823 lines of program memory and about 20 registers.

It's a strategy game where you play as king Hammurabi, ruler over Babylon and you have to manage your population, acres, grain, deal with natural disasters and so on. The goal is to rule for 10 years and get the "Excellent" rating at the end.

The game was written in BASIC and compiled for the calculator. Text output is done by having complex numbers refer to texts that you can print out.

See https://forum.swissmicros.com/viewtopic.php?f=23&t=2193 for details, code and memory dump.