Eat all the dots to clear the level. Power pellets let you eat ghosts. You have 3 lives — clear all 1000 levels to win!