Skip to content

Fix: tic_tac_toe.c main() ASCII bug - #1605

Open
RoryLGroom wants to merge 1 commit into
TheAlgorithms:masterfrom
RoryLGroom:tic_tac_toe-fix
Open

RoryLGroom wants to merge 1 commit into
TheAlgorithms:masterfrom
RoryLGroom:tic_tac_toe-fix

Conversation

@RoryLGroom

Copy link
Copy Markdown

Description of Change

In tic_tac_toe.c, after the user finishes a game, the prompt for starting a new game has an invalid symbol (ASCII character U+2013) when it should have (ASCII character U+002d). This pull request replaces the invalid character with the correct one.

Before Fix:
Next game ? : Enter 1 ΓÇô YES and 0 - NO

After Fix:
Next game ? : Enter 1 - YES and 0 - NO

Checklist

  • [ x] Added description of change
  • [x ] PR title follows semantic commit guidelines
  • [x ] Search previous suggestions before making a new one, as yours may be a duplicate.
  • [ x] I acknowledge that all my contributions will be made under the project's license.

Notes:
Fix incorrect ASCII character in prompt after game ends.

@RoryLGroom RoryLGroom changed the title Fix: tic_tac_toe.c bug main() ASCII bug Fix: tic_tac_toe.c main() ASCII bug Nov 17, 2026

This branch has not been deployed

No deployments
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.

1 participant