FactoryRally / game-controller

The driving force for FactoryRally. This project contains the game logic, modding support as well as the rest API
MIT License
0 stars 1 forks source link

[Feature] Map voting system #12

Open ghost opened 4 years ago

ghost commented 4 years ago

Map voting system

What There should be a possibility to choose a map before the game starts.

Why Not only the host should have the right to choose which map gets played. With a voting system it would be fair which map gets selected.

How When the host creates a map and presses the start button, the vote menu opens. Each player would vote for one of the maps or select custom.

The voting can end due two reasons:

Custom: If the "map" custom got selected, the host chooses which custom map should be played. The selection "Custom Map" should only be available if the host has a custom map.

nbrugger-tgm commented 4 years ago

Invalid

The English used to describe the feature is unintelligible. Please rewrite the issue in a way that everyone in the team is able to read it. Please validate the grammar of this and further issues before posting it.

nbrugger-tgm commented 3 years ago

Base complete

While the voting itself is not implemented, the base to do so exists. in the class RobotPickingPhase this behaviour could be implemented.

Demand to @kdanzer-tgm

Provide an idea for a system to deal with the "locking in requests" Specify OPERATION /PATH (param,eters) -> Description of the stuff that happens Example : PUT /game/{game_id}/player/{player_id}/robots (RobotType) -> Adds an unconfigured Robot with the regarding type for the requesting player