Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add optional time limit #28

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RasmusAntons
Copy link
Contributor

This adds another start parameter --time <total time in minutes> and a new command bingo time set <remaining time in minutes> to set a countdown that will end the game when it reaches 0.

For modded clients, the countdown is shown below the board, for vanilla clients it's shown as a boss bar.

image
image

I don't know if the command syntax is ideal, i thought about having a more elaborate command like --time <value> <time unit>.

I had to convert the ClientGame record into a class which might be a bit messy.

closes #27

@Gaming32 Gaming32 self-requested a review November 1, 2024 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a time limit option
1 participant