摘 要:Python 是一种跨平台的、开源的、免费的、解释型的高级编程语言。它具有丰富的、强大的库,能够把其他语言制作的各种模块很轻松地联结在一起,所以Python 常被称为“胶水”语言。Python 语言近几年发展势头迅猛,应用领域也非常广泛,在Web 编程、图形处理、黑客编程、大数据处理、网络爬虫、科学计算和游戏编程等领域都能找到Python 的应用。Python 语言的研究和发明主要是为了便于学习和应用,因此Python 语言是开源的,并且语法非常简单、容易编写和理解。本文通过对小恐龙游戏的设计与分析,掌握Python 语言在游戏开发领域的优势。
关键词:Python;游戏开发;计算机语言;程序设计
中图分类号:TP311.1 文献标识码:A 文章编号:2096-4706(2019)12-0081-03
Design and Analysis of Little Dinosaur Game Based on Python
DONG Yuxian
(Department of Railway Telecommunications,Tianjin Railway Technical and Vocational College,Tianjin 300240,China)
Abstract:Python is a cross-platform,open source,free,explanatory high-level programming language. It has rich and powerfullibraries,which can easily connect various modules made by other languages. So Python is often called “glue” language. Pythonlanguage has developed rapidly in recent years,and its application fields are also very wide. It is used in Web programming,graphicsprocessing,hacker programming,big data processing,network crawler,scientific computing and game programming. Python languageresearch and invention is mainly for easy learning and application,so Python language is open source,and the grammar is very simple,easy to write and understand. Through the design and analysis of small dinosaur game,we can grasp the advantages of Python language inthe field of game development.
Keywords:Python;game development;computer language;programming
参考文献:
[1] 邓亚君,杨刚,翁文斌,等. 基于Python 的网络聊天室设计 [J]. 电子技术与软件工程,2019(5):35-36.
[2] 蔡敏.Python 语言的Web 开发应用分析 [J]. 无线互联科技,2019,16(4):27-28.
[3] 耿颖. 使用Python 语言的GUI 可视化编程设计 [J]. 单片机与嵌入式系统应用,2019,19(2):20-22+24.
作者简介:董彧先(1981-),男,汉族,山东聊城人,讲师,硕士研究生,研究方向:网络安全、嵌入式系统设计。