Learn factory design patterns with a game example | Hacker News Reader