Tag: software design
-
Coding tutorial: Chain-of-responsibility pattern

A peasant, knight and king walk into a software design tutorial, and are here to teach you the chain-of-responsibility pattern. Learn how to create a chain of handlers which can handle different request types.
-
Object pool pattern console application tutorial

Learn how to code the object pool pattern by managing a pool of books in a library. Borrow and return books to the pool in this console application tutorial using C++ and Visual Studio.
-
Coding tutorial: Object pool pattern

Learn how to code the object pool pattern by pre-allocating memory and reusing objects. Which can greatly improve performance when reusing short lived objects like bullets and particles.
-
Observer Pattern Graphical Demo

This tutorial shows a graphical demo of the observer pattern. The circle, square and mosaic background are all observers of the button press. Whilst the owner of the button is the subject.
-
Coding tutorial: Observer pattern

In this tutorial you will learn how code the observer pattern using a zookeeper and animals. The zookeeper represents the subject of the observer pattern. Whilst the animals represent the observers.
-
Three simple ways to code finite state machines

This tutorial will show you three simple ways to code finite state machines using the C++ programming language in Visual Studio. Learn how to use an enum and a switch case. Then learn how to use inheritance and polymorphism. Finally learn how to use function pointers.
