搜索资源列表
NQueens
- 由n2个方块排成n行n列的正方形称为“n元棋盘”。如果两个皇后位于n元棋盘上的同一行或同一列或同一对角线上,则称它们为互相攻击。要求输出使n无棋盘上的n个皇后互不攻击的所有布局。 -By n2 a square lined up in n do n column square called "n yuan chessboard". If two queen on board in n yuan with a line or the same column or the same on the
8-Queen
- VC++课程设计的八皇后问题 在一个8*8的棋盘上放置彼此不受攻击的8个皇后。 按照国际象棋的规则,皇后可以攻击与之处在同一行或同一列或同一斜线上的棋子。8皇后问题就等价于在8*8格的棋盘上放置8个皇后,任何两个皇后不放在同一行或同一列或同一斜线上。 -VC++ curriculum design the eight queens problem in an 8* 8 chessboard placed 8 Queen not to attack each other. In acc
rectangle_diagonal
- simple code for rectangle diagonal movement
wuziqi
- 是一款简单的五子棋小游戏,界面十分干净,而且具有多人作战以及战果记录等功能。五子棋的玩法想必大家都很熟悉了,想办法把自己的棋子在横、竖、斜任意一个方向上连续排满5个就算赢。-Backgammon is a simple game, the interface is very clean, and has a multiplayer battle victories and records and other functions. Backgammon is played surely we ar
tictac
- Tic-tac-toe (or Noughts and crosses, Xs and Os) is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three respective marks in a horizontal, vertical, or diagonal row
crumenSJ_5.c
- 代码描述了类似于一个五指棋的游戏。即自己的子可以在水平,对角线,竖直方向夹住对方的子然后变成自己的子。-Code describes fingers like a chess game. That is their chess can grip the other sub-horizontal, diagonal, vertical and then become their chess.