Python Part 21b - Classes case study

Pubblicato il: 01 settembre 2023
sul canale di: 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!


In questa pagina del sito puoi guardare il video online Python Part 21b - Classes case study della durata di ore minuti seconda in buona qualità , che l'utente ha caricato WiseOwlTutorials 01 settembre 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,753 volte e gli è piaciuto 39 spettatori. Buona visione!