Implementation of Hangman Game using C++

提供方
Coursera Project Network
在此指導項目中,您將:

You'll be able to write the main functions of the game

You'll be able to test each and every function to make sure they have nor logical error

Integrating all the functions together and finalizing the whole game

Clock2 hours
Intermediate中級
Cloud無需下載
Video分屏視頻
Comment Dots英語(English)
Laptop僅限桌面

By the end of this project, we will create a simple fully functioning hangman game using C++. In this project you’ll be able to write functions that will print messages, draw hangman, print available letters and calculate the number of tries, and last but not least, you will be able to get the words that’ll be guessed randomly from a text file. In this project we’ll use Codeblocks IDE which is an open source IDE and it’s very simple to write our code in , which will help us implement all the needed functions and classes that is necessary to build our game

您要培養的技能

  • Software Testing
  • Reading Data from txt files
  • Implementing Functions
  • Software Gaming
  • C++

分步進行學習

在與您的工作區一起在分屏中播放的視頻中,您的授課教師將指導您完成每個步驟:

  1. Writing the Print Message Function which is a function responsible for displaying any message you want in the game

  2. Drawing the hangman in case of wrong guessed letters.

  3. Printing all the letters guessed and the available letters which are not yet guessed

  4. Checking if the player has won the game or not and you’ll load words randomly from a text file.

  5. Calculating the numbers of tries left, finalizing the game and test it.

指導項目工作原理

您的工作空間就是瀏覽器中的雲桌面,無需下載

在分屏視頻中,您的授課教師會為您提供分步指導

常見問題

常見問題

還有其他問題嗎?請訪問 學生幫助中心