mirror of
https://github.com/AlecM33/Werewolf.git
synced 2026-01-02 01:03:24 +01:00
some game joining logic
This commit is contained in:
11
server/model/Game.js
Normal file
11
server/model/Game.js
Normal file
@@ -0,0 +1,11 @@
|
||||
class Game {
|
||||
constructor(status, people, deck, hasTimer, timerParams=null) {
|
||||
this.status = status;
|
||||
this.people = people;
|
||||
this.deck = deck;
|
||||
this.hasTimer = hasTimer;
|
||||
this.timerParams = timerParams;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Game;
|
||||
Reference in New Issue
Block a user