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

Add a GamesCrafters UWAPI server query option #28

Open
maxfierrog opened this issue Apr 24, 2024 · 0 comments
Open

Add a GamesCrafters UWAPI server query option #28

maxfierrog opened this issue Apr 24, 2024 · 0 comments
Labels
feature New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@maxfierrog
Copy link
Member

Note: This not asking to make a complete web server; just to make this "callable" by a specific web server implementation.

Implement a UWAPI response option for the nova query command which fetches and prints some information stored in a database in a specific JSON format. This is dependent on the query system implementation, which will be used to fetch things from the database (and is a harder project).

This will allow UWAPI to fetch game information from nova in order to serve it to the GamesmanUni frontend (effectively making the games solved on nova playable with some additional frontend work).

Example

This project (including the --uwapi flag) should be hidden behind a "uwapi" feature flag.

$ nova query --uwapi "<position-string>"
{
  "position": "<position-string>",
  "children": [ ... ],
  ...
}

Recommended Courses (UC Berkeley)

If you can't tell whether this is out of your scope, we recommend the following experience:

  • CS 61A (minimum)
  • CS 61B
@maxfierrog maxfierrog added feature New feature or request good first issue Good for newcomers labels Apr 24, 2024
@maxfierrog maxfierrog self-assigned this Apr 24, 2024
@maxfierrog maxfierrog changed the title Make a web API server Make a GamesCrafteers UWAPI server option Apr 24, 2024
@maxfierrog maxfierrog changed the title Make a GamesCrafteers UWAPI server option Make a GamesCrafteers UWAPI server query option Apr 24, 2024
@maxfierrog maxfierrog changed the title Make a GamesCrafteers UWAPI server query option Add a GamesCrafteers UWAPI server query option Apr 24, 2024
@maxfierrog maxfierrog added the help wanted Extra attention is needed label Apr 25, 2024
@maxfierrog maxfierrog removed their assignment Apr 25, 2024
@maxfierrog maxfierrog changed the title Add a GamesCrafteers UWAPI server query option Add a GamesCrafters UWAPI server query option Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant