Thanks to visit codestin.com
Credit goes to github.com

Skip to content

itictactoe No winner if win at the last turn #16

Closed
@ceilinglight

Description

@ceilinglight

Hi,

In chapter 22 Tic-Tac-Toe redux: An interactive version with type hints, the solution doesn't declare a winner if they win at the last turn. Here's the output from tiny_python_projects/22_itictactoe/solution1.py

-------------
| X | O | O |
-------------
| X | O | X |
-------------
| 7 | X | O |
-------------
Player X, what is your move? [q to quit]: 7
All right, we'll call it a draw.

The program should check for a draw after displaying a new board and finding a winner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions