基于C语言的贪吃蛇游戏设计  被引量:3

Snake Game Based on C Programming Language

在线阅读下载全文

作  者:李雨哲 孙炼[1] LI Yuzhe;SUN Lian(Jincheng College of Sichuan University,Chengdu Sichuan 611731)

机构地区:[1]四川大学锦城学院,四川成都611731

出  处:《河南科技》2020年第7期31-33,共3页Henan Science and Technology

摘  要:贪吃蛇是一款深受人们喜爱的游戏。在贪吃蛇游戏设计过程中,涉及蛇与食物的显示与更新、数据的收集与更新等问题。本文通过利用C语言对贪吃蛇游戏进行设计和编写,并对设计好的游戏进行测试。结果表明,程序通过编译后逻辑上没有明显漏洞,且运行结果与预期无较大出入。Snake is a popular game.In the design process of Snake game,it involves the display and update of snake and food,data collection and update.This paper used the C programming language to design and write Snake game,and tested the designed game.The results show that there are no obvious flaws in the program's compiling and logic,and the running results are not different from the expected ones.

关 键 词:C语言 贪吃蛇 函数 

分 类 号:TP317[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象