User:Jachto/Kalkan Card Sorting

Kalkan Card Sorting is a solitaire card game played by 2-4 players. It was invented in Kalkan (Turkey) the 25th of June 2010 by Christofer Toernkvist.

All players starts with 10 cards ranging from Ace to 10, each player with separate colors. One player scramble its cards and put them in a row on the table. As the goal of the game is to have the cards sorted you now have to decide the sort direction, i.e. in what end of the row the Ace finally will end up at when the row is considered sorted.

The other players lay their cards in own rows besides the row of the first player so that each card value lay beside each other. Now the goal is to be the first to have its cards sorted, i.e. A, 2, 3, 4, 5, 6, 7, 8, 9, 10, by shifting them according to the rules.

The rules for shifting the cards
Decide which player that starts and then go clockwise. Each player only move their own cards.
 * 1) In the very first round each player has to perform a 0-shift move which means that you swop two cards that lay next to each other, i.e. there are zero (0) cards between the two cards that exchange place.
 * 2) In the coming rounds any player may either make a 0-shift move or save the move to the next round and then be able to do a 1-shift move, i.e. in a 1-shift move there is one card between the two cards being swopped.
 * 3) To be able to perform an X-shift move a player must save its move for X number of rounds and also an (X-1)-shift move must earlier been used by any player. For example if you want to perform a 3-shift move a 2-shift move must have been used earlier by any player and you have to save your moves for 3 rounds.
 * 4) The player that first get its cards sorted wins.

Extended alternative
You may use any number of cards per player as long as it is possible to order them through sorting.