搜索资源列表
h
- 5. 8皇后问题 在一个8×8的棋盘里放置8个皇后,要求这8个皇后两两之间互相都不“冲突”。 -5. 8 Queen' s problem in an 8 × 8 chessboard placed 8 Queen' s, 8' s requirement that 22 is not between " conflict."
001
- 用c语言演绎“生命游戏” 本世纪70年代,人们曾疯魔一种被称作“生命游戏”的小游戏,这种游戏相当简单。假设有一个像棋盘一样的方格网,每个方格中放置一个 生命细胞,生命细胞只有两种状态:“生”或“死”。-Using c language interpretation " life game" 70s of this century, people had a tremendous influence known as the " life game&qu
queen
- N皇后问题,N皇后放置过程的现实。 由八皇后问题扩展开来,在N*N的棋盘上摆放N个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列或同一斜线上。求可能的解决方案,并显示每一种解决方案的皇后放置过程。-N Queen' s problem, N Queen placed the reality of the process. Expansion by opening eight to question Queen' s, at the N* N chessboard
Gobang
- 五子棋游戏。在DOS下,可设置玩家,在棋盘上放棋子,模拟一般的五子棋游戏。-Gobang Games. In DOS, the player can be set in place a pawn on the chessboard, Gobang Analog Games in general.
eightqueens
- 用 Scheme 来解决八皇后问题。八皇后问题:在 8*8 的棋盘上放置彼此不受攻击的 8 个皇后。按照国际象棋的规 则皇 后可以攻击与之处在同一行或同一列或同意斜线上的棋子。找出所有合法的 使8 个皇后 彼此不受攻击的放置方法。1 )除了完成 queens 的定义之外 , 给出一个打印输出过程 print-queens-Scheme used to solve the problem of the eight Queen' s. 8 Queen' s problem: In the
eightqueen
- 八皇后问题,用于解决八皇后再棋盘上排列的方法问题,个数问题-8 Queen' s problem, to address the eight Queen' s re-arranged method of chessboard problems, the number of issues
KnightTour
- 用回溯法求解KnightTour问题 【KnightTour问题】在一个8×8的棋盘上,检验以某一位置作为出发点的棋子能否遍历一次棋盘上的所有棋格,且最后回到出发点。(备注:棋子每次只能沿东、南、西、北、东南、西南、东北、西北方向走一步!!)-Method with back issues KnightTour】 【KnightTour issues in a 8 × 8 chessboard, the examination for the position as the startin
Boardcover
- 棋盘覆盖是算法分析中常用的一个例子,本代码是用c#语言来实现棋盘覆盖算法。-This code is used to achieve the c# language chessboard covering algorithm.
nqueenproblem
- This program finds the locations of placing n queens in a n*n chessboard so that none attack any other
5_queen
- 设在初始状态下在国际象棋棋盘上没有任何棋子(皇后)。然后顺序在第1行,第2行,…。第8行上布放棋子。在每一行中有8个可选择位置,但在任一时刻,棋盘的合法布局都必须满足3个限制条件,即任何两个棋子不得放在棋盘上的同一行、或者同一列、或者同一斜线上。试用递归与非递归的方法编写算法,求解并输出此问题的所有合法布局-In the initial state in the international chess board does not have any pieces (Queen' s).
Chessboard
- 较好的国际象棋界面源控件代码,非常灵活,对编写国际象棋软件很有借鉴作用。-My English is poor.
horsegame.c
- 一个跳马问题的代码.它能实现出一种走法,加入初始棋盘为N*N的棋盘,再由自己输入数字来确定棋盘的大小.-The issue of a vault code. It will take to achieve a method, adding the initial board for the N* N chessboard, and then enter their own figures to determine the size of the chessboard.
200893141911441
- 国际象棋代码 国际象棋代码 -chessboard programchessbchessboard programoard program
Queen8
- 八皇后问题:一个八行八列的棋盘,每一行每一列只有有一个数-8 Queen' s problem: an eight-8 chessboard line, each line in each column only has a few
mataqipan
- 本程序功能是在8*8的棋盘上实现从任意一点出发踏遍整个棋盘-This procedure is a function of 8* 8 chessboard starting from any point all over the entire board
AI_DrawChess
- 规则:两个玩家,在一个4*4的棋盘上,轮流画棋,每一次只能画一笔,可以画横、竖,一笔可以画过连续的1、2、3、4个棋(未被别人画过的),当你使得对手画的是最后一笔(即对手画完,棋盘上的棋已经全部被画过了)你就赢了。 功能:带有简单AI功能,可以分为 人对人 或 人对电脑AI进行游戏。-Rules: Two players, in a 4* 4 of the chessboard, chess paintings take turns, each time only a painting, you
chess
- 在N*N的棋盘上(1<=N<=10)填入1,2,...N*N共N*N个数,使得任意两个相邻的数之和为素数.输出满足条件的最小序列的方案。 最小序列即将每一行连接起来组成一行,然后使前面的尽可能小,当第一个数字相同时则比较下面一个,依次类推。 比如当N=2时,序列为1 2 4 3,当无满足条件的方案时输出"NO"。 -In the N* N chessboard (1 < = N < = 10) filled 1,2, ... N* N total numbe
chess
- 在N*N的棋盘上(1<=N<=10)填入1,2,...N*N共N*N个数,使得任意两个相邻的数之和为素数. -In the N* N chessboard (1 < = N < = 10) filled 1,2, ... N* N total number of N* N so that any two adjacent numbers and prime numbers.
EightQueen
- 八皇后问题,实现八皇后在8*8棋盘上排列,同一行,同一列及成45度角的地方上没有其他皇后,不然产生冲突.-8 Queen' s problem, the achievement of the eight Queen' s in the 8* 8 chessboard with the same line, same column and into a 45 degree angle there is no other place on the Queen, or conflict.
8
- 八数码问题也称为九宫问题。在3×3的棋盘,摆有八个棋子,每个棋子上标有1至8的某一数字,不同棋子上标的数字不相同。-8 digital issues the problem is also known as Nine-palace. In the 3 × 3 chessboard, before there are eight pieces, each piece marked a 1-8 figures, the number of different pieces on the subjec