face-hh / bussin

An esolang in TypeScript, for heaven's sake.
Apache License 2.0
566 stars 37 forks source link

[Feature Suggestion} Input #10

Closed etherealxx closed 11 months ago

etherealxx commented 11 months ago

Was about to make a simple game with this, but just realized that there's no way for user to have input. I don't know how hard it would be to add that, this project itself is already lookin hard. Just a simple int/char input would be nice. Really appreciated if it'll be added, but also understandable if not.

Polygons1 commented 11 months ago

adding that rn to my fork

face-hh commented 11 months ago

Was about to make a simple game with this, but just realized that there's no way for user to have input. I don't know how hard it would be to add that, this project itself is already lookin hard. Just a simple int/char input would be nice. Really appreciated if it'll be added, but also understandable if not.

I managed to get a somewhat working function for it, although it's disconnected from the terminal APIs and therefore only displays the question without showing what the user is typing (visually).

It will be added in the next version as yap (bsx) or input (bs).

face-hh commented 11 months ago

Added in 25b992a