Live data from Hacker News

A Dark Room - minimalist text-based game

adarkroom.doublespeakgames.com

141–150 of 245 posts

Re: A Dark Room - minimalist text-based game

#142
post #75

Is there anything cool after getting the spaceship? I can't keep playing, but I will if I can get more of a fix....

Seriously... I just completed the spaceship sequence and I'm too mad to even react properly (per HN standards). I knew this was gonna happen and it did happen. Shame on me.

--- SPOILER ALERT ---

Really enjoyed the game the whole way through, but I agree with other people on this thread, the ending (or lack of) kinda ripped my heart out. Glad I took some screenshots before flying off into space.

http://bit.ly/17K3a1D - Building Screen

http://bit.ly/12tUk37 - Production Screen

http://bit.ly/17K3ldl - Dusty Path Screen (After getting Compass)

http://bit.ly/14Eyk4u - Map Screen

http://bit.ly/17sIVSm - Starship Screen

Sorry, no screenshots of end sequence - was too busy dodging falling ASCII characters.

Re: A Dark Room - minimalist text-based game

#143
post #101

Earlier quoted context omitted.

Copy paste the game state from localstorage.

How?

If you're in chrome, open up dev tools, then hit resources, find the local storage on the left bar and click on the url. You'll see a gamestate key and the value. Copy the value, that's the entire game state. You can then create that same key on whatever other browser with that value.

Re: A Dark Room - minimalist text-based game

#144
post #128

Earlier quoted context omitted.

I don't know if that's necessary here. How is someone supposed to get to this page without knowing it's a game? And if someone that turned off javascript doesn't expect that a game might need code, well, I'll have more fun laughing as the door hits them on the way out than I would having 0.1% more traffic. (I would agree with you if there is some significant flow of visitors that don't already know it's a game, but n…

"And if someone that turned off javascript doesn't expect that a game might need code, well, I'll have more fun laughing as the door hits them on the way out" Have you ever heard of games that don't run within web browsers? That's what I thought this particular game might be. In fact, there is a slew of standalone, non-browser-based Interactive Fiction game engines like Frotz[1], Zoom[2], and Inform7[3] out there tha…

"That's what I thought this particular game might be." Well, you were wrong. This is a great game BTW. I'm hooked. Turn on JS and enjoy, or go play with what allow yourself.

Re: A Dark Room - minimalist text-based game

#145

I progressed with a rather slow pace but after the Egyptians came and asked me whether I wanted to help build a new pyramid for their current Pharaoh - as apparently I was a top architect known far-and-wide - things became interesting very quickly. With the gold I earned I could buy my own workers and I am now comfortably running a rivaling empire battling the Pharaoh which employed me earlier. I do seem to have trou…

I totally believed this comment, completed the game and liked it, but am slightly disappointed about not having built pyramids and fought pharaohs :)

Re: A Dark Room - minimalist text-based game

#148

This is probably a simple question, but I'm new to JavaScript: How did you create the side-scrolling animation effect that happens when you switch between locations?

jQuery is your friend.

I need to get into this, I'm trying to learn how to make UI more smooth and modern, and this game really does it well :)

Re: A Dark Room - minimalist text-based game

#149

Earlier quoted context omitted.

I ran this in console. just to automate gathering wood and trap checking, since forgetting to switch between panels is easy to do: function pushButtons(){if(!$("#gatherButton,#trapsButton").hasClass('disabled')){$("#gatherButton,#trapsButton").trigger('click');}}setInterval(pushButtons, 1000);

$('#roomPanel').width(350); See inside and outside at the same time

Here's a way to check traps, gather wood, and stoke the fire separately:

var stoke = function(){if(!$('#stokeButton').hasClass('disabled')){$('#stokeButton').trigger('click')}}

var check = function(){if(!$("#trapsButton").hasClass('disabled')){$("#trapsButton").trigger('click')}}

var gather = function(){if(!$("#gatherButton").hasClass('disabled')){$("#gatherButton").trigger('click')}}

g = setInterval(gather, 1000) c = setInterval(check, 1000) s = setInterval(stoke, 60000)

Re: A Dark Room - minimalist text-based game

#150
post #128

Earlier quoted context omitted.

"And if someone that turned off javascript doesn't expect that a game might need code, well, I'll have more fun laughing as the door hits them on the way out" Have you ever heard of games that don't run within web browsers? That's what I thought this particular game might be. In fact, there is a slew of standalone, non-browser-based Interactive Fiction game engines like Frotz[1], Zoom[2], and Inform7[3] out there tha…

It is a web based game and uses Javascript, there isn't anything specifically wrong with that. Why is it objectively superior to have distributable binaries that have to be compiled or ported for each architecture and OS? What is the fundamental advantage here? Honestly, aside from not making a point in your initial comment you chose to make it in an unnecessarily snarky manner. Completely uninteresting and irrelevan…

"It is a web based game and uses Javascript, there isn't anything specifically wrong with that. Why is it objectively superior to have distributable binaries that have to be compiled or ported for each architecture and OS? What is the fundamental advantage here?"

First, I much prefer open-source games, where I can see the code. So I would avoid binaries. And whether an app I use needs to be recompiled for some operating system other than the one I use is really not my problem.

Second, I loathe the move to making everything accessible only through the web, usually through bloated, insecure web browsers and crappy web technologies. If 99.9% of the web died tomorrow, I would be overjoyed. This includes virtually everything done in Javascript (not to mention Flash).

Third, I've yet to hear of an exploit of a standalone Interactive Fiction engine, while Javascript browser exploits are a dime a dozen. I prefer not to make my browser more vulnerable by running untrusted, unnecessary Javascript code.

Fourth, I don't want to be tracked through spyware like GoogleAPI, thank you very much!

"Honestly, aside from not making a point in your initial comment you chose to make it in an unnecessarily snarky manner. Completely uninteresting and irrelevant to someone saying "hey check out my game"."

Except that developers did find it interesting. Like the following comment from sillysaurus[1]:

  As a game developer, I care. Any sign that my potential audience is
  cut by a technology choice I make is valuable information to me.
And my comment clearly generated a lot of discussion, so I feel I made a positive contribution.

"If you don't want to check it out, then don't, it isn't necessary to share that non-information with the rest of us. I'm sure most of us (as I can see from the extended comments on this here) would have been more than happy to have a reasonable discussion on the pros and cons of browser based distribution of applications if you had started there instead of where you did."

I should have gone in to more detail as to why I am opposed to running Javascript in my browser, and why I prefer to run standalone apps rather than web-browser apps. And had I seen the gigantic backlash that my little comment generated, I would have -- had I not gone to sleep immediately after making my comment. So I'm replying now that I'm awake. I hope my current comment helps clear up why I made my initial (all too brief and snarky) comment.

[1] - https://news.ycombinator.com/item?id=5961281

Post reply on HN