I found my first real bug in the game recently. When looking at my random forage results I realised that they were always getting the same results every time the action completes, unless I restarted forage. It’s a pretty stupid mistake really – because the random forage results are generated in advance, of course they’ll
Continue reading More Randomness in Elm
Tag: programming
Randomness in Elm
Buildings as Actors In working towards making buildings work, I realised I already have in place the structure I need for them. Fundamentally, a building is just another actor, and it produces resources in the same way as the player does. I already have a loop for that – in this case almost all building
Continue reading Randomness in Elm
ClojureScript Experiments
ClojureScript was one of the options that piqued my interest when I saw it on the list for several reasons: It’s a modern but fully featured language It’s functional (as opposed to imperative) My sister programs in Clojure so I’ve heard a bit about it I don’t know it at all, so it would be an
Continue reading ClojureScript Experiments