You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27-16Lines changed: 27 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,16 @@
1
1
# NodeToJS
2
2
NodeToJS is a module/library at once: a module for NodeJS and a library for Javascript (JS). It allows to create text based apps/games that can be executed and work both in the terminal (for Windows, Linux or Mac) and in a web browser. That is, with the same code you will create a CLI app/game and a text-based webapp/webgame.
3
3
4
+
Features:
5
+
- Use canvas to simulate the terminal.
6
+
- Draw text with foreground color and background color.
7
+
- Read key events
8
+
- It has no user text input fields (for now).
9
+
4
10
### Use:
5
11
The minimum files you need are four:
6
12
- A wrap file: app.html
7
-
- A monospace font. I recommend: HP_100LX_10x11.woff
13
+
- A monospace font. I recommend woff files. For example:WebPlus_ToshibaSat_9x16.woff
8
14
You can get old PC fonts here: https://int10h.org/oldschool-pc-fonts/fontlist/
9
15
- The NodeToJS module/library: NODEtoJS.js
10
16
- Your main .js file. app.js
@@ -16,35 +22,40 @@ The minimum files you need are four:
0 commit comments