You can only eat dots that are smaller than you. If you try to eat a dot that's bigger than you, you lose. If you hit the edge, you go back to the middle. The smaller dots will run away from you and the larger ones will try to eat you. The bigger you grow, the slower you move. Once you grow bigger than every dot, you win! (If you're really looking for a challenge, hold the j key when you click the green flag).