|
所在平台: Coursera |
课程主页: https://www.coursera.org/learn/interactive-python-2
课程评论:没有评论
课程名称:Python互动编程入门(第二部分) 概述:本课程分为两部分,旨在帮助计算机基础薄弱或没有计算背景的学生学习简单互动应用程序的构建基础。我们选择的编程语言是Python,它是一种易于学习的高级语言,广泛用于Coursera上许多计算课程中。为简化Python的学习,我们开发了一个新的基于浏览器的编程环境,使得在Python中开发互动应用变得简单。这些应用将涉及可以响应按钮、键盘和鼠标的图形内容窗口。 课程的第二部分将介绍更多编程元素(如列表、字典和循环),并使用这些元素创建游戏,比如21点。第一部分课程的高潮是构建经典街机游戏“太空侵略者”的版本。完成本课程后,您将能够编写小而有趣的Python程序。后续课程将开始介绍更有原则的编程方法和解决计算问题的方式,使您能够编写更大更复杂的程序。 课程大纲: - 第5周 - 鼠标输入、列表方法、字典 - 描述:读取鼠标输入,学习列表方法和字典,绘制图像 - 第6周 - 类与面向对象编程 - 描述:学习Python中面向对象编程的基础,使用类,处理拼接图像 - 第7周 - 基础游戏物理、精灵 - 描述:理解加速度和摩擦力的数学原理,处理精灵,为游戏添加声音 - 第8周 - 集合与动画 - 描述:学习Python中的集合,计算精灵之间的碰撞,动画化精灵 此课程适合希望通过Python学习编程基础并创建互动游戏的学生。
Name:Week 5 - Mouse input, list methods, dictionaries
Description:Read mouse input, learn about list methods and dictionaries, draw images
Name:Week 6 - Classes and object-oriented programming
Description:Learn the basics of object-oriented programming in Python using classes, work with tiled images
Name:Week 7 - Basic game physics, sprites
Description: Understand the math of acceleration and friction, work with sprites, add sound to your game
Name:Week 8 - Sets and animation
Description:Learn about sets in Python, compute collisions between sprites, animate sprites
This two-part course is designed to help students with very little or no computing background learn the basics of building simple interactive applications. Our language of choice, Python, is an easy-to learn, high-level computer language that is used in many of the computational courses offered on Coursera. To make learning Python easy, we have developed a new browser-based programming environment that makes developing interactive applications in Python simple. These applications will involve windows whose contents are graphical and respond to buttons, the keyboard and the mouse. In part 2 of this course, we will introduce more elements of programming (such as list, dictionaries, and loops) and then use these elements to create games such as Blackjack. Part 1 of this class will culminate in building a version of the classic arcade game "Asteroids". Upon completing this course, you will be able to write small, but interesting Python programs. The next course in the specialization will begin to introduce a more principled approach to writing programs and solving computational problems that will allow you to write larger and more complex programs.