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.

指导项目工作原理

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

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

常见问题

常见问题

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