added joining to room

This commit is contained in:
Wenszel
2023-11-28 18:51:50 +01:00
parent a1b39a3a45
commit f318afe071
16 changed files with 356 additions and 160 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ const PlayerSchema = require('./player');
const RoomSchema = new mongoose.Schema({
name: String,
private: { type: Boolean, default: true },
private: { type: Boolean, default: false },
password: String,
createDate: { type: Date, default: Date.now },
started: { type: Boolean, default: false },