文件名称:heibaiqi

  • 所属分类:
  • 单片机(51,AVR,MSP430等)
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2013-05-08
  • 文件大小:
  • 1.26mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 大*
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

本实验利用嵌入式开发系统设计一个黑白棋的小游戏。采用32位ARM处理器,屏幕上有显示棋格,触摸屏幕落黑子、白子,棋盘设置成8×8正方形结构。该程序用于实现黑白棋游戏双人对战。

设计思路:

1.画出棋盘

2.摆上初始的四颗棋子

3.实现游戏规则

4.边界条件的判定

5.自动提示哪方下棋,并在屏幕上显示相应落子颜色,若一方无路可走,则交换下棋选手,直到双方都无路可走,游戏结束并给出提示,每次落子后,屏幕在终端显示各方棋子数目。

-In this study, embedded development system design a game of Reversi. 32-bit ARM processor, screen display the Checkerboard, touch screen off the sunspots, albino, board set to 8 × 8 square structure. The procedures used to achieve the Double Battle Reversi game.

Design ideas:

1 Draw the chessboard

Put the initial four pawns

3. The rules of the game

4 the determination of the boundary condition

5 automatically prompts which side to play chess, and corresponding Lazi color displayed on the screen, if one party is nowhere to go, exchanging chess players, until both sides have nowhere to go, the game ends and gives tips after each Lazi parties, the screen displayed on the terminal number of pieces.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





heibaiqi

........\Exp8触摸屏程序设计

........\..................\Exp8.mcp

........\..................\Exp8_Data

........\..................\.........\CWSettingsWindows.stg

........\..................\.........\Debug

........\..................\.........\.....\TargetDataWindows.tdt

........\..................\.........\Release

........\..................\.........\.......\ObjectCode

........\..................\.........\.......\..........\EXIO.o

........\..................\.........\.......\..........\ISR.o

........\..................\.........\.......\..........\LCD320.o

........\..................\.........\.......\..........\Main.o

........\..................\.........\.......\..........\MyUart.o

........\..................\.........\.......\..........\UHAL.o

........\..................\.........\.......\..........\heap.o

........\..................\.........\.......\..........\isr_address.o

........\..................\.........\.......\..........\memcfg.o

........\..................\.........\.......\..........\option.o

........\..................\.........\.......\..........\retarget.o

........\..................\.........\.......\..........\stack.o

........\..................\.........\.......\..........\tchScr.o

........\..................\.........\.......\TargetDataWindows.tdt

........\..................\STARTUP

........\..................\.......\44B.H

........\..................\.......\44BINIT.S

........\..................\.......\BITOPS.H

........\..................\.......\DEF.H

........\..................\.......\EXIO.c

........\..................\.......\EXIO.h

........\..................\.......\ISR.H

........\..................\.......\ISR.c

........\..................\.......\LCD320.c

........\..................\.......\MEMCFG.S

........\..................\.......\Main.c

........\..................\.......\Maro.h

........\..................\.......\MyUart.c

........\..................\.......\MyUart.h

........\..................\.......\OPTION.H

........\..................\.......\OPTION.S

........\..................\.......\UHAL.c

........\..................\.......\lcd320.h

........\..................\.......\tchScr.c

........\..................\.......\tchScr.h

........\..................\.......\uhal.h

........\..................\init

........\..................\....\heap.s

........\..................\....\isr_address.s

........\..................\....\readme.txt

........\..................\....\retarget.c

........\..................\....\scat_ram.scf

........\..................\....\scat_rom.scf

........\..................\....\stack.s

........\嵌入式实验报告.doc

........\黑白棋

........\......\Exp7.mcp

........\......\Exp7_Data

........\......\.........\CWSettingsWindows.stg

........\......\.........\Debug

........\......\.........\.....\TargetDataWindows.tdt

........\......\.........\Release

........\......\.........\.......\Exp7.axf

........\......\.........\.......\ObjectCode

........\......\.........\.......\..........\44BINIT.o

........\......\.........\.......\..........\EXIO.o

........\......\.........\.......\..........\ISR.o

........\......\.........\.......\..........\LCD320.o

........\......\.........\.......\..........\Main.o

........\......\.........\.......\..........\MyUart.o

........\......\.........\.......\..........\UHAL.o

........\......\.........\.......\..........\heap.o

........\......\.........\.......\..........\isr_address.o

........\......\.........\.......\..........\memcfg.o

........\......\.........\.......\..........\option.o

........\......\.........\.......\..........\retarget.o

........\......\.........\.......\..........\stack.o

........\......\.........\.......\..........\tchScr.o

........\......\.........\.......\TargetDataWindows.tdt

........\......\.........\.......\system.bin

........\......\STARTUP

........\......\.......\44B.H

........\......\.......\44BINIT.S

........\......\.......\BITOPS.H

........\......\.......\DEF.H

........\......\.......\EXIO.c

........\......\.......\EXIO.h

........\......\.......\ISR.H

........\......\.......\ISR.c

........\.

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org