搜索资源列表
fzq
- 传统五子棋的棋子分为黑白两色,采用19×19棋盘,棋子放置于棋盘线交叉点上。两人对局,各执一色,轮流下一子,先将横、竖或斜线的5个或5个以上同色棋子连成不间断的一排者为胜。 -Gobang the piece is divided into the traditional black and white, with 19 × 19 chessboard, the pieces placed on the board line intersection. Both the bureau, a
FiveLink
- 输入n组数据,每组数据包括棋的颜色(B表示黑,W表示白)和棋盘位置(x,y),输入结束后根据输入数据画出棋盘,并分别判断黑、白棋是否存在“五连”。-N set of data input, each data include chess color (B, said Black, W said the white) and the board position (x, y), enter the draw after the end of the input data according to
QP
- LPC2132+LCD驱动芯片为ILI9331,黑白方格交替显示,模仿棋盘-LPC2132+ LCD driver chips for the ILI9331, black and white squares alternating display, copy board
ChessPlayer
- 设计一个棋盘,使用者可以在网上自由下棋。棋盘包括黑白子,下棋时,现有黑子或白子出,每次只能出一个棋子,还有,相邻两次出奇的颜色不一样。-Design a board, the user can play chess online free. Board, including black and white children, playing chess, the current sunspot or albino out, you can only a pawn, and, the color
ins123
- 基于GUI的Java五子棋游戏源码,可人机对战,用java swing做的,运行时 需要修改图片的路径。 制作思路: 用按钮做棋子,用图片填充每个按钮。 设置棋盘为24*24的,五子棋FiveChessGame类,继承了JFrame,并且 添加了时间监听,五子棋的棋子chess,用JButton表示,五子棋棋子chess 对应的棋子标识,用于标记棋子的状态。 1表示黑棋,-1表示白棋,默认0表 示无棋子,点击棋子时设置棋子的图标setOnChessI
gaiyaoshejishuoming
- 五子棋概要设计说明书 从程序表面看,这是一个二维平面图,所以数据用二维数组来表示,数组两个下标可以表示棋盘上的位置,数组元素的值代表棋格上的状态,共有三种情况,分别是0代表空格,1代表白棋,2代表黑棋。这样程序的主要工作是接收棋手按键操作,棋手1用Up、Down、Left、Right控制光标移动,回车键表示落子。棋手2用W、S、A、D控制光标移动,空格键表示落子。一旦接收到回车键或空格键,说明棋手落子,先判断是否是有效位置,也就是说已经有棋子的位置不能重叠落子。落子成功后,马上判断以该位置为
lcd
- ARM开发板:建立工程,在LCD上实现显示图形,使得LCD上按红、橙、黄、黑、绿、青、蓝、紫、白的顺序交替显示.-ARM development board: the establishment of projects, implemented on the LCD display graphics, making the LCD by pressing the red, orange, yellow, black, green, green, blue, purple, white, alte
GPS-system-LNA
- This White Paper explains why an external low noise amplifier results in a better performance. Next generation mobile handsets will be equipped with GSM, WLAN, Bluetooth and GPS. Integrating all these functionality onto one printed circuit board
TI2847_source
- This fascinating eye-tracking system was developed with an EKK-LM3S9B96 evaluation board and a USB camera. The Stellaris MCU works as a USB host and controls the camera. A button on the board is for switching the calibration/tracking modes. In Calibr
Reversi
- 黑白棋,又叫反棋(Reversi)、奥赛罗棋(Othello),苹果棋,翻转棋。黑白棋在西方和日本很流行。游戏通过相互翻转对方的棋子,最后以棋盘上谁的棋子多来判断胜负。 -Black white, also called the chess (Reversi) Othello chess (Othello), apple chess, flip chess black white in western and Japanese very popular game through mutual
Labyrinth-demo
- 迷宫问题演示程序 以一个n*n的方阵表示迷宫,0和1分别表示迷宫中的通路和障碍。迷宫问题要求求出从入口(1,1)到出口(n,n)的所有通路,或得出没有通路的结论。 具体要求是:程序启动后显示一张迷宫图板,用白色的方格表示通路,黑色的方格表示障碍。用户可以通过点击的方式改变迷宫图板上通路,设置新的迷宫状态图,然后可以由用户按“开始执行”按钮,即可在迷宫图板上显示从入口(1,1)到出口(n,n)的所有通路。 -Maze problem demo With a n* n pha
xiangqi
- 要求输出国际象棋棋盘。要求用i控制行,j来控制列,根据i+j的和的变化来控制输出黑方格,还是白方格。-Required output chess board. Require control of lines i, j to the control bar, according to i+ j and the change to control the output of the black box or white box.
DrawingPANel
- 本程序完成的是一个类似于Windows画图板的画图程序。 整个程序界面很简洁,一目了然,与大多数Windows的应用程序的风格一样。在左上方的菜单栏里有文件、色彩、线条粗细、帮助4个下拉式菜单,可以对绘图文件进行相应的操作。下面一排是工具按钮的工具栏,从左到右依次为:新建文件、打开文件、保存文件、随笔画、直线、空心矩形、实心矩形、空心椭圆、实心椭圆、空心圆、实心圆、空心圆角矩形、实心圆角矩形、橡皮擦、颜色选择按钮、线条粗细设置按钮、文字添加按钮、粗细字体选择框、斜体字体选择框、字体选择下拉
java-FiveChess
- 五子棋游戏 游戏开始要求: 输出一下棋盘,然后提示黑方和白方下子,玩家从 命令行输入:af,表示在af坐标落子,其中黑方的 子用@表示,白方子用O表示,每一方有一方落子, 则要重新输出棋盘的状态,程序还要求能判断某一方 获胜并终止程序。-Backgammon games started to demand: output about the board, and then prompted Black and White Now, players from the
123tian
- 要求输出国际象棋棋盘。 1.程序分析:用i控制行,j来控制列,根据i+j的和的变化来控制输出黑方格,还是白方格-Required output chess board. 1 program analysis: The control line i, j to the control bar, according to the i+ j and the change of control output black box, white box, or
weiqi
- 围棋,对局时,执黑子的先走。棋子放在棋盘的交叉点上,放下后不能再走动。以后,双方轮流下一子,直至终局。 终局时,为了确定胜负,黑185子为赢,白177子为赢,我们只要实际下几盘棋,对胜负的计算是很容易懂得的。 -Chess, game, the player using these pieces go first son. Pieces on the board at the intersection, can not walk down after. After the two s
saolei
- 围棋,对局时,执黑子的先走。棋子放在棋盘的交叉点上,放下后不能再走动。以后,双方轮流下一子,直至终局。 终局时,为了确定胜负,黑185子为赢,白177子为赢,我们只要实际下几盘棋,对胜负的计算是很容易懂得的。 -Chess, game, the player using these pieces go first son. Pieces on the board at the intersection, can not walk down after. After the two s
CreateBWImageNoJAI
- CreateBWImageNoJAI simple java image processing , black and white checker board
waterbzeer
- 缺水报警器 硬件 1.主控板上有2个LED灯白色插座,连接2个LED插头 2.主控板上有一个缺水报警探头插座,连接缺水测试探头 3.主控板上有一个蜂鸣器 功能 1.上电后蜂鸣器鸣叫一声,进入工作状态 2.进入工作状态后,利用探头进行自动测试,若发现没有达到一定的水量(检测端口断开),便立刻进入报警状态,红LED闪(蓝灯灭),蜂鸣器鸣叫,LED灯和蜂鸣器的鸣叫频率均为2HZ。(蜂鸣器为4khz的压电式蜂鸣器) 3.或者将探头短接,也将视为有水,则蓝灯长亮(红灯灭,蜂
chess
- 要求输出国际象棋棋盘。 用i控制行,j来控制列,根据i+j的和的变化来控制输出黑方格,还是白方格。 -Required output chess board. Control lines with i, j to control the column, according to i+ j and changes in the black box to control the output, or white box.