Giter Site home page Giter Site logo

sisimomo / hexagonalchess-backend Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 309 KB

The backend of my Hexagonal Chess portfolio project.

Home Page: https://hexagonalchess-api.zucchi.dev/swagger-ui/index.html

License: MIT License

Dockerfile 0.17% Java 99.83%
chess hexagonal-chess java portfolio spring spring-boot

hexagonalchess-backend's People

Contributors

sisimomo avatar

Stargazers

 avatar

hexagonalchess-backend's Issues

STOMP error topics

Summary

I propose implementing a feature that involves sending STOMP messages to a designated error topic whenever a message results in an error. This will facilitate informing users about encountered errors.

Basic example

To achieve this, we can establish error topic for each user and each game. This setup will empower the backend to communicate message-related issues back to the emitter.

Motivation

The current system lacks error reporting. Consequently, when a user makes an unauthorized move, for instance, the backend doesn't report any error. This feature would address the absence of error notification and enhance user experience.

Fix Typos and Minor Errors

Description

I've noticed some typos and minor errors in the codebase that need to be addressed for improved code quality and readability.

Details

  • Some typos have been identified in comments.
  • Minor errors, such as incorrect indentation and inconsistent formatting, have been observed in various code files.
  • These issues don't affect the functionality of the project but can impact the overall code clarity.

Impact

Fixing these issues will enhance the maintainability of the codebase and contribute to a more polished project.

Allow User to Surrender a Game

Summary

Currently, there is no mechanism in place to allow users to voluntarily surrender a game. This feature would enable users to concede a game, granting victory to the opponent.

Basic example

Introduce support for the existing but not implemented UpdateMessage type called "SURRENDER," which would trigger the surrender action in the game.

Motivation

In various scenarios, a user might want to exit a game for any reasons, and having a surrender option provides a graceful way to do so. Surrendering not only acknowledges the opponent's victory but also maintains the spirit of fair play and good sportsmanship.

By incorporating this feature, we enhance the user experience and ensure that games are enjoyable, respectful, and accommodating.

Simplify Keycloak Implementation

The current implementation of Keycloak integration in the project appears to be more complex than necessary.

We should strive to simplify the Keycloak integration. One example of a simplified Keycloak configuration can be found in the Baeldung guide here, where they demonstrate how to configure Keycloak using only a few application properties.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.