-
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
-
C语言版的flappy bird
自编C语言版本的flappy bird,可以供大家自行改编,亲测可行,只是搭建简单的框架没有进行任何润色,大家可以对其进行妥善加工,不存在版权问题。欢迎大家多多交流指教
- 2022-03-19 09:51:48下载
- 积分:1
-
c
说明: 俄罗斯方块(Tetris, 俄文:Тетрис)是一款风靡全球的电视游戏机和掌上游戏机游戏,它由俄罗斯人阿列克谢·帕基特诺夫发明,故得此名。俄罗斯方块的基本规则是移动(Tetris (Tetris, Russian: Тетрис) is a popular global video game console and handheld game consoles, which consists of Russians Alexei )
- 2013-06-11 22:51:37下载
- 积分:1
-
five_vb_tcp
网络VB语言开发的五子棋,工作量是一周的本科毕业设计。(VB language network Gobang development, the workload is one-week graduate design.)
- 2008-12-10 14:52:50下载
- 积分:1
-
lianliankan
简单的用ege实现的连连看,有音乐播放功能(Simple ege implementation of the again and again, there is music player function)
- 2020-08-23 14:07:52下载
- 积分:1
-
源码_07211033
锤子大战僵尸,简化版植物大战僵尸,类似于打地鼠,通过鼠标点击来实现僵尸击杀(HammerVSZombies_07211033)
- 2020-06-22 23:40:01下载
- 积分:1
-
Backgammon
五子连珠的VC源码,简单有趣 (Five or VC source, easy and fun )
- 2013-07-20 17:54:18下载
- 积分:1
-
五子棋游戏C++源码
个人开发五子棋游戏的源代码,利用MFC实现,仅供参考!(personal development renju game's source code, using MFC for reference!)
- 2005-06-08 15:31:50下载
- 积分:1
-
vc的一个小游戏
这只是一个小小的程序 可以输入资料并显示还可以设置字体 还有一个小小的猜明星游戏 是VC++语言写的(this only a small import procedures and show also can set font guess there are a little star game is written in Visual C)
- 2005-01-18 18:15:42下载
- 积分:1
-
TicTacToe_dzy
一个简单的井字过三关游戏,用qt实现...人机对弈AI(TipTacToe Game implementation)
- 2011-11-21 13:32:20下载
- 积分:1