MasterMind

上传者: bncyc | 上传时间: 2019-12-24 03:01:47 | 文件大小: 6KB | 文件类型: java
Master Mind was traditionally a 2 player board game played with pegs. Now many computer versions exist. Each person would take a turn playing the game. The person not playing would select 4 coloured pegs from a possible 6 colours, then arrange these pegs in some random order behind a blind, ie. hidden from the player. The player would then try to guess the colour pattern by duplicating the pattern in a series of holes in the playing board. After each set of 4 pegs is inserted, the person not playing would indicate how many of the player's pegs were in the correct position (small black peg), and how many were the correct colour but in the wrong position (small white peg). From this meager feedback, the player would have to lay another 4 pegs down, after which the feedback was given again. This cycle continues until the player correctly identified the hidden pattern of pegs.

文件下载

评论信息

  • timeofyuyang :
    JAVA code。值得一看,有这个游戏的必胜算法就更好了。
    2014-01-31
  • timeofyuyang :
    JAVA code。值得一看,有这个游戏的必胜算法就更好了。
    2014-01-31
  • zrgl1014 :
    java 写的,不是想要的c,不过值得一看
    2013-04-02
  • zrgl1014 :
    java 写的,不是想要的c,不过值得一看
    2013-04-02
  • chenjiebjie :
    是用java写的,对于类似程序(猜字母、数字什么的)有参考价值
    2012-11-04
  • chenjiebjie :
    是用java写的,对于类似程序(猜字母、数字什么的)有参考价值
    2012-11-04

免责申明

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