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

Interfacing quixe from JavaScript #50

Open
mschatten opened this issue Jan 26, 2023 · 0 comments
Open

Interfacing quixe from JavaScript #50

mschatten opened this issue Jan 26, 2023 · 0 comments

Comments

@mschatten
Copy link

Hello and thank you for this great interpreter :)

I am sorry if I am missing something, but I am unable to find a possibility to send user input to the interpreter and get a response back with JavaScript. I have tried to search for suitable workarounds (e.g. manipulating DOM and sending keypress events; trying to find functions in your code similar to submit_line_input that I could use etc.) but to no avail for now.

What I would like to do is to create an IF (using Inform) and your interpreter that has buttons for usual commands (like inventory or take etc.). Is it possible to call some function from quixe/glkote to do this?

Best regards

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