Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
678777094f
|
@ -0,0 +1,15 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="GitToolBoxProjectSettings">
|
||||||
|
<option name="commitMessageIssueKeyValidationOverride">
|
||||||
|
<BoolValueOverride>
|
||||||
|
<option name="enabled" value="true" />
|
||||||
|
</BoolValueOverride>
|
||||||
|
</option>
|
||||||
|
<option name="commitMessageValidationConfigOverride">
|
||||||
|
<CommitMessageValidationOverride>
|
||||||
|
<option name="enabled" value="true" />
|
||||||
|
</CommitMessageValidationOverride>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
</project>
|
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="RunConfigurationProducerService">
|
||||||
|
<option name="ignoredProducers">
|
||||||
|
<set>
|
||||||
|
<option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" />
|
||||||
|
</set>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
</project>
|
140
README.md
140
README.md
|
@ -1,101 +1,95 @@
|
||||||
# Siedler of Catan
|
# Siedler of Catan
|
||||||
Siedler of Catan is a multi-player-roleplay game, that lets you build roads,
|
Siedler of catan is a multi-player-roleplay game, that lets you create settlements,
|
||||||
settlements and cites in the world of region of catan. You have to try to build
|
build roads and upgrade settlements to cites in the world of catan.
|
||||||
as many roads, settlements and cities as you can to get points. It is also a
|
You have to try to get the required amount of winpoints as fast as possible to come out as the winner.
|
||||||
strategic game where you have to choose wisely where to build your structures,
|
You collect winpoints by owning settlements and cities and even get an extra two for owning the longest road.
|
||||||
to be able to dominate your friends.
|
It is also a strategic game, so you will have to choose wisely where to place your Structures.
|
||||||
|
|
||||||
#Rules
|
#Rules
|
||||||
1. The minimum Player amount is 2 and the maximum Player amount is 4.
|
1. The minimum Player amount is 2 and the maximum Player amount is 4.
|
||||||
2. The minimum amount if win points is 3.
|
2. The minimum amount if win points is 3.
|
||||||
3. Each Player can build two roads and two settlements free of cost at the beginning of
|
3. Each Player can build two roads and two settlements free of cost at the beginning of
|
||||||
the game. After the placement, each player gets resources from the field around the second settlement.
|
the game. After placing the second settlement the players will each receive the resources from around the second settlement.
|
||||||
4. Every Player is being sorted into a faction. There cannot be two players in the
|
4. Every Player receives a faction. There cannot be two players in the
|
||||||
same faction.
|
same faction.
|
||||||
5. A player cannot build two settlements or cities right next one another.
|
5. A player cannot build two settlements or cities right next one another.
|
||||||
There have to be at least two roads between them.
|
There have to be at least two roads between them.
|
||||||
6. The cost for each structure is set and is nonnegotiable.
|
6. The cost for each structure is set and is nonnegotiable.
|
||||||
7. The player with the longest road (most roads connecting to one another), which is longer then 4
|
7. The player with the longest road (most roads connecting to one another), which is longer than 4
|
||||||
will be awarded two additional points.
|
will be awarded two additional winpoints.
|
||||||
8. If a player rolls a 7 on a dice throw, then the resources of every player that has
|
8. If a player rolls a 7 on a dice throw, all player that are holding more than 7 resources,
|
||||||
more than 7 resources will be halved. The resources that are being taken are chosen
|
will lose half of all their resources. The resources that are being taken are chosen randomly.
|
||||||
by random.
|
9. Winpoints get awarded as following: (Settlement: 1), (City: 2), (Longest Road: 2)
|
||||||
|
|
||||||
|
|
||||||
For a more detailed version of the rules please look here: https://www.catan.de/sites/prod/files/2021-06/CATAN_DasSpiel_Spielregel.pdf
|
For a more detailed version of the rules please look here: https://www.catan.de/sites/prod/files/2021-06/CATAN_DasSpiel_Spielregel.pdf
|
||||||
|
|
||||||
#Usermanual
|
#How To Play
|
||||||
First the program will ask how many players will be playing the game. The minimum
|
Setup Phase:
|
||||||
amount of players is 2 and the maximum amount of players is 4. Each player will
|
1. Enter the number of players that will be playing. (min 2, max 4)
|
||||||
be appointed to a faction. In the next step, the program ask for the number of win points. The first player who reaches this number of win points, will win the game. Now every player can build a settlement and a road
|
2. Enter the number of winpoints needed to win the game. (min 3)
|
||||||
after every player has built a settlement and road, they can build a second
|
3. Each player is given a faction it is your as soon as the console says it is your faction's turn.
|
||||||
settlement and road in reversed order. When the players build their second
|
4. Every Faction will receive the possibility to place a settlement with a corresponding road. (no resource cost)
|
||||||
settlement they then receive the resources surrounding that specific settlement.
|
5. Play order is reversed and every faction receives a second settlement and a road to place. (no resource cost)
|
||||||
Now that the setup is complete the next player can start with the first dice throw. After the players have rolled the dice the fields connected to the
|
Each faction will afterwards receive the resources surrounding the second settlement.
|
||||||
number that the player rolled with the dice will pay the associated resources to the players who have placed a settlement on a corner around of the field.
|
|
||||||
If the settlement is upgraded to a city, the player gets two of the appropriate resource.
|
|
||||||
|
|
||||||
To execute a action type in the associated number of the command, which is showed in the terminal.
|
After the setup phase the game phase will begin and continue until a winner emerges or the game gets quit via the quit command.
|
||||||
|
|
||||||
#1. Next Player
|
Navigate in the Game Phase:
|
||||||
``next player`` Ends a players turn
|
|
||||||
|
|
||||||
When the current player has done all the building and trading they wanted and now
|
>It is your turn as soon as the console shows it is your turn.
|
||||||
want to end their turn they can end it by entering the command next player. By entering
|
|
||||||
this command the player relinquishes their turn and the next player may start their
|
>To execute an action type in the associated number of the command which is showed in the terminal.
|
||||||
turn.
|
Same applies when asked about resources.
|
||||||
|
|
||||||
|
> Note that the dice throwing gets done automatically before each turn,
|
||||||
|
and you get informed in the console which number has been chosen.
|
||||||
|
The resources will also be added to the corresponding factions automatically.
|
||||||
|
|
||||||
|
>You can do as many Commands as you like per turn. If decide to finish your turn, you can do so using the next player command.
|
||||||
|
|
||||||
|
|
||||||
|
#Avaible Commands:
|
||||||
|
>``next player`` Ends a players turn and the next player turn will be started
|
||||||
|
|
||||||
|
|
||||||
|
>``build settlement`` Builds a settlement at the chosen location.
|
||||||
|
|
||||||
|
You will be prompted to give coordinates for the settlement. If the coordinates are valid
|
||||||
|
and comply with all siedler rules a settlement of your faction will be build on the map.
|
||||||
|
If the coordinates aren't a valid position you will be prompted to input them again.
|
||||||
|
If there is an illegal move for example not enough resources or invalid field an error will be shown.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#2. Build Settlement
|
>``build city`` Builds a city at the chosen location.
|
||||||
``build settlement`` Builds a settlement
|
|
||||||
|
|
||||||
When it's the players turn, they can build a new settlement by giving the command
|
You will be prompted to give the coordinates for an existing settlement. If the coordinates are valid
|
||||||
build settlement. With that they will be asked where they want to build said settlement
|
and comply with all siedler rules a city of your faction will be build on the map.
|
||||||
and to enter the coordinates, then the program will check if those coordinates are available or not. Then the
|
If the coordinates aren't a valid position you will be prompted to input them again.
|
||||||
program will subtract the resources needed to build a settlement. If the player has
|
If there is an illegal move for example not enough resources or invalid field an error will be shown.
|
||||||
insufficient resources the settlement will not be built and an error message will
|
|
||||||
appear. The turn of the current player will continue until the player ends it.
|
|
||||||
|
|
||||||
#3. Build City
|
>``build road`` Builds a road at chosen location.
|
||||||
``build city`` Builds a city
|
|
||||||
|
|
||||||
During the players turn they can build a city on the same coordinates that they
|
You will be prompted to give two coordinate sets, the first coordinate of the start of the road and the second one
|
||||||
have already built a settlement on. To do that they have to enter the command
|
of the end of the road.If the coordinates aren't a valid position you will be prompted to input them again.
|
||||||
build city. Then they have to add the coordinates that they want the city to be
|
If there is an illegal move for example not enough resources or invalid field an error will be shown.
|
||||||
built at. If the coordinates are available and the settlement at that coordinate is
|
|
||||||
of the same faction as the player then the city can be built there. The program
|
|
||||||
will then check if the player has sufficient resources to build the city, then
|
|
||||||
the program will subtract them of the players resources, otherwise the city won't
|
|
||||||
be build and the player continues their turn until they end it.
|
|
||||||
|
|
||||||
#4. Build Road
|
|
||||||
``build road`` Builds a road
|
|
||||||
|
|
||||||
During the current players turn, the player can build a new road by giving the
|
|
||||||
command build road. Then the player will be asked to give the coordinates of the start corner and the end corner for where
|
|
||||||
they want to build the new road after entering the coordinates the program will
|
|
||||||
check to see if they are valid coordinates and if they aren't occupied.
|
|
||||||
If the coordinates are checked and there was no error message, then the program
|
|
||||||
will check if the player has enough resources to build the road if they do the
|
|
||||||
program will then subtract the amount of resources of the player. If they do not
|
|
||||||
have enough resources the road will not be built and the player will receive
|
|
||||||
an error message. The player continues their turn until they end it.
|
|
||||||
|
|
||||||
#5. Trade with Bank
|
|
||||||
``trade with bank`` Let's the player trade resources with the bank
|
|
||||||
|
|
||||||
The current player can trade resources with the bank by entering the command
|
|
||||||
trade with bank. The player then can enter what and how many resources they want
|
|
||||||
then they have to enter what resources they will give in return. The trade course
|
|
||||||
for the resources is set to 1:4. That means the player will have to give 4 resources
|
|
||||||
trade for one of their choosing from the bank. If they do not have enough resources
|
|
||||||
to give the trade will not be completed and the player may continue their turn.
|
|
||||||
|
|
||||||
|
|
||||||
#6. Quit
|
|
||||||
``quit`` Let's a player quit the game
|
|
||||||
|
|
||||||
If a player wants to quit the game they can enter the command quit while it's their
|
>``trade with bank`` Starts the trade with the bank
|
||||||
|
|
||||||
|
You will first be prompted to input the resource that you offer.
|
||||||
|
Afterwards you will be prompted to input the resource that you would like to receive.
|
||||||
|
The Trade is in a 4 to 1 ratio, meaning that you give 4 resources to receive 1.
|
||||||
|
If you own the needed resources the trade will be completed.
|
||||||
|
If the bank doesn't have your desired resource, or you don't own enough resources of the one to give,
|
||||||
|
an error message will be shown.
|
||||||
|
|
||||||
|
|
||||||
|
>``quit`` Quits the game completely.
|
||||||
|
|
||||||
|
If a player wants to quit the game they can choose the command quit while it's their
|
||||||
turn to quit the game.
|
turn to quit the game.
|
||||||
|
|
||||||
#Coordinates
|
#Coordinates
|
||||||
|
|
Loading…
Reference in New Issue