Game development is one of the most interesting topics in software engineering. C++ is extensively used in game development because of its efficiency. However, since the language doesn't have GUI components, it's used on the backend. In this chapter, we will learn how to design a strategy game on the backend. We will incorporate almost everything that we've learned in previous chapters, including design patterns and multithreading.
The game that we will design is a strategy game called Readers and Disturbers. Here, the player creates units, known as readers, who are able to build libraries and other buildings, and soldiers, who are defending those buildings from the enemy.
In this chapter, we will cover the following topics:
- Introduction to game design
- Diving into the process of game design
- Using design patterns
- Designing...