Skip to content

Add a GamesCrafters UWAPI server query option #28

@maxfierrog

Description

@maxfierrog

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions