母牛和公牛简介
一个类似于文曲星上的那个猜数字游戏,随机写四个数字,在规定的时间内猜出。CowsandBullsisanoldCode-breakinggame.Theappwillrandomlychoosea4-digitsecretnumber(withoutzerosandwithoutrepeatinganydigits).Theaimofthegameistoguessthatsecretnumber.Youwillget15tries.Youstartbyguessinga4-digitnumberandtheappgivesyouthenumberofmatchesofyourguesswiththesecretnumber.Ifthematchingdigitsareontheirrightpositions,theyare"bulls",ifondifferentpositions,theyare"cows".Theappwilltellyouthenumberofbullsandcowsforeveryguessyoumakebasedonwhichyoucanmakeyournextguess. 展开
母牛和公牛安装指南
wp安装说明
母牛和公牛评论