# TreeNewBee **Repository Path**: AdreamStudio/TreeNewBee ## Basic Information - **Project Name**: TreeNewBee - **Description**: 一个多人纸牌游戏 - **Primary Language**: JavaScript - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2019-02-05 - **Last Updated**: 2020-12-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 树新蜂纸牌游戏 (Tree New Bee) 一款考验心理战术的纸牌小游戏 A cards game that you use your tactics to win 游戏规则待写... Rules remain to be written ... ### 接口信息 #### 听: - ` accessible: 询问是否能进房间 data: { accessible: true } ` - ` room_info: 询问进入房间后,我的id和大家的名字 ` ``` data: { id: 1, others: [ { name: "小明", amount: 0, } ] } ``` - ` game_begins: 游戏开始了,返回我的牌,和其他人的牌数 ` ``` data: { cards: ["A1", "A2"], others: [ { name: "小明", amount: 13, }, ], } ``` - ` play_status: 我是不是可以出牌 data: { status: true } ` - ` play_result: 一次出牌的结果 ` ``` data: { message: "老狗出了2个A", id: 1(出牌者的), others: [ {(出牌者的), name: "小明", amounts: 10, }, ], } ``` - ` info: 显示通知类信息 data: { message: "查无此人不许出牌!" }` - ` room_info: 询问进入房间后,我的id和大家的名字 ` - ` challenge_result: 返回质疑结果 ` ``` {'type': 'chanllenge_result', 'data': {'result': '本轮:??:负,桌上牌全归他}} ``` #### 说: - ` enter_room: 进入房间 data: { name: "我的名字" } ` - ` ready: 准备好了 data: { id: 1 } ` - ` can_i_play: 我可不可以出牌 data { id: 1 } ` - ` play: 出牌 data: { id: 1, cards: ["A1"], statement: "1" } ` - ` challenge: 质疑 data: { id:1 } ` - ` pass: 过 data: { id:1 } `