vivdunstan: Art work for the IF Archive including traditional text adventure tropes like a map, lamp, compass, key, rope, books a skull, and a sigh referring to grues (interactive fiction)
2024-04-16 04:41 pm

Declarative / imperative

Good spurt of IFComp game coding. Inform 7/10 is a largely declarative language, very like coding in Prolog. But sometimes you have to go imperative. And I've just coded a ridiculously large set of nested IF ... OTHERWISE ... statements to handle a key situation. Now approaching the end of the game, though still have masses of earlier stuff to go back and finish off writing properly.