DonZiglioni / johnc_1_test

0 stars 0 forks source link

Define Game Rule and Objective #2

Open DonZiglioni opened 5 months ago

DonZiglioni commented 5 months ago

The game starts by dealing out all 52 cards in the deck in columns of 8, in a triangular shape as described below:

  1. Deal 8 cards, face-down, to create the bottom of each card column, and then deal another 8 cards face down, creating 8 piles of 2 faced-down cards.

  2. The rest of the cards will be dealt face-up and placed on top of the 8 columns

  3. Starting at the far left column (column 0), begin dealing the next 8 cards face-up on the piles, and once you hit the far right (column 7) you have dealt a row of cards. On this first row, the far left column is currently 0, however, each time you deal a row of face-up cards you will increase the "far-left" column value by 1, thus skipping over 1 or more of the left-most columns each time a new row is dealt.

  4. For the second row of face-up cards, the new "left" value will be 1, meaning you will not deal any more cards onto the first column, begin dealing the row from the 2nd column until you reach the end

  5. The next row, you will start at the 3rd column and finish the row. This process will repeat by a factor of one until you reach the final card, being placed on the far-right column of the game

  6. If dealt correctly, you should have 8 piles of cards and the total number of cards in each column will increase by 1, thus creating a triangular pattern. (3,4,5,6,7,8,9,10)

Game Rules

The goal is to match the suit of each card to the same suit, and create 4 full columns of cards all in the same suits. The cards must be in descending order from King to Ace, with Ace being considered as a low card (value of 1) in this game. When spread from top to bottom, it will show the top card(bottom of stack) as the King, followed by the Queen, Jack, 10, 9, 8,7,6,5,4,3,2, and Ace will be on the top of the stack.

At the beginning of the game, you will have 8 exposed cards that are face up. These cards are open, and you are allowed to place the card that has the same suit, and a value of one less than the open card. For example, if there is an 8 of hearts exposed, you may only place the 7 of hearts on top of it. If the exposed card is a 2 of spades, you can place the Ace of spades on top of it.

If the open/exposed card is an Ace, there is nothing lower than that, and no cards can be placed on top of an Ace.

All face up cards can be moved and you are allowed to pickup any face-up card you'd like and place it on top of an open card if the move is valid. However, when picking up a card from the middle of a column, you must also pick up the cards that are layered on top and spread downwards from the card you are removing.

You can then place this pile in the exact same order as it was, and place the correct sequential card of the same suit onto the exposed card, and combine the 2 "half-columns" together.

As you continue to make moves, the sequentially correct portions of each suit should start to grow larger until eventually you are left with 4 columns of cards, one for each suit. (Clubs, Diamonds, Hearts, Spades)

Face Down Cards

The face-down cards may be flipped over, individually, once the face-down card is exposed. Go ahead and flip over the top face-down card and place it back on the same pile. This card can now be played on or moved around just as all other face-up cards.

In order to win the game, you will need to eventually have every card flipped face-up in order to complete the final 4 columns

Kings and Blank Spaces

Once you have flipped over both face-down cards from any singular column, and if that card can be moved, it will leave a blank column space.

To move a King around in the game, you can place them on blank spaces.

Only Kings can be placed on blank spaces.

There is a maximum of 8 column spaces, so if none of them are empty, your Kings cannot be moved anywhere until there is an open column space for them to be moved.

Winning!

The game has been won when all cards have been placed into 4 piles, each containing cards of the same suit, in sequential order from King (high) to Ace (low)

Good Luck and Have Fun!