Better HN
topnewbestaskshowjobs
Log inSign up

__brian__

6 karma · joined Oct 4, 2013 (13y ago) · 6 submissions

Submissions

comment 12y ago · link · parent

Its possible to play the same level over and over again if you fail by closing your tab and reopening it in Chrome (CTRL+w CTRL+SHIFT+t)

comment 13y ago · link · parent

Yup:

  =(function(){console.log("hehehe");})()

3.

Show HN: FizzBuzz as a service(fizzbuzz-as-a-service.com ↗)

2 points · by __brian__ · 13y ago · discuss

comment 13y ago · link · parent

Actually, that's too slow.

  ig.game.nextWave();
I advanced to wave 10,000 and while its probably impossible for a human, the difficulty doesn't seem to scale as I expected.

comment 13y ago · link · parent

Pretty fun but real repetitive. I had a peek at your javascript to find out where the words were coming from and discovered the game can be beat with one simple line of javascript:

   window.setInterval(function() {ig.game.entities = [];}, 1000);
hehe :)

comment 13y ago · link · parent

I have been using Awesome for a couple years now, and it has a great solution to this problem. You can add a rule to a window class (MPlayer creates a window with the class "MPlayer" for example) and set the "floating" property to true. The property can of course be toggled with a keyboard shortcut which is very handy with lots of terminals.