Update player object and example JSON

This commit is contained in:
Oliver-Akins 2020-09-29 16:33:01 -06:00
parent 76cf2e0686
commit 814c291443
2 changed files with 4 additions and 6 deletions

View file

@ -4,9 +4,8 @@
"game_code": "example", "game_code": "example",
"players": { "players": {
"Oliver": { "Oliver": {
"hitler": false, "position": null,
"president": false, "role": null,
"chancellor": false,
"host": true "host": true
} }
} }

5
src/types/db.d.ts vendored
View file

@ -1,7 +1,6 @@
interface player { interface player {
chancellor: boolean; position: "chancellor"|"president"|undefined;
president: boolean; role: "liberal"|"fascist"|"hitler";
hitler: boolean;
host: boolean; host: boolean;
} }