文件名称:ucosii-five-in-a-row
介绍说明--下载内容均来自于网络,请自行研究使用
a. 操作方式:双人对弈方式,采用触摸屏方式投放棋子,对弈双方的棋子为不同颜色的圆,分为红方和绿方;
b.评分机制:当某一方的5个棋子连成一线时得一分,然后该5子消除,继续进行;
c.. 结束判断
分为四种情况,任一种情况均可判断:
A.有一方的分数率先达到5分,则获胜;
B.总的步数达到最大步数(比如100),根据双方的得分,分数高则获胜。若双方分数相同,则为平局。
C.当前棋局已不能再走棋,根据双方的得分,分数高则获胜。若双方分数相同,则为平局。
D. 当某一方在40之内为走棋时,认为该方输。
d.新棋局:
当一局结束时,开始新棋局。
-A. operating mode: double game way, using the touch screen on the pawn, game pieces on both sides of the different colors of circle, divided into red and green party
B. scoring mechanism: when one party of five pieces together as a one line, and then the five son, continue
C..The end of the judgment
Is divided into four kinds of circumstances, any kinds of circumstances are:
A. has the side of the score of 5 points, win
B. step total maximum number (100), according to the score, high score wins.If both sides equal points, for a draw.
C. chess current no longer moves, according to the score, high score wins.If both sides equal points, for a draw.
D. when one party within 40 for playing chess, thinks that the party lose.
D. new position:
When at the end of the game, to start a new position.
b.评分机制:当某一方的5个棋子连成一线时得一分,然后该5子消除,继续进行;
c.. 结束判断
分为四种情况,任一种情况均可判断:
A.有一方的分数率先达到5分,则获胜;
B.总的步数达到最大步数(比如100),根据双方的得分,分数高则获胜。若双方分数相同,则为平局。
C.当前棋局已不能再走棋,根据双方的得分,分数高则获胜。若双方分数相同,则为平局。
D. 当某一方在40之内为走棋时,认为该方输。
d.新棋局:
当一局结束时,开始新棋局。
-A. operating mode: double game way, using the touch screen on the pawn, game pieces on both sides of the different colors of circle, divided into red and green party
B. scoring mechanism: when one party of five pieces together as a one line, and then the five son, continue
C..The end of the judgment
Is divided into four kinds of circumstances, any kinds of circumstances are:
A. has the side of the score of 5 points, win
B. step total maximum number (100), according to the score, high score wins.If both sides equal points, for a draw.
C. chess current no longer moves, according to the score, high score wins.If both sides equal points, for a draw.
D. when one party within 40 for playing chess, thinks that the party lose.
D. new position:
When at the end of the game, to start a new position.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ucosii five-in-a-row\Main.c
....................\嵌入式综合试验报告.doc
....................\......课设最终版\Debug\44BINIT.o
....................\................\.....\EuCos.axf
....................\................\.....\Main.o
....................\................\.....\MEMCFG.o
....................\................\.....\OPTION.o
....................\................\.....\system.bin
....................\................\Exp_TxtBox.apj
....................\................\INC\BITOPS.H
....................\................\...\DEF.H
....................\................\...\.RV\AD.h
....................\................\...\...\can.h
....................\................\...\...\DirectDisplay.h
....................\................\...\...\DISPLAY.H
....................\................\...\...\EXIO.h
....................\................\...\...\Figure.h
....................\................\...\...\flash.h
....................\................\...\...\IIS-S3C44B0.h
....................\................\...\...\KeyBoard16.h
....................\................\...\...\lcd320.h
....................\................\...\...\lcd320.h.bak
....................\................\...\...\LoadFile.h
....................\................\...\...\Max504.h
....................\................\...\...\MCP2510.h
....................\................\...\...\OSFile.h
....................\................\...\...\rtc.h
....................\................\...\...\tchScr.h
....................\................\...\...\Ustring.h
....................\................\...\...\Zlg7289.h
....................\................\...\drv.h
....................\................\...\Maro.h
....................\................\...\TCPIP\Ethernet.h
....................\................\...\.....\INTERNET.H
....................\................\...\.....\ipv4\lwip\ICMP.H
....................\................\...\.....\....\....\INET.H
....................\................\...\.....\....\....\ip.h
....................\................\...\.....\....\....\IP_ADDR.H
....................\................\...\.....\lwip\API.H
....................\................\...\.....\....\API_MSG.H
....................\................\...\.....\....\arch.h
....................\................\...\.....\....\debug.h
....................\................\...\.....\....\def.h
....................\................\...\.....\....\err.h
....................\................\...\.....\....\list.h
....................\................\...\.....\....\mem.h
....................\................\...\.....\....\memp.h
....................\................\...\.....\....\NETIF.H
....................\................\...\.....\....\OPT.H
....................\................\...\.....\....\pbuf.h
....................\................\...\.....\....\SOCKETS.H
....................\................\...\.....\....\stats.h
....................\................\...\.....\....\sys.h
....................\................\...\.....\....\TCP.H
....................\................\...\.....\....\tcpip.h
....................\................\...\.....\....\UDP.H
....................\................\...\.....\netif\arp.h
....................\................\...\.....\.....\CC.H
....................\................\...\.....\.....\cpu.h
....................\................\...\.....\.....\ethernetif.h
....................\................\...\.....\.....\lib.h
....................\................\...\.....\.....\loopif.h
....................\................\...\.....\.....\LWIPOPTS.H
....................\................\...\.....\.....\perf.h
....................\................\...\.....\.....\SYS_ARCH.H
....................\................\...\.....\.....\tcpdump.h
....................\................\Lib\TCPIP.alf
....................\................\...\ucos_lib.alf
....................\................\SRC\Main.c
....................\................\.TARTUP\44B.H
....................\................\.......\44BINIT.S
....................\................\......