News for hackers. Stuff that matters.
Re:A Dark Room - minimalist text-based game by cheapsteak on Saturday June 29, 2013 @01:36AM (#5961576)
$('#roomPanel').width(350);

See inside and outside at the same time

Re:A Dark Room - minimalist text-based game by Hario on Saturday June 29, 2013 @12:12PM (#5962830)
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 by harrisonpowers on Wednesday July 03, 2013 @01:52PM (#5986286)
Was getting undefined errors with that..

This works:

function pushGather(){if(!$("#gatherButton").hasClass('disabled')){$("#gatherButton").trigger('click');}}setInterval(pushGather, 1000);

function pushCheck(){if(!$("#trapsButton").hasClass('disabled')){$("#trapsButton").trigger('click');}}setInterval(pushCheck, 1000);

function pushStoke(){if(!$("#stokeButton").hasClass('disabled')){$("#stokeButton").trigger('click');}}setInterval(pushStoke, 60000);

Re:A Dark Room - minimalist text-based game by libria on Saturday June 29, 2013 @07:12PM (#5964034)
Here's a way to get the ship, max out the hull, launch and win:

    Ship.init();State.ship = {hull:10000, thrusters:10000};Ship.liftOff();
Dodging optional.