magefree / magefree/mage

Game: add votes to kick players from game

Open
#6,329 3 comments 0 reactions 0 assignees View on GitHub
enhancement GUI
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

Vote features:
1. [ ] All votes goes by chat commands in started game;
2. [ ] Only table owner can start vote;
3. [ ] Only multiplayer games only (3+ players) allows to start vote;
4. [ ] User can change vote answer before end;
5. [ ] Multiple vote types must be allows in the feature (kick from game, skip turn, etc);
6. [ ] Syntax like `/vote param1 param2 param3`;
7. [ ] Params can be passed with quotation (`/vote new kick "user name")`;
8. [ ] Inform about vote commands in startup message

Kick vote features:
1. [ ] Support usernames with spaces by quotation;
2. [ ] Vote can ends after 2/3 at one player or all players done;
3. [ ] Player with more scores must be kicked from game;
4. [ ] ???Kick in game = match quite or game quite???;
5. [ ] Not responded players must be ignored from vote (if player quit or disconnected -- other players can answer to kick him);

Chat commands example:
* `/vote` - show current vote status;
* `/vote start kick username_to_kick` - start new vote (all players will see message in chat about started vote and results);
* `/vote stop` -- stop current vote without results;
* `/vote yes` -- answer for current vote;

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.