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

Update to the new Akinator API #21

Merged
merged 31 commits into from
Apr 14, 2024
Merged

Update to the new Akinator API #21

merged 31 commits into from
Apr 14, 2024

Conversation

markozajc
Copy link
Owner

@markozajc markozajc commented Apr 13, 2024

This closes #20

Roadmap

  • Figure out how the new API works
  • Translate RE work into low level Route(s)
  • Update Akiwrapper's entities to support new routes in a coherent manner
  • Update AkiwrapperExample to support the updated entities
  • Update documentation (including README.md)
  • Update tests to support the updated entities
  • Merge and release

@markozajc markozajc linked an issue Apr 13, 2024 that may be closed by this pull request
@markozajc
Copy link
Owner Author

TODO: Only call IntegrationTest in the cron workflow

The game is now in a playable state
While Akinator will sometimes awkwardly propose the same guess multiple
times in a row, ignoring such guesses means we repeat the same question
number multiple times (since the step doesn't increment after a guess).
I've opted to do what the website does, which is of course to annoy the
user by proposing the same guess multiple times.
Since we call methods on Query objects now, this situation can't happen
anymore
@markozajc markozajc marked this pull request as ready for review April 14, 2024 14:24
@markozajc markozajc merged commit afb1fe3 into master Apr 14, 2024
1 check failed
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

Successfully merging this pull request may close these issues.

IllegalStateException: Couldn't find the API key!
1 participant