My OS(Like) thing called MyCMD V 1.3
AbhayBhat (95)

MyCMD V 1.3

has been released. This is actually based the latest version of TextAPL and I made some changes to it which includes

  • I changed the name to MyCMD
  • The style changed to a Command Line style(IDK what to call it)
  • I removed the file manager and replaced so that it actually created REAL txt files and not just some text in an ArrayList
  • Added a die you can roll
  • Added a coin you can flip
  • I added a bit of Color
  • And finally changed the "Guessing game" to be MUCH simpler(in code)

Thanks to @DynamicSquid for telling me what this should be called(lol, I was so confused).

If you have any ideas to make it better or new features to add(Because it still is really small), Please tell me in the comments!

Thank you to all upvotes and comments

Also, I added some secret commands in it(Thanks @CodeLongAndPros for the suggestions). If you find one and tell me in the comments, I will give you an upvote. Also, absolutely NO cheating by looking in the code.

Quick correction: The time command was supposed to show PST time but it was one hour ahead, fixed that to the correct PST time.

Quick correction 2: Now you can enter HELP or HeLp or hElP because it automatically converts the string to lowercase!

THANK YOU ALL SO MUCH, I HAVE HIT 50 CYCLESSS. I feel so proud, thank you all.

You are viewing a single comment. View All
awesome10 (197)

@DynamicSquid oh :( how do they work? me too busy fighting ender dragon (see status or bio or whaterver)

DynamicSquid (1971)

@awesome10 they are only local to the user

DynamicSquid (1971)

@awesome10 According to @AmazingMech2418:

What happens is that creates a randomized file system on the user's end for every time a user views the repl while for the owner, the file system is always in /home/runner. /home/runner is the only file system path that actually will save in a given repl and all other randomly generated paths will disappear on reload or page close. The only way to allow other people to access the /home/runner file system is to use a server and within the server, based on requests from the client, write to files and read files.

AbhayBhat (95)

@DynamicSquid Thank you for explaining, I wish i knew how to do that :(

AmazingMech2418 (656)

@AbhayBhat @awesome10 To allow the file system to save, you can simply make a basic server. I've never created a server in Java (I'm honestly not sure if would support that anyways), but it is fairly simple to create a Node.js server using Express. Then, you can make all i/o requests simply requests to the server which handles the files on its own end. It is possible to embed a server in an application like this (I made a whole template about it in JavaScript), but it might just be easier to make the server a separate repl.

AbhayBhat (95)

@AmazingMech2418 Thanks for explaining as well. I believe JS or php would work either, right?

AmazingMech2418 (656)

@AbhayBhat You're welcome! And, yes, JS or PHP would work for this. I personally prefer JS, but really, anything you can use to create a server can be used.

ImplodingBug (3)

@ImplodingBug Using an module to get and display data(like wget in bash) you can get data from a web server in PHP, and then depending on the get statement display different things.