4 ms·
Unfortunately, this web-based version is just printing text to the browser instead of a repl in the other examples.
by Vekz 9y ago
Unfortunately, this web-based version is just printing text to the browser instead of a repl in the other examples.
- stevelosh 9y agoBy "text" do you mean "SVG code that is rendered into images the user can click on"? Because that's what it's doing: https://i.imgur.com/iqdZ8l4.png https://i.imgur.com/iqdZ8l4.png and I think calling that a "text based" game is wrong.
- TeMPOraL 9y agoUsing a local web browser as your user interface is a valid method for making user interfaces; in fact, it's a very cool and cheap one - all it takes is to embed a HTTP server in your application and have it output HTML/CSS/JS (+ SVG for extra pretty graphics).
- throwaway7645 9y agoThis is the standard way to do user interfaces in Picolisp. If you've never toyed with Picolisp, check it out. It is a very opinionated lisp. https://picolisp.com/wiki/?home https://picolisp.com/wiki/?home