-
CPP
一份能够直接运行五子棋的程序,不需要有较大的改动,你可以自己学习(A backgammon program can be run directly
Does not require major changes, you can learn yourself)
- 2015-05-03 15:13:14下载
- 积分:1
-
象棋_0.5
类似中国象棋的小游戏的实现(similar to a small Chinese chess games to achieve)
- 2005-01-24 21:30:26下载
- 积分:1
-
Poker
用socket 编写的够击.自定义了网络传输的规约,和发牌规则.(Socket prepared with enough hit. Since the definition of the network transmission of the Statute, and licensing rules.)
- 2008-04-19 15:27:21下载
- 积分:1
-
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
-
SixChess
六子棋人机对弈程序,本人机器人博弈参赛程序,获冠军。(Sixchess p to computer)
- 2020-10-23 23:17:21下载
- 积分:1
-
C-program-code
c语言,五子棋代码.............(c program)
- 2013-12-05 10:50:24下载
- 积分:1
-
N-Queen
: N皇后问题,在一个N×N国际象棋盘
上,有N个皇后,每个皇后占一格;要求皇后间不会出现
相互“攻击”的现象,即不能有两个皇后处在同一行、同一
列或同一对角线上。问共有多少种不同的方法。下图以4
个皇后为例,说明一个正确的解( N是一个大于等于2并
且小于等于100的整数)(: N queens problem, a NN chess disk, N-Queen, Queen of the grid requirements between each other " attack" phenomenon does not appear in the Queen' s, that can not have two queens in the same row , the same column or on the diagonal. Asked a total of a number of different ways. The following diagram 4 Queen, for example, indicating that a correct solution (N is a number greater than or equal to 2 and less than or equal to an integer of 100))
- 2012-08-31 17:31:00下载
- 积分:1
-
CardGame
简单的纸牌游戏,可作为游戏入门实例,是坂本千寻书本的源码。(A simple card game can be used as an instance of the game started, is the source code for Sakamoto Chihiro books.)
- 2009-11-15 14:59:30下载
- 积分:1
-
五子棋游戏
说明: 在一个方阵上通过两人对弈的形式,依次在棋盘上放置两种颜色的棋子,哪一方先让五个棋子形成一条直线(包括横、竖、对角线3个方向),即为获胜,本程序实现用键盘控制的五子棋游戏。游戏初始运行界面应为如下:(In the form of two people playing chess in a square array, place two kinds of color pieces on the chessboard in turn. Which side first makes five pieces form a straight line (including three directions of horizontal, vertical and diagonal), that is to win. This program realizes the game of five pieces controlled by keyboard. The initial operation interface of the game shall be as follows:)
- 2019-11-24 18:31:32下载
- 积分:1
-
C-program-code
c语言,五子棋代码.............(c program)
- 2013-12-05 10:50:24下载
- 积分:1