文件名称:nim
介绍说明--下载内容均来自于网络,请自行研究使用
Nim游戏是一个著名而且有很多版本的经典游戏,其获胜策略是
两名参与者交替从一堆石子中取出若干数目其数目有参与者决定。但
是要求参与者每次至少取出一个,至多一半,然后由另一名参与者继
续取,拿到最后一颗石子者输。人和电脑随几分先后,电脑有聪明和愚蠢模式
共四种情况-Nim game is a well-known, and there are many versions of the classic game, their winning strategy is a pile of stones from the two players alternately remove a certain number of the number of participants in their decision. But requires participants to take out one time at least, up to half, and then by another participant to continue to take, and get the last one stones were lost. With a few minutes and the computer has, the computer models have a total of four kinds of intelligence and stupidity of
两名参与者交替从一堆石子中取出若干数目其数目有参与者决定。但
是要求参与者每次至少取出一个,至多一半,然后由另一名参与者继
续取,拿到最后一颗石子者输。人和电脑随几分先后,电脑有聪明和愚蠢模式
共四种情况-Nim game is a well-known, and there are many versions of the classic game, their winning strategy is a pile of stones from the two players alternately remove a certain number of the number of participants in their decision. But requires participants to take out one time at least, up to half, and then by another participant to continue to take, and get the last one stones were lost. With a few minutes and the computer has, the computer models have a total of four kinds of intelligence and stupidity of
相关搜索: nim
(系统自动生成,下载前可以参看下载内容)
下载文件列表
nim.cpp