Discover Python and Patterns (12): Command – Design Patterns and Video Games

The implementation of the Game Loop pattern in the previous post is not good: I propose to use the Command pattern to get a better one. This pattern allows separating input handling and game updating. This post is part of … Continue reading →… Read more

Similar

Hardest logic puzzle ever (in Python)

The Labyrinth is a children’s movie. The main character is 16 years old, and solving a logic puzzle that will literally decide if she lives or dies. In fiction, characters are faced with realistic challenges: ones they can solve, even if they have to make... (more…)

Read more »