lint, add spec, add info button to added roles

This commit is contained in:
AlecM33
2022-06-19 16:24:47 -04:00
parent 99a5455713
commit c86e106060
6 changed files with 64 additions and 44 deletions

View File

@@ -345,19 +345,6 @@ function renderLobbyPerson (name, userType) {
return el;
}
function sortPeopleByStatus (people) {
people.sort((a, b) => {
if (a.out !== b.out) {
return a.out ? 1 : -1;
} else {
if (a.revealed !== b.revealed) {
return a.revealed ? -1 : 1;
}
return a.name >= b.name ? 1 : -1;
}
});
}
function getGameSize (cards) {
let quantity = 0;
for (const card of cards) {