The game is played on a 4×4 grid, with numbered tiles that slide smoothly when a player moves them using the four arrow keys. If two tiles of the same number collide while moving, they will merge into a tile with the total value of the sum of two tiles that collided. When a 2048 tile is created, the player wins.
Level: (Intermediate/ Advanced)
Teaches: (Two dimensional arrays, nested loops)
This can be an interesting assignment perhaps after the AP exam. I started working on this assignment before my comment to Kevin Rowan about his impressive collection of assignments. Please feel free to comment, suggest and modify.