Apropos of nothing, I think this is my favorite part of the source code to my game (name elided):
(Perhaps you can guess its function based on its visual structure, and what else you know about the game!)