Hey, I'm Robbert 👋

#design patterns

3 posts found

Implementing a simple AI for games in Godot.

Game enemies acting weird? Probably too many if-statements crammed together. Finite State Machines break behavior into clear states - now they actually know what they're doing.

10 Feb 2021•3 min read

Implementing fizz buzz with the chain of responsibility design pattern.

Solving fizz buzz without a mess of if-statements. The Chain of Responsibility pattern lets you chain handlers together so new ones slot in painlessly.

23 Jul 2020•5 min read

Generating XML files by using the strategy pattern.

Had to send different XML files to a remote server and ended up with copy-paste classes everywhere. The Strategy pattern lets you swap out the "how" without touching the "what".

9 Jul 2020•4 min read
Back to all posts
githublinkedinstack

© 2026 Robbert