Python Part 21b - Classes case study

Publié le: 01 septembre 2023
sur la chaîne: WiseOwlTutorials
1,753
39

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!


Sur cette page du site, vous pouvez voir la vidéo en ligne Python Part 21b - Classes case study durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur WiseOwlTutorials 01 septembre 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,753 fois et il a aimé 39 téléspectateurs. Bon visionnage!