Live data from Hacker News

Show HN: Halloween game to show off my new Terminal

joel.tools

11–20 of 32 posts

Re: Show HN: Halloween game to show off my new Terminal

#11

My first commands: >> ls -a >> cat help.txt >> pushd neighbors_house I got back: "pushd not found." >> cd .. I'm a total scaredy cat.

TIL pushd. I should go add that to snail. There is no bash running here, but I can promise nothing in the game is scarier than JavaScript!

also: cd -

Re: Show HN: Halloween game to show off my new Terminal

#14
post #13

Nice way to get me to look up your docs on how to search files! My first attempt managed to hardlock the game: 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}

:O yeah I should fix that. That is going to create 6000 elements. I don't think your web browser would be happy.

Re: Show HN: Halloween game to show off my new Terminal

#15
post #3

Despite the warning that it might not work on mobile, it works quite well on my iPad… that said, a few of the monster fights happened at just over postage-stamp resolution. Super fun little game.

Thanks! 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.

Correct, I was indeed using an attached keyboard. And I also wouldn’t expect the soft kb to behave properly either on the iPad or a phone.

Re: Show HN: Halloween game to show off my new Terminal

#17
post #13

Nice way to get me to look up your docs on how to search files! My first attempt managed to hardlock the game: 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}

:O yeah I should fix that. That is going to create 6000 elements. I don't think your web browser would be happy.

Sadly that is exactly my case where it stopped responding. I thought it was your design goal! And I don't want to walk through the adventure again, especially after I jumped off the platforms twice.

Re: Show HN: Halloween game to show off my new Terminal

#18

Earlier quoted context omitted.

:O yeah I should fix that. That is going to create 6000 elements. I don't think your web browser would be happy.

Sadly that is exactly my case where it stopped responding. I thought it was your design goal! And I don't want to walk through the adventure again, especially after I jumped off the platforms twice.

Well I fixed it for the next person at least. It is still a bit laggier than it should be but it will no longer crash your browser. Thanks for playing!

Re: Show HN: Halloween game to show off my new Terminal

#19

Earlier quoted context omitted.

Sadly that is exactly my case where it stopped responding. I thought it was your design goal! And I don't want to walk through the adventure again, especially after I jumped off the platforms twice.

Well I fixed it for the next person at least. It is still a bit laggier than it should be but it will no longer crash your browser. Thanks for playing!

  for(var i=0;i
^ this made some odd looking number folders. No idea which folder was in which folder, but, ok...

for(var i=0;iThis 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;iIs/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.

Re: Show HN: Halloween game to show off my new Terminal

#20
post #19

Earlier quoted context omitted.

Well I fixed it for the next person at least. It is still a bit laggier than it should be but it will no longer crash your browser. Thanks for playing!

for(var i=0;i ^ this made some odd looking number folders. No idea which folder was in which folder, but, ok... for(var i=0;i 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 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…

I made it so that it short circuits the frame creation of if there aren't going to be any files to show in that directory.

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.

Post reply on HN