Description
The Tic_Tac_Toe script contains multiple gameplay, logic, display, and execution issues:
- Move Announcement Cleared Immediately: print('computer placed an o on position', move, ':') was immediately followed by CleanScreen(), wiping the move information before the player could see it.
- Turn and Game Over Sequence: The win/loss and tie checking sequence in GamePlay() checked computer win conditions with a turn delay and did not announce tie games immediately upon reaching a full board on move 9.
- Broken Replay Loop: The replay loop in while True: invoked StartTheGame() recursively inside the else: branch, causing redundant replay prompts and tie checks on an already finished board.
- Encoding Issues on Windows: Console emoji outputs can trigger UnicodeEncodeError in standard cp1252 Windows terminal environments.
- README Execution Casing: README.md listed python Tic_Tac_Toe.py which causes a FileNotFoundError on case-sensitive operating systems (actual filename is ic_tac_toe.py).
Type of issue
Checklist:
Description
The Tic_Tac_Toe script contains multiple gameplay, logic, display, and execution issues:
Type of issue
Checklist: