Timeline for Python OOP game of Hangman
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 22 at 19:57 | history | edited | toolic | CC BY-SA 4.0 |
Typo
|
| Jul 6 at 21:28 | comment | added | Booboo |
@STerliakov My understanding was that Word was short for Word_Game.
|
|
| Jul 6 at 19:07 | comment | added | STerliakov |
I don't think play_game should be a method of Word. It should be a separate Game class or a standalone play_game function, but not a method of Word - that would violently break separation of concerns. Or that class should not be named Word - your class is very similar to Game, and Word might be unnecessary abstraction on top of str.
|
|
| Jul 5 at 15:46 | history | answered | Booboo | CC BY-SA 4.0 |