-
8queen
在一个8×8国际象棋盘上,有8个皇后,每个皇后占一格;要求皇后间不会出现相互"攻击"的现象,即不能有两个皇后处在同一行、同一列或同一对角线上。问共有多少种不同的方法。
本算法采用一维数组来进行处理。数组的下标i表示棋盘上的第i列,a[i]的值表示皇后在第i列所放的位置。如:a[1]=5,表示在棋盘的第一例的第五行放一个皇后。(8 × 8 in a chess set, there s eight, each accounting for a Queen s grid request will not be any mutual between Queen s attack phenomenon, that can not have two Queen s in the same line, the same row or the same diagonal. Asked the total number of different ways. This algorithm uses one-dimensional array to be processed. Array subscript i said i chessboard first out, a [i] value that s in the first place i listed by location. Such as: a [1] = 5, said the first cases in the chessboard of the fifth line of a Queen s release.)
- 2007-12-15 22:24:44下载
- 积分:1
-
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.)
- 2010-04-14 10:50:12下载
- 积分:1
-
AngryBird
实现简单的模拟angry birds小游戏(Simple analog angry birds game)
- 2012-05-25 10:21:48下载
- 积分:1
-
mon-tank.-v3
game tank , is a game with c sdl graphique
- 2012-04-20 23:47:54下载
- 积分:1
-
connectsix
简单的实现了六子棋的功能,小白做的,希望大家多多关照。(Simple realization of the six chess function, made by Xiaobai, I hope you care more.)
- 2019-05-20 23:32:48下载
- 积分:1
-
VB格斗游戏KOFV
应用背景开源的Vb格斗游戏KOFV源代码,里面有很多游戏控制类,大家可以学学如何进行角色、动作的关联,有一个模块是用于处理鼠标键盘和手柄的输入的,挺实用的,还有一些是用于枚举出手柄及其他输入设备等。关键技术FTG格斗游戏源码
- 2022-03-29 16:15:12下载
- 积分:1
-
dadishu
一个简单的打地鼠游戏,经典游戏,80/90后的延续,这只是个给予初学者用的打地鼠源代码。(A simple hamster games, classic games, continuing 80/90, which gives beginners just fighting to control the source code.)
- 2014-06-25 14:54:07下载
- 积分:1
-
j2me
J2ME手机游戏开发技术详解,适合初学者阅读使用(J2ME mobile phone game development techniques detailed for beginners to read the use of)
- 2009-05-08 17:08:01下载
- 积分:1
-
MazeFindPath
用矩阵表示的迷宫,用队列实现最短路径发现。(matrix said maze, with the shortest path to achieve cohort found.)
- 2004-12-16 12:33:42下载
- 积分:1
-
CatapultGame
Windows phone catapult game
- 2012-06-06 17:35:45下载
- 积分:1