ChromeGaming / Dot-Box

Dot-Box is a game where players take turns drawing lines between dots to create boxes. The player who completes the most boxes wins. It's a simple yet strategic game enjoyed by people of all ages.
https://chromegaming.github.io/Dot-Box/
MIT License
105 stars 189 forks source link

[New Feature]: Add exit game button #560

Closed hars-21 closed 1 month ago

hars-21 commented 1 month ago

๐ŸŽฎ feature Request

feature logic and basic description

It will be better to implement a button to exit the game. The user presses the exit game button then an alert will ask for confirmation. If responded yes the current tab(game.html) will close and the user will return to home page.

Point down the features

feature points

A new button implementation to exit the game. Confirming the exit will navigate the user back to home page and closes the game tab.

Select program in which you are contributing

GSSoC24

Code of Conduct

github-actions[bot] commented 1 month ago

Hey @hars-21! ๐Ÿ‘‹

๐Ÿ‘‰ Thanks for opening this issue. We appreciate your contribution and will look into it as soon as possible. ๐Ÿ‘‰ Donโ€™t forget to star our Dot-Box and Follow Us on GitHub ๐Ÿ‘‰ Make sure you join our Discord, we have created separate channels for all projects

ayush-t02 commented 1 month ago

instead of an exit button, you can work on surrender buttons for both users. whoever surrenders loses

hars-21 commented 1 month ago

@ayush-t02 Assign it to me. I'll work on surrender button.

github-actions[bot] commented 1 month ago

Thank you for your contribution! If you have any questions or need further assistance, feel free to reach out to us on our Discord server: Discord. We have separate channels for all projects. Happy coding! ๐Ÿš€

Connect with us on social media: