Testing the central function of Hamurabi, the game logic that carries out the plan for next year, and adds some random catastrophes, was coded up. This had me a bit confused.
Adding some statistical tools to enable testing of a game turn that uses random values.
The saga continues. I haven’t finished it yet, but put all the code into functions, and started testing each.
I needed to learn a little about the events triggered in the Customizer, and came up with a little script that prints events to the console log. This is specific to the Customizer’s event system.
Continue reading Observing the WordPress Customizer (wp.customize) Events