Use the Arrow keys (or swipe on mobile) to slide all tiles in one direction. When two tiles with the same number collide, they merge into their sum. Each move spawns a new 2 or 4 in a random empty cell, so every action slightly tightens the board. The objective is to create the 2048 tile—or go beyond if you can keep the grid alive. Early on, focus on building a stable corner where your largest tile will live, then funnel everything toward it. Avoid swiping in ways that pull your largest tile out of the corner; recovering that shape costs many moves.
A safe beginner pattern is to choose a bottom corner, always prefer left/right moves that keep your highest value on that edge, and only use the opposite axis when you must combine lines. Whenever you feel the grid getting crowded, spend two or three moves compressing rows to rebuild space. Remember that spamming a single direction without planning will quickly produce isolated numbers that cannot merge.