In this post, I will use the observer pattern and pub/sub pattern to build a game user display to show user’s information.
Posts from August 2020
Strategy Pattern and Factory Pattern with Dota2 Heroes
In this post, I will introduce the strategy pattern and factory patterns using Dota2 Heroes as examples. Dota2 is a multiplayer online battle arena (MOBA) video game, a sequel to Defense of the Ancients (DotA), played in matches between two teams of 5 players. Each player independently controls a powerful character, known as a “hero”, with unique abilities and roles.