Most of games need to display objects for the background or as active elements of the game. There are 2 displaying methods:
Object coordinates are known, and they will be disposed exactly where desired. There is no real problem for that method; you know your object and its coordinates.
Objects are arranged in a grid, and they will be disposed as tiles of the board. That method is more interesting, and we will take a look to it.
This tutorial will be quite simple, but this is the base of your construction board engine for your 2D games.
Throw 3 examples, we will see: