rogersanick / SettlersOfCordan

Other
11 stars 4 forks source link

Special Card - Longest Road Claim / Transfer to Another Player [Medium] #15

Open rogersanick opened 5 years ago

rogersanick commented 5 years ago

In Settlers of Catan, the first player to achieve the longest road (with 5+ roads) is able to claim a token representing a certain number of victory points. We need to enable them to do so in Settlers of CorDan as well!

This issue depends on: N/A

To complete this task we need to:

// States Create a Special Card state to represent the longest road card

// Flows

// Contracts

// BONUS POINTS

abellagonzalo commented 5 years ago

Requirements

What is the Longest Road The Longest Road is a continuous road connecting two intersections, which consists of at least 5 individual road pieces and is not interrupted by game pieces belonging to other players. It has more individual road pieces than any other connecting road of this type.

Roads can be circular On Catan the circle is a hexagon. When counting the individual road pieces, it doesn’t matter whether or not they are built in a more or less straight line - what matters is that they establish an uninterrupted connection between two intersections. This is why 6 road pieces connected in a hexagonal fashion still count as 6 road pieces.

Opponent's settlements interrupt Longest Roads By building a settlement on an intersection of the Longest Road. Needless to say that you must observe all building rules when doing this. Own settlements do not interrupt Longest Road.

Same length roads do not receive the card If a player builds a continuous road that has the same length as the road belonging to the owner of the Longest Road card, the card stays with its current owner.

Longest road is interrupted