搜索资源列表
hannota70
- 总个数确定后,每张盘curDisk的移动方向maybe_To是确定的且唯一的:如共有三个盘时,盘1始终向左移动。 这里,将柱子由左向右看成A(源柱子Source),B(借助的柱子Borrow),C(目标柱子Target). A的左看成C,B的左看成A,C的左看成B; A的有看成B,B的右看成C,C的右看成A; 每张盘的移动方法(因为不可能连续两次移动相同的盘!): 一个盘curDisk现在在 柱子curStick上,那么curDisk另一个柱子(3个中除了2个的另1个) 只要有选择的选择一个柱子
wuziqi
- 1.用纯c语言实现游戏,不借助其他库文件。 2.初始化任意大小的棋盘。 3.对战双方通过坐标输入确定棋子位置。 4.五子连珠为胜利,有三三犯规处理,给出提示或直接失败。 5.实现悔棋功能。-A. Pure c language games, without the aid of other library files. Two. Initialization of any size board. 3. The battle between the two sides by the
sudoku3
- 数独的解法程序,利用了递归算法,在不能确定数的情况下,假设数,继续进行算法,直到所有可能性排除返回,以排除假设的数。-The the Sudoku Solution program, the use of a recursive algorithm, the case can not determine the number of assumptions, and proceed with the algorithm, until all excluded the possibility of