My Game

This is a template project to generate playing cards. Code originally extracted from DeckHand, Download code

My Game is a game for 2 to 4 players. There are cards in the game with unique designs.

Set up My Game Rules 1/2

Contains 72 cards and this booklet. Suited for 2 to 4 players.

  1. Gather about 20 Treasure tokens into a bank. We recommend using beans. Give a Treasure to each player.
  2. Each player receives a deck of 2 Fist Fight and 2 Celebrate. Remove all remaining Fist Fight and Celebrate from the game.
  3. Shuffle and take 11 cards per player to form the supply deck. The rest are the refresh deck. Put 6 cards from the refresh deck face up on the table as the supply. Always maintain 6 face-up cards and replace them from the supply deck.

Unfolding of the game

A random player start, then each player in turn:

  1. Apply effects that happen at the beginning of turn .
  2. Discard your hand and draw 3 cards.
  3. You have 2 of any actions during your turn which are:
    1. Playing a card: Apply its effects then put it in your discard.
    2. Buying a card from the supply: It goes in your discard.
  4. When your deck is empty immediately shuffle your discard into a new deck. This takes precedence over any other effect.

1. Supply deck  2. Refresh deck
3. Supply   4. Hand + Treasures
5. Your deck   6. Your discard

General rules My Game Rules 2/2

  1. Treasures are the money that allow you to buy cards from the supply. Card cost is the chest icon at the bottom right .
  2. +1 Card: Draw a card from your deck immediately.
  3. +1 Action: One extra action of any kind during your turn.
  4. +1 Treasure: Take a Treasure from the bank immediately.
  5. +1 Buy: You may buy a card without using an action this turn.
  6. +1 Supply refresh: You may put one supply at the bottom of the refresh deck this turn. Replace it with a refresh deck card.
  7. +1 Discard: Discard a card immediately.
  8. Effects on cards have to be applied in order.
  9. Cards have 3 possible types: Attack, Structure, Adventure.
  10. Text that says "if you have" checks cards currently in your hand.
  11. Cards being played are neither in your hand nor your discard.
  12. You can only Discard cards in your hand.
  13. Your discard is face up and can be inspected by anybody.
  14. You cannot own less than 4 cards.
  15. When a deck/discard/hand is too small for an effect, you can still apply the effect for any amount that is not 0.

End of the game

The game ends immediately when the supply deck is empty. Count the number of hooks in each deck . The player with the most hooks wins the game. If there is equality, the player with the most Treasures wins, then the player that ended the game.

Information and update: https://github.com/batiste/card-game-template