MCPcopy Create free account
hub / github.com/geekcomputers/Python / user_win

Method user_win

Industrial_developed_hangman/src/hangman/main.py:127–129  ·  view source on GitHub ↗

Print text for end of game and exits.

(self)

Source from the content-addressed store, hash-verified

125 ) # noqa:WPS305
126
127 def user_win(self) -> None:
128 """Print text for end of game and exits."""
129 print_wrong(f"{self._word_string_to_show} YOU WON", self._print_function) # noqa:WPS305
130
131 def game_process(self, user_character: str) -> bool:
132 # noqa: DAR201

Callers 1

game_processMethod · 0.95

Calls 1

print_wrongFunction · 0.85

Tested by

no test coverage detected