搜索资源列表
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
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
21points
- 一个21点的游戏,游戏规则如下: 两个玩家,一个是人,一个是电脑。首先由电脑随机派两张牌给人类玩家(牌不能重复,牌的表示方式为 花色牌号,如红桃8),然后玩家通过自己判断再选择是否继续要牌。如果要,则继续随机派给玩家一张牌,若此时所有牌的点数之和大于21,则判断玩家为输,如果不是,则玩家可以继续选择要牌与否。如果不要牌,则人类玩家阶段结束。轮到电脑。电脑阶段与玩家阶段基本相同。电脑首先自己要两张牌,然后由电脑自己判断是否继续要牌,判断的最重要依据是刚好赢人类玩家就收手。而输赢是按照两家的点数
33943781524point
- 计算24是流行的扑克游戏。其方法是随意抽出4张牌,AJQK王牌算一,其他牌按点数计算,花色不计。目标是通加减乘除和括号最终算出24。设计一个程序,输入四个数字(1 - 10),则列出所有可能计算结果为24 的方案。要求: 方案不能重复(加法乘法交换律等算不同方案)。 计算中局部可以为分数,结果为整数即可( 如 3 3 7 7 算法:(3 + 3 / 7) * 7)-Calculation of 24 popular poker game. Random out of four til
improve
- 用于模拟棋牌游戏,此文件为源代码,经过多次验证可行。将代码输入matlab就可以运行-For the simulation of the chess game, this document is the source code, after repeated verification feasible.The input matlab code can run
tuixiangzi-
- 推箱子游戏,益智,好玩,开发大脑,能反复进行-Sokoban game, puzzle, fun, development of the brain, can be repeated
新版傲玩棋牌(完美运营)
- 本可以早点发布的,反复测试了好些天,已修复已知的BUG和整合缺失文件,今正式发布! 本版本可以说是运营级别的傲玩至尊版本,压缩包大小2GB,解压后将近12GB!!!游戏共16款!!!(This can be released earlier, repeated testing for several days, has been restored to the known BUG and integration of missing files, officially released tod
chinesechess
- 主要利用Alpha-Beta剪枝算法进行搜索,并在此基础上加入置换表,并克服重复搜索局面,功能相对完善。(We mainly use the Alpha-Beta pruning algorithm to search, and add replacement tables on this basis, and overcome the repeated search situation, and the functions are relatively perfect.)
