CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - 51 TEST C
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - 51 TEST C - List
[
Other Riddle games
]
snaker
DL : 0
提供linux下的终端型贪吃蛇游戏代码和在51单片机上的贪吃蛇代码(都经过测试) 文档中的snake51.c为在51单片机上的贪吃蛇代码,此代码经过测试运行。 文档中的snake_curses.c为在linux系统中基于ncurses库编写的贪吃蛇代码,也经过测试运行。编译时用命令 gcc snake_curses.c -o snake -lcurses 即可生成可执行文件snake,可在linux下的终端运行 文档中的prints为在单片机的8x8led阵列上现实蛇身体点的函数 snake.hex为烧写的可执行代码-Linux terminal type provided under the Snake game code and the Snake in the microcontroller code 51 (all tested) the document snake51.c microcontroller in the 51' s Snake code, the code after a test run. Document snake_curses.c linux system in the ncurses library based on code written Snake, has also been a test run. Compiled with the command gcc snake_curses.c-o snake-lcurses to generate an executable file snake, the terminal can be run under linux in the document prints the array in the MCU 8x8led point on the real function of snake body to burn snake.hex executable code written in
Date
:
Size
: 1.08mb
User
:
zhang
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.