continued readme

This commit is contained in:
Leonardo Brandenberger 2022-03-23 21:32:15 +01:00
parent 082d1414f5
commit dc704cce4c
1 changed files with 13 additions and 3 deletions

View File

@ -14,9 +14,9 @@ You will then be prompted to select a track file from the selection by entering
#### For each car that is taking part in the race a strategy has to be chosen there are the following options: #### For each car that is taking part in the race a strategy has to be chosen there are the following options:
+ Do not move Strategy + Do not move Strategy
> This Strategy sets the car stationary and it won't make any moves during the game staying at the startpoint indefinitely. > This Strategy sets the car stationary, and it won't make any moves during the game staying at the startpoint indefinitely.
+ User Move Strategy + User Move Strategy
> The player is prompted for each move to make a choice the different choices you are able to take are as followed: > The player is prompted for each move to make a choice the different choices you are able to take are as following:
> > 1=down-left <br> 2=down<br> 3=down-right<br> 4=left<br> 5=no acceleration<br> 6=right <br> 7=up-left<br> 8=up<br> 9=up-right<br> it is also possible to leave the game when it is your turn by entering 10 > > 1=down-left <br> 2=down<br> 3=down-right<br> 4=left<br> 5=no acceleration<br> 6=right <br> 7=up-left<br> 8=up<br> 9=up-right<br> it is also possible to leave the game when it is your turn by entering 10
+ Move List Strategy + Move List Strategy
> For this strategy a predefined list of moves have to be given, the list may contain all allowed moves like mentioned in User Move Strategy > For this strategy a predefined list of moves have to be given, the list may contain all allowed moves like mentioned in User Move Strategy
@ -25,5 +25,15 @@ You will then be prompted to select a track file from the selection by entering
+ Path Finder Strategy + Path Finder Strategy
> The pathfinder Strategy Calculates a route itself and follows it direction fully automatically. > The pathfinder Strategy Calculates a route itself and follows it direction fully automatically.
##Determining a winner The shown Track can be interpreted as following:<br>
'#' is a Wall<br>
'>,<,^,v' are finish line components<br>
And every other character represents a car.
### Determining a winner
The winner gets determined automatically. <br> The car that first passes the finish line (doing a complete round) is given the win, if all car except one crash the surviving car will be crowned as the winner.<br>The game will inform you of this, and you will have the option to quit the game or play another match. The winner gets determined automatically. <br> The car that first passes the finish line (doing a complete round) is given the win, if all car except one crash the surviving car will be crowned as the winner.<br>The game will inform you of this, and you will have the option to quit the game or play another match.
## Branching Model
We choose a simple branching model where all starting features got a branch and where merged into the main branch, some branches who needed unfinished code to be completed where taken from the game branch but merged into the main at the end as well.<br> Since there was just one end product we abstained from using a development branch and merges where done straight into main.
## Class Diagramm