dots:使用 Express、SocketIO、Cookie 和 MongoDB 实现的游戏“The dots”-源码

上传者: 42117224 | 上传时间: 2021-07-05 18:05:15 | 文件大小: 177KB | 文件类型: ZIP
点 使用 Express、SocketIO、Cookie 和 MongoDB 实现的游戏“The dots”。 游戏的架构使用SocketIO通道来调用远程函数,完全是消息驱动的。 要运行:克隆存储库,使用“(sudo) npm install”,从“ ”开始或将 APP_HOST 和 APP_PORT 作为命令行参数传递

文件下载

资源详情

[{"title":"( 39 个子文件 177KB ) dots:使用 Express、SocketIO、Cookie 和 MongoDB 实现的游戏“The dots”-源码","children":[{"title":"dots-master","children":[{"title":".gitignore <span style='color:#111;'> 129B </span>","children":null,"spread":false},{"title":"app.js <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 725B </span>","children":null,"spread":false},{"title":"public","children":[{"title":"templates","children":[{"title":"dashboard.ms <span style='color:#111;'> 654B </span>","children":null,"spread":false},{"title":"main.ms <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"declineGame.ms <span style='color:#111;'> 82B </span>","children":null,"spread":false},{"title":"board.ms <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false}],"spread":true},{"title":"javascripts","children":[{"title":"app.js <span style='color:#111;'> 15.90KB </span>","children":null,"spread":false},{"title":"mustache.js <span style='color:#111;'> 15.24KB </span>","children":null,"spread":false},{"title":"bootstrap.js <span style='color:#111;'> 57.14KB </span>","children":null,"spread":false},{"title":"jquery.js <span style='color:#111;'> 91.44KB </span>","children":null,"spread":false},{"title":"api.js <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false},{"title":"templateHandler.js <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"bootstrap.min.js <span style='color:#111;'> 30.86KB </span>","children":null,"spread":false}],"spread":true},{"title":"css","children":[{"title":"bootstrap.css <span style='color:#111;'> 121.31KB </span>","children":null,"spread":false},{"title":"bootstrap-responsive.css <span style='color:#111;'> 21.24KB </span>","children":null,"spread":false},{"title":"bootstrap.min.css <span style='color:#111;'> 100.89KB </span>","children":null,"spread":false},{"title":"bootstrap-responsive.min.css <span style='color:#111;'> 16.17KB </span>","children":null,"spread":false},{"title":"app.css <span style='color:#111;'> 452B </span>","children":null,"spread":false}],"spread":true},{"title":"img","children":[{"title":"glyphicons-halflings.png <span style='color:#111;'> 12.50KB </span>","children":null,"spread":false},{"title":"board_background_img.pxm <span style='color:#111;'> 16.28KB </span>","children":null,"spread":false},{"title":"cross_1.png <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"board_background_img.png <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"board_background_img_new.png <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"circle.png <span style='color:#111;'> 13.73KB </span>","children":null,"spread":false},{"title":"circle_1.png <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false},{"title":"cross.png <span style='color:#111;'> 12.60KB </span>","children":null,"spread":false},{"title":"glyphicons-halflings-white.png <span style='color:#111;'> 8.57KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 351B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"models","children":[{"title":"gamer.js <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"game.js <span style='color:#111;'> 2.83KB </span>","children":null,"spread":false},{"title":"user.js <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false}],"spread":true},{"title":"views","children":[{"title":"index.html <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"controllers","children":[{"title":"mainController.js <span style='color:#111;'> 276B </span>","children":null,"spread":false}],"spread":true},{"title":"handlers","children":[{"title":"gamerHandler.js <span style='color:#111;'> 14.03KB </span>","children":null,"spread":false},{"title":"chatHandler.js <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"shared.js <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"loginHandler.js <span style='color:#111;'> 4.58KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"env.js <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明