added conditions when pawn can move

This commit is contained in:
Wenszel
2021-04-29 22:17:49 +02:00
parent 063a0790c2
commit 13ddc71c2b
6 changed files with 60 additions and 18 deletions
+1
View File
@@ -15,6 +15,7 @@ var RoomSchema = new Schema({
}],
pawns: [{
color: String,
basePos: Number,
position: Number,
}],
});