Implementing Hangman Game Using Basics of Python 3

4.3
9 个评分
提供方
Coursera Project Network
在此指导项目中,您将:

Get input from the user and then display it in a separate line and Use different data types and store them in variables

Use the if conditions and loops to keep track of the game and keep it going.

Stop the program if all the letters are correct and still there are number of turns left.

Clock1 hour 30 minutes
Beginner初级
Cloud无需下载
Video分屏视频
Comment Dots英语(English)
Laptop仅限桌面

In this 1-hour long project-based course, you will learn how to get input from the user and then display it in a separate line and use different data types to store the variables in them. You will also be able to use the if conditions to let the program make decisions whether the player guessed a correct character or not and keeping track that the number of turns is not zero. In addition, you will be able to implement the definite type of loops, that will be used to continue the game. By the end of the project, you will get to know and implement recursive function, that will help having a more user friendly game. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

您要培养的技能

Basic Programming LanguagePython ProgrammingGame Programming

分步进行学习

在与您的工作区一起在分屏中播放的视频中,您的授课教师将指导您完成每个步骤:

  1. By the end of Task 1, you will be able to get input from the user and then display it in a separate line.

  2. By the end of Task 2, you will be able to use different data types and store them in variables to be updated or checked later in the project

  3. By the end of Task 3, you will be able to use the if conditions to let the program make decisions whether the player guessed a correct character or not

  4. By the end of Task 4, you will be able to get a guess from the user continually while keeping track that the number of turns is not zero

  5. By the end of Task 5, you will be able to implement the definite type of loops, that will be used to continue the game and make it more user friendly and close to the real game.

  6. By the end of Task 6, you will be able to stop the program from executing the rest of the code, if the player won and the number of turns didn’t reach 10 yet.

  7. By the end of Task 7, you will be able to define a recursive function that will help the user play the game over and over again.

指导项目工作原理

您的工作空间就是浏览器中的云桌面,无需下载

在分屏视频中,您的授课教师会为您提供分步指导

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心