1
0
Fork
You've already forked Nobles
0
No description
  • Lua 100%
2023年05月13日 19:38:16 -07:00
main.lua Added main.lua 2023年05月13日 19:38:16 -07:00
README.md first commit 2023年05月13日 19:37:41 -07:00

Nobles

Video Demo: TODO

Description:

A card game that places a high priority on the high cards.

For 2 to 4 players

Card Game Gameplay:

The program is a simulation of the following card game:

Setup:

  • Assign each player a suit.
  • Take a normal set of cards.
  • For each suit unused, remove the cards.
  • Give each player their suit's king.
  • Shuffle the deck.
  • Each player draws 2 cards.
  • Create a board, 3-6 by 3-6 card spaces.

Turns:

  • Whoever has the spades starts.
  • In clockwise order, players can either
    • Play a card in their hand on any empty space, then draw a card, or
    • Choose a card on the board. If it is a card of their suit, they can then attack any space next to the card orthogonally.

Attacking:

Even if the target card is of your suit, attack still occurs.

When the attack occurs, both cards are shown. If either card is a king or a queen, then the player who had the king or queen loses. Otherwise, the card that is higher is hidden again and left on the same space, and the lower card is shuffled back into the deck.

Resources used:

LÖVE-2d using Lua 5.4

Used because of my familiarity with Lua and the verstility of Love.