-
jquery.terminal
jQuery Terminal Emulator - JavaScript library for creating web-based terminals with custom commands
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Creating such a styled console website or fake terminal website is easier if you have a library that will give you the look and feel of the real terminal emulator, with a nice API to create commands, so you don’t need to create it from scratch. We will use the JavaScript Terminal library: jQuery Terminal, which gives a simple, but powerful API to create interactive terminals on any website. The library doesn’t use any HTML5 features and uses ES5 so it will work on any Browser even in IE11.
With jQuery Terminal, you can also create a backend quickly if you create a JSON-RPC service. Here is the list (not complete) of JSON-RPC implementations.
When I was working on one paid git I’ve come up with a kind of engine that was driven by a JSON file. It was a kind of interactive game or very poor text adventure game. I’ve asked the person for whom I created this project if I can publish the game so others can use it. It was very cool. Later I came up with something even better. My own programming language that compiles into JavaScript. The project is in Beta version and I still need to work on the playground and documentation. You can check it out. Here is Gaiman’s GitHub repo. If you want to create a complex project with user interaction, it may be easier to do this with Gaiman, since it simplifies things. The same code in JavaScript will be much more complex.
Related posts
-
Ideas of defining mini parser that handle text adventure text-based input
-
Gaiman: Programming language for text-based games in browser
-
Mastering Web Animation with JavaScript Libraries: A Comprehensive Guide
-
React Refs Ritual: Managing Focus, Selections, and More.
-
Como foi fazer um decodificador do zero para o projeto final da 1ª parte do OracleONE