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

Design question for chess-like game (get calculated attribute from request) #873

Open
MartenBE opened this issue Jan 5, 2023 · 0 comments

Comments

@MartenBE
Copy link

MartenBE commented Jan 5, 2023

Hello everyone, I have developed a chess game backend with crnk.io . Here I made a repository for games, players and moves. Everything works with the crnk annotations and repositories, but now I am in need of some additional functionality. I'd like to request all possible moves from the backend for the position in a certain game. What is the best way to go about this? I don't want to store this information, but like it to be a part of the game repository. So I'm guessing a custom parameter in the request and a meta object in the response? Unfortunately, I don't find any examples on how to achieve this ... Can someone give me some pointers?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant