Open rjmagley opened 5 months ago
This might dovetail nicely with allowing VF to handle, or at least recognize, other actions other than vote/unvote - vigilante kills, for example.
This might be something that can be jammed into the PlayerState model - fields for things like can_vote, can_vig, etc.
It might also be better off living elsewhere, maybe another many-to-many between Player and Game, although that seems to be complicated.
Also, this is making me realize that PlayerState isn't using the through
argument - I wonder if it's worth making it do so.
Cena's running a game with some interesting stuff going on - the idea of making a player's votes not count for a day and/or permanently came up. There are a few ways to do this, but it shouldn't be too difficult - basically, the game's mod just needs to be able to toggle the ability for a player to vote without the player being moved to dead/spectator/etc.