Chapter 16
Introduction

In the previous chapters you have seen everything you need to create a simple 2D game. But how do you put a large project together in an orderly way? There is really no simple answer to that. You learn by practice, and not everyone agrees on the best method. Still, there are some rules that may make it easier for sure. And when you work in a group, the lead programmer will usually impose some rules that everyone has to follow. These are not necessarily good or bad rules, but they work as long as everyone follows them.

In this part of the course you will create a clone of the famous Tetris game. You will learn to develop a project step by step without losing sight of the whole.

Note
Tetris consists of blocks which in turn consist of squares. When we talk about blocks in this course, we mean the entire block, not the squares it is made of. When a square is mentioned, we’re discussing the squares that make up a block.