javascript_terminal_v3
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
javascript_terminal_v3 [2023/11/30 02:32] – appledog | javascript_terminal_v3 [2023/11/30 02:37] (current) – appledog | ||
---|---|---|---|
Line 97: | Line 97: | ||
In a real VM, the code would not be stored in a program[] array but in memory[] and read from there by the interpreter. There are lots of little design clashes between the idea of a VM, the idea of a Game (NetWhack) and the idea of s hybrid scripting language written in Javascript. They are not really compatable. So for a V4 the goal will be to pare down and really isolate the functionality of Terminal, and to clean up main by making a class Screen, and also perhaps a class Keyboard, class Mouse, etc. | In a real VM, the code would not be stored in a program[] array but in memory[] and read from there by the interpreter. There are lots of little design clashes between the idea of a VM, the idea of a Game (NetWhack) and the idea of s hybrid scripting language written in Javascript. They are not really compatable. So for a V4 the goal will be to pare down and really isolate the functionality of Terminal, and to clean up main by making a class Screen, and also perhaps a class Keyboard, class Mouse, etc. | ||
+ | |||
+ | == Bugs | ||
+ | Well, there are still a few ' | ||
== Final Thoughts | == Final Thoughts |
javascript_terminal_v3.1701311541.txt.gz · Last modified: 2023/11/30 02:32 by appledog