Discover Python and Patterns (19): Mouse – Design Patterns and Video Games
Rotate unit weapon and use mouse to target cells. Implementation with Python and Pygame. (more…)
Read more »
A command pattern that I’ve used in multiple projects is an event-loop sidecar. The sidecar runs on it’s own thread and
does asynchronous IO; thereby increasing the responsiveness of the system which could be doing IO/CPU bound work. The
application (runn… Read more