By Andy Brown
Download files and exercises for this tutorial from https://www.wiseowl.co.uk/python/vide...
Learning the theory of classes is one thing; putting them into practice quite another. This tutorial shows how you can use classes to write a game of hangman, explaining the design decisions taken along the way.
Chapters
00:00 Topic list
02:00 The hangman game demonstrated
04:21 Setting the scene
07:25 Enumerations
09:19 Writing your algorithm (pseudo-code)
12:42 Designing your classes
17:58 Starting the game
21:04 Validating guesses
26:46 Marking guesses
30:07 Showing progress messages
36:01 Testing for the game end
40:08 Testing the final program
Python playlist • Programming in Python
If you'd like to help fund Wise Owl's conversion of tea and biscuits into quality training videos you can join this channel to get access to perks:
/ @wiseowltutorials
Or you can click this link https://www.wiseowl.co.uk/donate?t=1 to make a donation. Thanks for watching!
Visit https://www.wiseowl.co.uk for more online training resources in Microsoft Excel, Microsoft Power BI, DAX, VBA, Python, Visual C#, Microsoft SQL Server, SQL Server Reporting Services SSRS, SQL Server Integration Services SSIS, Microsoft Access and more!
On this page of the site you can watch the video online Python Part 21b - Classes case study with a duration of hours minute second in good quality, which was uploaded by the user WiseOwlTutorials 01 September 2023, share the link with friends and acquaintances, this video has already been watched 1,753 times on youtube and it was liked by 39 viewers. Enjoy your viewing!