<p>NOTE: the audio recording appears to have periodic jitter. As I recorded at 44.1 Khz this time, I wonder if my S2 just handles recording at a lower quality better, and if so I'll prefer lower quality over jitter in the recording.</p>
<p>In this episode I explain why and how I abstracted random number and choice generation into self-sustainable methods for objects.</p>
<ul>
<li>A superclass was needed so that all the classes of object in the game engine would have access to these random generation methods.</li>
<li>I preferred to use methods in this case so objects would be self-sufficient and wouldn't depend on extra modules imported at the top of my code.</li>
<li>The syntactic sugar achieved by using customized methods instead of i.e. random.randint(0, 99) makes the code easier to write and understand at a glance.</li>
<li>Nurse Jesus is a pun on the acronym RNG for Random Number Generator</li>
<li>Let me know if you get the reference at 2:00 ;-)</li>
</ul>
<p>I recorded this episode in parts using a program called <a href="https://bitbucket.org/thomasebell/urecord">Urecord</a> on my pocket computer (mobile phone).</p>
<p>I program using <a href="https://www.pygame.org/wiki/about">Pygame</a>, post on a <a href="https://loadaverage.org/ericxdu23">GNU Social account</a>, and maintain a personal website at <a href="https://www.noxbanners.net/">NoxBanners.NET</a>. I study programming techniques at <a href="https://refactoring.com/">Refactoring.com</a>, style at <a href="https://www.python.org/dev/peps/pep-0008/">Python.org</a>, and sometimes patterns at <a href="https://c2.com/ppr/">Portland Pattern Repository</a></p>
