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

Function play_again

Tic-Tac-Toe Games/tic-tac-toe5.py:62–65  ·  view source on GitHub ↗

Ask the player if they want to play again.

()

Source from the content-addressed store, hash-verified

60
61
62def play_again() -> bool:
63 """Ask the player if they want to play again."""
64 print("Do you want to play again? (y/n)")
65 return input().lower().startswith("y")
66
67
68def make_move(board: List[str], letter: str, move: int) -> None:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected