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영어
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.

안내형 프로젝트 진행 방식

작업 영역은 브라우저에 바로 로드되는 클라우드 데스크톱으로, 다운로드할 필요가 없습니다.

분할 화면 동영상에서 강사가 프로젝트를 단계별로 안내해 줍니다.

자주 묻는 질문

자주 묻는 질문

궁금한 점이 더 있으신가요? 학습자 도움말 센터를 방문해 보세요.