Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add console world #78

Open
badlogic opened this issue Oct 31, 2018 · 0 comments
Open

Add console world #78

badlogic opened this issue Oct 31, 2018 · 0 comments
Labels
enhancement New feature or request Frontend

Comments

@badlogic
Copy link
Owner

badlogic commented Oct 31, 2018

provide a super simple shell that comes with some standard built-in Unix-y utilities, a text editor, and a virtual, persistent, file system!

Functions & types

record file
   name: string
   path: string
   length: number
   isDirectory: boolean
end

readFile(path: string): string
writeFile(path: string, content: string, append: boolean)
deleteFile(path: string)
listFiles(path: string): list<file>

print(message: string)
input(): string
@badlogic badlogic added enhancement New feature or request Frontend labels Oct 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Frontend
Projects
None yet
Development

No branches or pull requests

1 participant