标题:火柴的游戏
取消只看楼主
jotn26
Rank: 1
等 级:新手上路
帖 子:15
专家分:0
注 册:2006-3-1
 问题点数:0 回复次数:1 
火柴的游戏
Assignment 1
Context
The game of Nim is a simple game played between two (2) players. Twenty one
(21) matches are arranged into positions on a triangular grid of locations. Each
player takes turns removing either one (1), two (2), or three (3) matches from a
location on the grid. The player that removes the last match loses.
An example implementation of the Nim game is the following:
The application of this game to computing is the design of a program that
allows a human to play against the computer.
以上的是要求 ,请高手帮帮忙 急需 先在这里谢谢了
搜索更多相关主题的帖子: 火柴 游戏 
2006-04-18 19:54
jotn26
Rank: 1
等 级:新手上路
帖 子:15
专家分:0
注 册:2006-3-1
得分:0 

谁能帮我编下代码 感激不尽啊
要求不一定与电脑
可以两个人玩 不过这些都没有关系
本来还用到ADT做图象的 这个先不管 了
先谢过了

2006-04-19 12:40



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-58409-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.565510 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved