Add rules

This commit is contained in:
Matt Soucy 2022-05-20 22:37:22 -04:00
parent 2ed55553df
commit 0a2b34827b
Signed by: msoucy
GPG Key ID: 7996734FB2370F0C
3 changed files with 46 additions and 3 deletions

44
2022/05-gencant/Rules.md Normal file
View File

@ -0,0 +1,44 @@
# Hexeptional Hexpertise
You are all mages competing to put on the flashiest magic display for the festival!
Arrange the elements to put on a good show.
Take the three border cards and deal each one faceup.
Place the top elements in the fixed hexes on the corners in clockwise order from the top.
Place the bottom elements in the fixed hexes on the corners in clockwise order from the bottom.
The center hex represents you, the mage.
It is neutral (not aligned with any element).
Each turn, flip the top card of the mana deck.
It shows two elements.
Place the elements in a hex connected to the mage by other filled hexes, in either order.
If either of the following elements are touching, cross them out.
They have nullified each other.
- Light and Dark
- Fire and Water
- Earth and Air
When all 15 mana cards have been flipped, the festival is over.
See how the audience liked your display with the following rules.
Do not count nullified elements.
- Light = 3 points if not touching other Light
- Light shines brightest on its own
- Dark = 3 points for each hex in the cluster after the first
- Darkness tries to swallow everything
- Fire = 2 points for each adjacent Fire
- Fire grows and burns
- Water = 3 times length for straight line of 3 or more
- Water flows like a river
- Earth = 4 points for each cluster of 3
- Earth is solid and clustered together
- Air = 3 points for each time the line curves
- Air is flowing
- Harmonic Convergence = flower or line of all 6 elements = 10 points
- Perfect convergence of elements puts on a flashy show
The highest scoring display wins the festival!
In case of a tie, use the scores for the individual elements, in clockwise order starting from the top.

View File

@ -4,7 +4,7 @@ import itertools
import random import random
print("Setup") print("Setup")
setup_cards = [['Light','Dark'], ['Fire', 'Water'], ['Wind', 'Earth']] setup_cards = [['Light','Dark'], ['Fire', 'Water'], ['Air', 'Earth']]
random.shuffle(setup_cards) random.shuffle(setup_cards)
for setup_card in setup_cards: for setup_card in setup_cards:
@ -13,9 +13,8 @@ for setup_card in setup_cards:
input("Press enter to start the game") input("Press enter to start the game")
print("Gameplay")
cards = list(itertools.combinations(itertools.chain(*setup_cards), 2)) cards = list(itertools.combinations(itertools.chain(*setup_cards), 2))
random.shuffle(cards) random.shuffle(cards)
for i, card in enumerate(cards): for i, card in enumerate(cards):
input(f"{i}: {card[0]} {card[1]}") input(f"Card {i+1}: {card[0]} {card[1]}")

BIN
2022/05-gencant/hexgrid.pdn Normal file

Binary file not shown.