Python 是一种高级程序设计语言,因其简洁、易读及可扩展性日渐成为程序设计领域备受推崇的语言。
目前的编程书籍大多分为两种类型。第一种,与其说是教编程的书,倒不如说是在教“游戏制作软件”,或教授使用一种呆板的语言,使得编程“简单”到不再是编程。而第二种,它们就像是教数学课一样教编程:所有的原理和概念都以小的应用程序的方式呈现给读者。
今天给小伙伴们分享的这份手册通过编写一个个小巧、有趣的游戏来教授 Python 编程。采用了不同的方式直接展示了游戏的源代码,并且通过实例来解释编程的原理。
限于文章篇幅原因,只能以截图的形式展示出来,有需要的小伙伴可以文末获取↓↓↓
目录总览
内容概览
第1章 安装Python
第2章 交互式shell
第3章 编写程序
第4章“猜数字”游戏
第5章 Jokes
第6章 Dragon Realm
第7章 使用调试器
第8章 流程图
第9章 Hangman
第10章 Hangman扩展
第11章 Tic Tac Toe
第12章 Bagels
第13章 笛卡尔坐标
第14章 Sonar Treasure Hunt
第15章 Caesar Cipher
第16章 Reversi
第17章 Reversi Al 模拟
第18章 图形和动画
第19章 碰撞检测与鼠标/键盘的输入
第20章 声音和图像
第21章 Dodger
限于文章篇幅原因,就展示到这里了,有需要的小伙伴可以查看下方名片↓↓↓