the-game-of-hog

上传者: 42176612 | 上传时间: 2023-04-13 14:03:35 | 文件大小: 1.62MB | 文件类型: ZIP
猪 为骰子游戏Hog开发模拟器和多种策略 规则:在“生猪”中,两名玩家交替轮流尝试成为第一个以至少100点总分结束回合的玩家。 在每个回合中,当前玩家选择掷骰子的数量,最高为10。该玩家在该回合中的得分是骰子结果的总和。 但是,掷骰子过多的玩家可能会面临以下风险: 猪出。 如果任何骰子结果为1,则当前玩家的回合得分为1。示例在正常的《猪》游戏中,这些都是规则。 为了给游戏增添趣味,我们将包括一些特殊规则: 免费培根。 选择掷零骰子的玩家得分等于10减去对手得分的一位数字的值,再加上对手得分的十位数的值。 例子 野猪。 如果掷出的骰子数与上一回合得分的分数相差2倍(绝对差),则该回合可获得3分的额外分数。 将第一回合之前的回合得分为0分。 在计算上一回合计分的分数时,不要考虑任何先前的野猪奖金或猪交换(下一条规则)。 例子 猪交换。 在将回合点添加到当前玩家的分数之后,如果当前玩家分数的

文件下载

资源详情

[{"title":"( 41 个子文件 1.62MB ) the-game-of-hog","children":[{"title":"the-game-of-hog-main","children":[{"title":"hog","children":[{"title":"calc.py <span style='color:#111;'> 8.75KB </span>","children":null,"spread":false},{"title":"ok <span style='color:#111;'> 2.28MB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"dice.cpython-38.pyc <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"hog_gui.cpython-38.pyc <span style='color:#111;'> 4.63KB </span>","children":null,"spread":false},{"title":"ucb.cpython-38.pyc <span style='color:#111;'> 3.41KB </span>","children":null,"spread":false},{"title":"hog.cpython-38.pyc <span style='color:#111;'> 11.42KB </span>","children":null,"spread":false}],"spread":true},{"title":"tests","children":[{"title":"11.py <span style='color:#111;'> 17.84KB </span>","children":null,"spread":false},{"title":"05a.py <span style='color:#111;'> 5.44KB </span>","children":null,"spread":false},{"title":"04.py <span style='color:#111;'> 16.85KB </span>","children":null,"spread":false},{"title":"10.py <span style='color:#111;'> 17.83KB </span>","children":null,"spread":false},{"title":"00.py <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"play_utils.py <span style='color:#111;'> 2.10KB </span>","children":null,"spread":false},{"title":"01.py <span style='color:#111;'> 15.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"gui_files","children":[{"title":"common_server.py <span style='color:#111;'> 4.78KB </span>","children":null,"spread":false},{"title":"precache-manifest.0a285c212d1dff6e2316472d5d7d8ad9.js <span style='color:#111;'> 748B </span>","children":null,"spread":false},{"title":"favicon.gif <span style='color:#111;'> 6.60KB </span>","children":null,"spread":false},{"title":"precache-manifest.7709aa0db9e9616152f8d3fa21e24d5a.js <span style='color:#111;'> 748B </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"common_server.cpython-36.pyc <span style='color:#111;'> 5.59KB </span>","children":null,"spread":false},{"title":"common_server.cpython-38.pyc <span style='color:#111;'> 5.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"index.html <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"static","children":[{"title":"css","children":[{"title":"main.dfa42325.chunk.css <span style='color:#111;'> 368B </span>","children":null,"spread":false},{"title":"2.17e5ed98.chunk.css <span style='color:#111;'> 143.23KB </span>","children":null,"spread":false}],"spread":false},{"title":"js","children":[{"title":"2.14215b64.chunk.js.LICENSE <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"2.36722391.chunk.js <span style='color:#111;'> 180.72KB </span>","children":null,"spread":false},{"title":"runtime-main.71e877b4.js <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"main.4f75ff99.chunk.js <span style='color:#111;'> 77.33KB </span>","children":null,"spread":false},{"title":"2.14215b64.chunk.js <span style='color:#111;'> 174.76KB </span>","children":null,"spread":false},{"title":"main.6168c8f7.chunk.js <span style='color:#111;'> 78.24KB </span>","children":null,"spread":false},{"title":"2.36722391.chunk.js.LICENSE <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"ucb.py <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false},{"title":"hog_gui.py <span style='color:#111;'> 4.63KB </span>","children":null,"spread":false},{"title":"proj01.ok <span style='color:#111;'> 758B </span>","children":null,"spread":false},{"title":"hog_contest","children":[{"title":"auth.py <span style='color:#111;'> 7.63KB </span>","children":null,"spread":false},{"title":"submit.py <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"ok <span style='color:#111;'> 2.28MB </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"submit.py <span style='color:#111;'> 807B </span>","children":null,"spread":false}],"spread":false},{"title":"baseline_strategy.py <span style='color:#111;'> 229B </span>","children":null,"spread":false},{"title":"proj01contest.ok <span style='color:#111;'> 332B </span>","children":null,"spread":false}],"spread":true},{"title":"dice.py <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"hog.py <span style='color:#111;'> 13.73KB </span>","children":null,"spread":false}],"spread":false},{"title":"README.md <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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