Use the arrow keys or WASD to shift all of the tiles on the board in the same direction. Every time you move the tiles, a new tile will spawn randomly with a value of either two or four.