搜索资源列表
myGAME2
- 一个能和人下井子棋的计算机程序,在棋盘横向、竖向、斜向形成连续的相同色3个棋子的一方为胜。-a person and can pound son of chess computer program on the chessboard horizontal, vertical, oblique form of the same color consecutive three pawn of the party for victories.
bahuanghouproblem_c
- C语言实现的八皇后问题求解。 会下国际象棋的人都很清楚:皇后可以在横、竖、斜线上不限步数地吃掉其他棋子。如何将8个皇后放在棋盘上(有8*8个方格),使它们谁也不能被吃掉!这就是著名的八皇后问题。-C language of the eight Queen's problem to solve. Will be under the international chess are very clear : the Queen's horizontal, the vertic
qishi
- 8×8的棋盘上分布着n个骑士,他们想约在某一格中聚会。骑士每天可以像国际象棋中的马那样移动一次,如图所示,可以从中间向8个方向移动,请你计算n个骑士的最早聚会地点和要走多少天。要求尽早聚会,且n个人走的总步数最少,先到聚会地点的骑士可以不再移动等待其他骑士。 -8 × 8 chessboard on distributed n-Cavalier, they want to about gathering in a cell. Cavalier day like chess in the hors
tm
- 用delphi编写n*n的棋盘格的跳马问题,利用贪心法和回溯法实现,得到解的速度较快-Use delphi write n* n chessboard grid of the vault, by using greedy method and backtracking achieved by faster solutions
Backgammon
- 五子棋是有两个人在一盘棋上进行对抗的竞技运动。在对局开始时,先由用户选择哪方先开局,先开局一方将一枚棋子落在一点上,然后由另一方在对方棋周围的交叉点上落子,如此轮流落子,直到某一方首先在棋盘的直线、横线或斜线上形成连续的五子则该方就算获胜。此时,算法结束。当有任何一方想退出时,都可在算法中实现。-Backgammon is a competitive sport confrontation of two people in a game of chess. At the beginning of
winlines
- 使用SmallBasic语言开发的消除类益智游戏,该游戏通过鼠标在棋盘上移动棋子,每次移动会导致3个棋子随机出现在棋盘上,当有5个棋子连成一线时可以消除一行,当棋盘满时游戏结束。-Use SmallBasic language developed to eliminate class puzzle game, the game via the mouse moves on the board chess pieces, each move will lead to three pieces ap
blokusfinal
- 进行blocus游戏代码。游戏开始时,你要把己方颜色的棋子从棋盘起点处依次摆放到棋盘上,每个棋子只能与同色棋子的棋角相连,不允许沿棋边贴着摆放。-For blocus game code. The beginning of the game, you take one' s own color pawn from the board at the beginning of turn placed on the chessboard, each piece can only be conne
Terics
- 本俄罗斯方块全部用绘图函数实现方块的绘制,没有一点资源,因此源代码很小巧,整个程序编译链接好,也就10K多吧。非常小巧的俄罗斯方块。 设计思想: 1、将游戏区域划分为18行*10列的棋盘,设立一个布尔型的二维数组变量,以表示棋盘上各个地方是否有方块。 2、用4个顶点代表各种不同形状的方块,一旦方块在游戏区域中,就把对应的布尔型二维数组变量置为真,表示该方格已经有方块了。 3、如上做方便方块移动是否会碰撞的判断。 4、代码已经修正了一个小BUG。 5、压缩
myMinesweeper
- 基于QT和C++实现的扫雷游戏,QT实现界面,C++实现棋盘-Based on QT and C++ implementation of Minesweeper game, QT realize interface, C++ realization chessboard
