4 ms·
> I was greatly disappointed with this book because none of the 'Game' examples had a graphical interface to them. They are all text based. Chapter 19 is title
by stevelosh 9y ago
> I was greatly disappointed with this book because none of the 'Game' examples had a graphical interface to them. They are all text based.
Chapter 19 is titled "Creating a Graphical, Web-Based Version of Dice of Doom".
- Vekz 9y agoUnfortunately, 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