Update player object and example JSON
This commit is contained in:
parent
76cf2e0686
commit
814c291443
2 changed files with 4 additions and 6 deletions
|
|
@ -4,9 +4,8 @@
|
|||
"game_code": "example",
|
||||
"players": {
|
||||
"Oliver": {
|
||||
"hitler": false,
|
||||
"president": false,
|
||||
"chancellor": false,
|
||||
"position": null,
|
||||
"role": null,
|
||||
"host": true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
5
src/types/db.d.ts
vendored
5
src/types/db.d.ts
vendored
|
|
@ -1,7 +1,6 @@
|
|||
interface player {
|
||||
chancellor: boolean;
|
||||
president: boolean;
|
||||
hitler: boolean;
|
||||
position: "chancellor"|"president"|undefined;
|
||||
role: "liberal"|"fascist"|"hitler";
|
||||
host: boolean;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue