Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surrender Button added #702

Merged
merged 22 commits into from
Aug 5, 2024
Merged

Surrender Button added #702

merged 22 commits into from
Aug 5, 2024

Conversation

hars-21
Copy link
Contributor

@hars-21 hars-21 commented Aug 5, 2024

PR Description 📜

Added a surrender button which when clicked asks for confirmation and if it confirmed. It removes the current player who surrendered.
If only 2 people are playing then the other becomes the winner
else the game continues.

Fixes #560


Mark the task you have completed ✅

  • I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
  • I have performed a self-review of my own code or work.
  • I have commented my code, particularly in hard-to-understand areas.
  • My changes generates no new warnings.
  • I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
  • I have added screenshot for review.

## Add your screenshots(Optional) 📸

Screen Shot 2024-08-05 at 4 44 15 PM
Screen Shot 2024-08-05 at 4 44 27 PM
Screen Shot 2024-08-05 at 4 44 44 PM
Screen Shot 2024-08-05 at 4 44 47 PM



Thank you soo much for contributing to our repository 💗

@hars-21
Copy link
Contributor Author

hars-21 commented Aug 5, 2024

@ayush-t02 Please merge my previous PRs before merging this one. #700 #684

@ayush-t02 ayush-t02 merged commit 128d035 into ChromeGaming:main Aug 5, 2024
1 check failed
@hars-21 hars-21 deleted the surrender branch August 7, 2024 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[New Feature]: Add exit game button
2 participants