The four foundations (light rectangles in the upper right of the game) are built up by suit from Ace to King, and the tableau piles can be built down by alternate colours, and partial or complete piles can be moved if they are built down by alternate colours also. Any empty piles can be filled with a King or a pile of cards with a King at the top.
Moving the cards in the game is done by selecting the source and the destination pile. Handling each card individually is not necessary because of the rules.
To move a card, first click on the source pile. A red border will appear around it, indicating that it's selected. After this, click on the destination pile. If there is a valid move possible, it will happen.