Skip to content

Conversation

@Caminaur
Copy link

This PR adds a missing test for the Tic-Tac-Toe exercise, covering the case
where X wins but both players have the same move count, which represents an
impossible game state.

@github-actions
Copy link

This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested.

If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos.

[no important files changed]

For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping @exercism/maintainers-admin in a comment. Thank you!

@Caminaur
Copy link
Author

This PR intentionally affects student submissions.
It adds a new edge case test that identifies an invalid game state where X wins but both players have made the same number of moves.
Some existing student solutions might now fail this new test, which is expected and correct.

@mk-mxp
Copy link
Contributor

mk-mxp commented Nov 12, 2025

@Caminaur Thanks for bringing this up! This exercise takes its test cases from the common problem specification repository. Please start a forum thread, so all maintainers can vote for or against this new test.

@mk-mxp mk-mxp closed this Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants