TheAlgorithms/C-Plus-Plus

[FEATURE] Creating a Tic-Tac-Toe game in CPP

rogerdemello opened this issue · 13 comments

Detailed description

This is a Tic-Tac-Toe game in C++.

Context

This is for the coders/programmers who want to implement Tic-Tac-Toe in C++.

Possible implementation

No response

Additional information

No response

can u assign me this issue

can you assign this to me.

Here’s a simplified description for implementing Tic-Tac-Toe in C++:

Create a 3x3 board using a 2D array to represent the game grid.
Display the board after each move so players can see the current game state.
Take input from the players (Player 1 = 'X', Player 2 = 'O') for selecting a position on the grid.
Check for a win after each move by verifying if three symbols are aligned in a row, column, or diagonally.
Check for a draw if all positions are filled and no one has won.
Alternate turns between Player 1 and Player 2 until there is a winner or a draw.
Display the result and offer the option to restart the game or exit.

i have updated it

Hi @rogerdemello !! Can you assign me this issue?

Please understand that assigning issues is a needless gesture, just create a pull request.
But in this case a pull request has already been made. #2769

@rogerdemello i want to work on this can you assign me this

tag him bro @rogerdemello

can u assign me this issue

I have already solved it, can you please assign me this issue

@AnkitGSingh i have already make pr, so its better thaṭ you work on other issue

hey @rogerdemello can you assign me this

This issue has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Please ping one of the maintainers once you add more information and updates here. If this is not the case and you need some help, feel free to ask for help in our Gitter channel or our Discord server. Thank you for your contributions!