Bashy is (to be) a web-based adventure game where players control a character exclusively through a command line.
Play it here: http://bruab.github.io/bashy/
Feel free to leave feature requests as issues!
Web-based game designed to teach command line usage and basic Linux tools
License: MIT License
Bashy is (to be) a web-based adventure game where players control a character exclusively through a command line.
Play it here: http://bruab.github.io/bashy/
Feel free to leave feature requests as issues!
print them to the console, not the terminal
can now handle "cd ./foo" but if i say "cd ." it changes cwd from "/home" to "/home/" (for example).
need coherent strategy for handling trailing/extraneous slashes. prolly just a slash strip function that every path gets passed through before it's finalized.
need more sophisticated parsing of paths, informed by coherent policy on "path as string" vs "path as actual directory with children and stuff"
if you start out in root and type 'cd illegal/path', you go nowhere. this fools the Task into thinking you 'navigated to root'.
The man pages don't really have a first line that says the typical command-line. For instance:
ls [-r] [file name]
or something to let us know the order of the arguments. For sed, for instance, I never remember whether the file name is before the "s/xx/xxx/" stuff or after…
not super important but that's how it works in *nix
Not sure if it's feasible, but of course TAB completion would be nice
IRL when called with no args it takes input from stderr; i've never used it this way and not sure if it's a necessary feature for 1.0
I am getting annoyed at how narrow the terminal window is… perhaps it would be possible to widen it a bit?
We sort of need something to create a file with some content? I am not sure. I was thinking of "echo hello > foo.txt". But that gets us into the file redirection… perhaps too much. And not very powerful anyway…
"cd /et" doesn't complete.
"cd /etc/c" does.
i thought last commit produced a proper echo via the BashyOS object, but it's not working
instead of /home
Could the terminal window be larger, and could there be some scrollbar or way to go back?
For starters, make
cat /home/bashy/foo*
work
Hi Brian,
Really enjoyed your presentation yesterday. It would be helpful if you had link to the demo in the readme of your project.
Keep up the good work!
Neet to test latest Chrome on Windows
if i type 'cd ' the command fails
When in home, "cat bashy/foo.txt" says no such file, but "cd bashy; cat foo.txt" works
try it anywhere but root and get an error, wtf
This solution to “navigate to /etc” doesn’t work:
$ cd /etc/conf/..
Invalid path: /etc/conf/..
Works for /home/ba but not for /home/bashy/foo
same thing as 'wc', it takes stdin if you provide no path. i have never used this. is it useful?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.