文件名称:snaker
介绍说明--下载内容均来自于网络,请自行研究使用
提供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
文档中的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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
snaker\38.txt
......\prints.c
......\readme.txt
......\snake.hex
......\snaker51.c
......\snake_curses.c
......\单片机延时.txt
......\键盘管理技术.ppt
snaker
......\prints.c
......\readme.txt
......\snake.hex
......\snaker51.c
......\snake_curses.c
......\单片机延时.txt
......\键盘管理技术.ppt
snaker