The goal is to move all the cards to the foundations (top right). The foundation cards must have the same suit and in ascending order.
You can put a card to the tableau cards (middle piles) if the tableau pile is empty or if the card is one point smaller than the top card and they have different colors.