摘要
Linux系统不仅免费、开源,而且还安全稳定,通过学习简单的指令让程序员更快地入门,让大家早一点接触Linux系统,并用C语言进行简单的贪吃蛇游戏设计。贪吃蛇是许多人小时候的经典回忆,在对贪吃蛇游戏编写时会涉及地图,食物,蛇的更新,文章是基于Linux系统通过使用C语言进行蛇游戏的设计与编写,经过每一个功能的设计与测试一步一步地最终实现游戏呈现的效果。
The Linux system is not only free and open source,but also safe and stable.By learning simple instructions,programmers can get started faster,so that everyone can get in touch with the Linux system earlier,and use C language to design a simple snake game.Snake game is a classic memory of our childhood.When writing the snake game,it will involve the update of maps,food,and snakes.This paper designs and writes the snake game based on the Linux system by using C language.After the design and test of each function step by step,it finally achieves the effect of the game presentation.
作者
孙继承
SUN Jicheng(Inner Mongolia University of Technology,Hohhot 010080,China)
出处
《现代信息科技》
2022年第1期93-95,99,共4页
Modern Information Technology