Orbiit / elimination

Aka assassination
https://orbiit.github.io/elimination/
MIT License
2 stars 0 forks source link

Insert users into started games #44

Open SheepTester opened 4 years ago

SheepTester commented 4 years ago

At least in the API end I suppose

SheepTester commented 4 years ago

Also to revive people somehow...?

SheepTester commented 4 years ago

To add players to games, either

After being added, their join date and username are added to a queue. When someone dies or a shuffle is performed, they can be pulled from the queue as needed.

Then to resurrect people, we need undo the kill by whoever just killed them. This is rather messy, but somewhat doable, especially since the individual stores whoever killed them, so we can decrement their kill count. I suppose we can just take their username and join time and add them to the queue.

However, this requires some more UI.

Also, might want to consider having the option to mark a kick as a kill, but this will result in code duplication.

SheepTester commented 4 years ago

Maybe we should focus on just resurrecting players.

SheepTester commented 4 years ago

There is no need for an eliminated person to be kicked, so I think the [Kick] button should be replaced with [Resurrect], which when clicked, it will without confirmation: