added map and unload listener

This commit is contained in:
Wenszel
2021-03-20 18:52:20 +01:00
parent 0c5181ea62
commit e59652828f
11 changed files with 151 additions and 17 deletions
+2 -7
View File
@@ -26,14 +26,9 @@ router.post('/ready', function (req, res){
});
});
//adding users to exisiting room or creating new room if full
router.post('/add', function (req, res) {
});
//deleting user in case he left before game started
router.delete('/delete/{id}', function(req,res){
router.post('/exit', function(req,res){
console.log("wyszedł XD")
});
module.exports = router;