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

Error messages when doing something wrong, or something goes wrong #275

Open
Zomis opened this issue Dec 26, 2021 · 3 comments
Open

Error messages when doing something wrong, or something goes wrong #275

Zomis opened this issue Dec 26, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request server-core vue-js-client Add functionality to the games-vue-client module

Comments

@Zomis
Copy link
Owner

Zomis commented Dec 26, 2021

When doing an illegal action, an error message shown in the client would be useful, just to get some feedback.

Sometimes this can be caused by an internal error in the server or game code as well. So handle more or less all exceptions by informing client that something went wrong.

@Zomis Zomis added enhancement New feature or request vue-js-client Add functionality to the games-vue-client module server-core labels Dec 26, 2021
@Zomis Zomis changed the title Error messages when doing something wrong Error messages when doing something wrong, or something goes wrong Dec 28, 2021
@Zomis Zomis self-assigned this Dec 28, 2021
@Zomis
Copy link
Owner Author

Zomis commented Jun 25, 2022

Should be made easier to accomplish with The Big Refactoring™ #302

@Zomis
Copy link
Owner Author

Zomis commented Jul 21, 2022

This is actually not that much related to The Big Refactoring™. The main missing thing is to show an alert in frontend when it receives an IllegalMove message

@Zomis
Copy link
Owner Author

Zomis commented Nov 14, 2022

This applies not only to making specific actions within games, but also to:

  • Creating invites
  • Starting game
  • The "random action" button
  • ... and basically everything else!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request server-core vue-js-client Add functionality to the games-vue-client module
Projects
None yet
Development

No branches or pull requests

1 participant