搜索资源列表
电院五子棋(PLAEEI)
- 一款自主开发的五子棋程序,乃无禁手算法,为本人参加校挑战杯的作品,获三等奖。该程序棋力强劲,在QQ中的战绩目前为: 积分:43 赢:44 输:27 平:2 胜率:60% 曾和网上四五款无禁手的五子棋程序对弈,十盘中一般能胜七八盘!先手基本没负过! 采用了递归算法预测下一步,不过由于是为了应付学校的挑战杯,代码写的不是很规范,递归算法也不完美,之后由于学习时间很紧张,也没时间改进,今天把源代码公布出来,和大家一起学习探讨!大家可以自由使用我的代码,不过有点要求是,如果有人对程序中
hitBall2
- 再来一个碰碰球小游戏!里面有两个关键的算法:迷宫算法外( findPath())和递归回搠的算法( SameBall() )-then fondled a ball game! There are two key algorithms : outside the maze algorithm (findPath ()) and recursive algorithm to daub (SameBall (
qipan.rar
- 设计一个国际象棋的马踏棋盘的演示程序。以一二维数组Board[8][8]表示国际象棋棋盘,以用户输入任一位置作为马的起始位置,设为(i,j),其中0≤i,j≤7,马按照走棋的规则在棋盘范围内进行移动。本程序只求出一种遍历路径,用非递归程序实现吗的行走路线。,To design a chess board horse riding demo program. A two-dimensional array Board [8] [8] that the chess board to the user
1321_preblem_of_chess_board
- DP——棋盘问题,动态规划解决。递推的方式。注意结果的优化-DP- chessboard problem, dynamic programming solution. Recursive way. Note that the optimization results
knight
- 2、 写出6×6方阵的骑士周游的解。要求骑士的起跳位置是任意指定的。编制非递归程序,求出马的行走路线,并按求出的行走路线,将数字依次填入6×6的方阵中,并输出。 (骑士周游:从起始位置出发,按国际象棋马的走法,不重复地将所有区域恰好走一遍。) -2, write a 6 × 6 square Cavalier travel solution. Requirements of the take-off position Cavalier arbitrary specified. The p
house
- 马踏棋盘问题描述设计一个国际象棋的马踏遍棋盘的演示程序。2. 基本要求将马随机放在国际象棋8*8棋盘的某个方格中,马按走棋规则进行移动。编制非递归程序,求出马的行走路线,-Horse riding problem described in the design of a chessboard chess chessboard horse traveled demo program. 2. The basic requirements will be placed randomly MA 8* 8
BaHuangHou
- 题目:八皇后问题。 八皇后问题是指求解如何在国际象棋8*8棋盘上无冲突的放置八个皇后棋子。因为在国际象棋里,皇后的移动方式是横竖交叉,所以在任意一个皇后所在的位置的水平,竖直和斜45度都不能有其他棋子的存在。一个完整的无冲突的八皇后棋子分布成为八皇后问题的一个解。设计思路:我使用了回溯的方法来解决八皇后问题,也就是逐次试探的方法。这个方法是通过函数putchess()对自身的递归调用来实现的。运行程序后,主函数调用putchess()函数在棋盘第一行第一列上放置棋子,开始向下一行递归。每一步
mataqipan
- 将马随机放在国际象棋的8×8棋盘Board[0~7][0~7]的某个方格中,马按走棋规则进行移动。要求每个方格只进入一次,走遍棋盘上全部64个方格。编制非递归程序,求出马的行走路线,并按求出的行走路线,将数字1,2,…,64依次填入一个8×8的方阵,输出之 -Ma Random Chess on the 8 × 8 chessboard Board [0 ~ 7] [0 ~ 7] of a box, the horse moves in accordance with the rules o
wuziqi
- 五子棋问题,是一个典型的递归调用的问题。该程序实现了五子棋的对弈过程,缺陷是不能实现图像处理-Gobang problem is a typical recursive call problems. The program implements the chess backgammon process, defects can not be achieved image processing
CODE_UPLOAD1421
- Play Othello Game in multiplayer mode with the TCP/IP or in local mode.... Winsock and recursive code-Play Othello Game in multiplayer mode with the TCP/IP or in local mode.... Winsock and recursive code...
console
- 象棋马的哈密顿回路算法代码,分治递归的方法。当m n<24时结果正确。这是重新上传,上一次工程中疏漏没有包含源码。-Hamilton horse chess circuit algorithm code, recursive partition method. When mn < 24 hours was correct. This is a re-upload, the last project oversight does not include source code.
ChnChess
- 本程序在Windows98下用VC6.0编译通过,所使用位图来源于“象棋大师”教学软件, 设计和改进时参考了BorlandC++3.1的国际象棋程序和陈成涛所写的“中国象棋程序”。 在算法上采用有界深度优先Alpha-Beta剪枝递归搜索技术-The program under Windows98 using VC6.0 to compile, the use of bitmap from " Chess Master" teaching software design and
HORSE_PROBLEM
- 使用回溯的方法实现跳马问题,同时,还使用了递归的思想。跳马问题描述:在N*N格的棋盘上,从(1,1)点出发,按日字跳马,要求不重复地跳经所有方格。求出符合要求的所有跳马方案-The method used to achieve vault back problem, while also using the recursive thinking. Horse Problem Descr iption: In the N* N grid of the board, from (1,1) point
hanruota
- 利用递归在计算机中实现的原理 来做汉若塔-Recursive principle is implemented in the computer If the tower to do the Han
horse
- :将马随机放在国际象棋的8X8棋盘Bo阿rd[0..7,0..7]的某个方格中,马按走棋规则进行移动。 要求每个方格上只进入一次,走遍棋盘上全部64个方格。编制非递归程序,求出马的行走路线 ,并按求出的行走路线, 将数字1,2,…,64依次填入8X8的方阵输出之。- The horses were placed in the 8X8 chess board Bo A rd [0 .. 7,0 .. 7] of a box, the horse to move according to
housetapipan
- 将马随机放在国际象棋的8×8棋盘Board[0~7][0~7]的某个方格中,马按走棋规则进行移动。要求每个方格只进入一次,走遍棋盘上全部64个方格。编制非递归程序,求出马的行走路线,并按求出的行走路线,将数字1,2,…,64依次填入一个8×8的方阵,输出之 -The horses were randomly placed in 8 × 8 chess board Board [0 ~ 7] [0 ~ 7] in a box, the horses go by the rules of chess
24
- 24点 Visual Studio 2010 递归-24-point recursive Visual Studio 2010
chess
- 经典的棋盘问题,运用递归的思想解决棋盘的特殊方格位置的问题-The classic board issues, the use of recursive thinking to resolve board issues a special grid position
digui
- 象棋游戏程序采用的就是递归算法递归算法是把问题转化为规模缩小了的同类问题的子问题。然后递归调用函数(或过程)来表示问题的解 -Chess game procedures used is the recursive algorithm. The algorithm is put into the scale of the narrowing of the same problem problem. Then the recursive function call ( or process )
VBChess
- 一个VB写的中国象棋源码,提供人机对战和双人下棋2种模式,算法核心采用 自动递归层次提升技术 以提高自动走棋的智能与常规棋式参考结合。提供载入棋局,保存棋局功能;可以悔棋。功能还是比较完善的。此源码由Dingcrown Soft免费发布,http://www.dingcrown.com/soft-Chinese chess source code written in VB, man-machine war and Double chess modes, the algorithm core u
