Show HN: Halloween game to show off my new Terminal (joel.tools)
Hi hi,
I made a little Halloween themed game this week to show off my new terminal. You can play it in the browser. at https://joel.tools/halloween/
Two years ago, I started building an experiment tracking tool for myself as I have been venturing into ai research, and it has morphed into a terminal with rich content support and a bunch of fancy features. https://github.com/JoelEinbinder/snail/
I can't recommend people start using snail for important stuff today, but I think the game is fun and it shows off a lot of the capabilities of the terminal.
Joel Einbinder
31 comments
[ 3.5 ms ] story [ 80.6 ms ] threadSuper fun little game.
I don't have an iPad to test on but I'll try it out in the simulator. I assume you were using an attached keyboard? I would guess that the soft keyboard would not appear in the monster fights.
I'm a total scaredy cat.
There is no bash running here, but I can promise nothing in the game is scarier than JavaScript!
Wondering out loud: is it possible to generate an atmospheric horror tale like "Anchorhead" via prompts? Perhaps it's already possible.
for(let i=0; i<=8; i++) for(let j=0; j<=8; j++) for(let k=0; k<=8; k++) for(let l=0; l<=8; l++) ls ${i}/${j}/${k}/${l}
for(var i=0;i<2;i++) for(var j=0;j<2;j++) for (var k=0;k<2;k++) for (var l=0;l<2;l++) ls ${i}/${j}/${k}/${l}
This did nothing, so I'm not sure if you fixed it or just placed a cap on how much js you are executing... (should have at least shown 16 frames)
for(var i=0;i<8;i++) for(var j=0;j<8;j++) for (var k=0;k<8;k++) for (var l=0;l<8;l++) open ${i}/${j}/${k}/${l}
Is/was producing a nice log of things not opened...of course my browser tab is busy logging 6 GB+ of history (does your terminal have a scrollback limit?)
Cute game, maybe I'll try to open the box later after I get some sleep. Not sure what I would use the terminal for, though - is basically what you're trying to do an interactive scratchpad with history?
If that's the case, I would look into Jupyter e.g., I'm not sure I get the point otherwise.
I'm honestly not sure if the web sandbox I made has enough realism to solve that puzzle though programming. There is a feature of snail that I was using to get past it.
lags after the second fight at fullres on firefox, maybe its my plugins?
Had to use CTRL + P on mac for search to pop up vs CMD + P
Ninja edit: zooming in and out once gets the window to fill the screen. I can continue from there...
The "find" command would be very helpful for the last step (to get the passcode).
I found that you can do "ls 0/0/0/0 0/0/0/1 ..."
So I wrote a python program to print out the ls command that shows all directory contents :)