-
Notifications
You must be signed in to change notification settings - Fork 321
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
Add option to forfeit/quit an active game session #111
Comments
Hi @pauloserrafh, thanks for opening up an Issue. 😺
I agree 👍 , sounds like a good plan of action.
There is an "endless-mode" in this game however only when you reach the target score tile (2048). You are then presented with an option to activate it (to continue playing to gain higher scores). So as you rightly saw, the "mechanics" of a "player to quit current game and return to main-menu" semi-exists, it just hasn't been fully fleshed-out yet! 😸 |
Would your suggestion be best implemented like this? Scenario / Story: Player is playing a 2048 session but needs to quit session early.
|
Hello @tcoyvwac,
IMO, there should be no difference between endless mode and regular mode. It doesn't matter which one you choose, the game always start the same way and the difference is that if you don't want to play after you reach 2048, you just choose the option to don't continue. I'd like to take a shot at it, if you (or someone else) hadn't yet started. I might not be able to work on this until the weekend, tho. |
@pauloserrafh, apologies for the delay! Efforts are welcomed in the project and we appreciate yours 🐱! I am all for an endless-mode in the game! If you would like to take the challenge of the scenario / story listed earlier, feel free too! So, to answer your numbered points:
Your issue has spurred me to finish a change in the codebase which touches upon some code you have mentioned at the start of this issue. May I ask, because of this, could you wait for 7 days or so and update your knowledge on the altered codebase after the incoming merge? Please note, the general solving of the challenge ("quit-2048-session-while-in-play-early") would basically be tackled the same way (regardless of the incoming codebase update or not), just some of the API called and used would be slightly different. As for adding an "endless-mode" as a promoted / first-class feature and the plans for that, please feel free to make a new GitHub issue on the matter. Of course, looking forward to discussing and focusing further with you on making it happen! 🚀 😸 |
Hi @tcoyvwac, Sorry for causing the confusion, indeed the point of the issue was to focus on having a method to quit the current session without having to interrupt the program.
When I said this I was talking about the original point of the issue, but re-reading I see now that was a bit confusing given how I wrote, mb. Waiting for the updated codebase, then! :) |
Rather than having to
ctrl+c
to end the current game in progress, there could be an option to forfeit/quit the current game and return to menu.I've noticed that there is already an
CODE_HOTKEY_QUIT_ENDLESS_MODE
that is somewhat similar to the proposed idea, but as far as I could tell, the endless mode is not yet implemented (is that right?).The text was updated successfully, but these errors were encountered: