Transfer game management when the manager exits #888
JorenC
started this conversation in
Small improvements
Replies: 2 comments
|
I can't remember how this is structured in the backend. I know that the person who created the game becomes the game manager, but I can't remember if this is actually modeled anywhere or simply inferred by the fact that the person created the game. If it is the latter, then we need to do some updates to the modeling so that the game manager is explicitly tracked separately from the person who created the game. Otherwise, we would be corrupting our data by transferring the game manager. I wonder if the term admin is useful instead of game manager. I feel like it is what people are used to with apps like WhatsApp, etc. |
0 replies
|
We could use admin and GM to differentiate between Dedicated/Playing GM
…On Thu, 25 Jun 2026, 02:22 John McDowell, ***@***.***> wrote:
I can't remember how this is structured in the backend. I know that the
person who created the game becomes the game manager, but I can't remember
if this is actually modeled anywhere or simply inferred by the fact that
the person created the game. If it is the latter, then we need to do some
updates to the modeling so that the game manager is explicitly tracked
separately from the person who created the game. Otherwise, we would be
corrupting our data by transferring the game manager.
I wonder if the term admin is useful instead of game manager. I feel like
it is what people are used to with apps like WhatsApp, etc.
—
Reply to this email directly, view it on GitHub
<#888?email_source=notifications&email_token=ABXURGIZJLKBKXMAHK23HRT5BRWFHA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCNZUGI3TCNZYUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-17427178>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABXURGNEJNNGNTVUTTLWWMD5BRWFHAVCNFSNUABIKJSXA33TNF2G64TZHM4TAMRZGA4DMMRQHNCGS43DOVZXG2LPNY5TCMBTGE2TQNBWUF3AE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Goal
When the game manager's membership effectively ends — civil disorder, elimination,
being kicked, or seeking replacement — automatically transfer the management role
to the most reliable remaining active player. Without this, games become
unmanageable: no one can pause, extend deadlines, or kick absent players when the
person with those powers is gone.
Definition of done
When the player holding the management role (
created_by, on games with noseparate
game_master) goes civil disorder, is eliminated, is kicked, or hastheir
seeking_replacementflag set, the game'screated_byis updated to thenon-eliminated, non-kicked, non-CD member with the highest reliability score. All
game members receive a notification naming the new manager. If no eligible member
exists, no transfer occurs and the role stays with the exiting player.
Context
game_masteris NULL. When a dedicated (non-player)game master is set, they cannot be a member and therefore cannot exit as a
player — no transfer is needed.
get_player_stats()inuser_profile/utils.py. The transfer logic can use the same scoring to rankcandidates.
change that causes the exit.
All reactions