rando-idiot / Terminus.JS

A somewhat small incremental game played in a web terminal.
Creative Commons Zero v1.0 Universal
0 stars 1 forks source link

First message #4

Open Bleb1k opened 4 hours ago

Bleb1k commented 4 hours ago

use info(); for, well, info. lol. this is not readable

you may as well display this at the start also, there is a convention to have this style of thing named help and have a structure for it like so:

$ deno help
Deno: A modern JavaScript and TypeScript runtime

Usage: deno [OPTIONS] [COMMAND]

Commands:
  Execution:
    run          Run a JavaScript or TypeScript program, or a task
                  deno run main.ts  |  deno run --allow-net=google.com main.ts  |  deno main.ts
    serve        Run a server
                  deno serve main.ts
    task         Run a task defined in the configuration file
                  deno task dev
    repl         Start an interactive Read-Eval-Print Loop (REPL) for Deno
    eval         Evaluate a script from the command line

  Dependency management:
    add          Add dependencies
                  deno add @std/assert  |  deno add npm:express
    install      Install script as an executable
    uninstall    Uninstall a script previously installed with deno install
    remove       Remove dependencies from the configuration file

for your application it may look like

$ help()
Terminus.JS

Commands:
  help()    Show this.
  shop()    Show a shop.
  update()  Update your money. (what does this mean???)
  etc...
rando-idiot commented 4 hours ago

Cool, ill add this asap!

rando-idiot commented 4 hours ago

(update btw is how you get more points in case you couldnt tell)

rando-idiot commented 4 hours ago

(ill make that tutorial bit better later on)

rando-idiot commented 4 hours ago

uhhhh le suggested code no workies (i feel like im being dumb ;-;)

rando-idiot commented 4 hours ago

i say that because upon checking it in a syntax validator it said "no"

Bleb1k commented 4 hours ago

i need to know what is your workspace

Bleb1k commented 4 hours ago

and why you have to use external syntax validator

rando-idiot commented 4 hours ago

im using visual studio and it says everything is good syntax no matter what so :3

Bleb1k commented 4 hours ago

there's difference between visual studio and VSCode, plus setup is not only the app, but tools (extensions) in the app, and configs

rando-idiot commented 4 hours ago

image this is what im using

rando-idiot commented 4 hours ago

this thingy

Bleb1k commented 4 hours ago

use this for web: VSCode

Bleb1k commented 4 hours ago

It has the features I mentioned earlier.