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 API surface to Kinoko so that it can be used by external callers #85

Open
ElectrifiedStrawberry opened this issue May 15, 2024 · 1 comment
Labels
engine Code involving engine (C++) feature New code P4 Priority: Trivial

Comments

@ElectrifiedStrawberry
Copy link

Discussed a little bit on Discord here: https://discord.com/channels/214574342137315328/1047962335286919260/1237788120297111777

Essentially the idea being is that you'd be able to link via some API to Kinoko then step through the game and get parts of the game state.

For example a naive frontend implementation (again not hung up on specifics or even a lot of the generalities but this is a extremely rough sketch of my idea for thinking about it for 3 seconds) would be something like

Kinoko* k = /* ... */
do {
  k->doFrameStep();
  graphics.updatePos(k->/* ... */);
  waitABit();
} while (!k.raceIsFinished());

Related somewhat to #63.

@vabold vabold added engine Code involving engine (C++) P4 Priority: Trivial labels May 15, 2024
@vabold
Copy link
Owner

vabold commented May 15, 2024

This is, at the moment, a long-distance goal. I will adjust the priority accordingly when we reach this point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine Code involving engine (C++) feature New code P4 Priority: Trivial
Projects
None yet
Development

No branches or pull requests

2 participants