This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Raw data for https://www.reddit.com/r/bindingofisaac/comments/3v79hc/daily_run_point_breakdown_first_floor/ | |
Floor layout: http://imgur.com/OjdfFC1 (crawl space in room above shop, top right rock). | |
Run as lazarus, starts this run with an explosive pill. when he dies he gets Anemic, may offset certain scores as well. | |
stage bonus: | |
- 500 per floor | |
- dice 5 room does not count | |
-- (TBD) probably forgetmenow neither |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = 'a', b = 'b', c = 'c', d = 'd'; | |
a = 'a'; | |
var r = RANDOM(); | |
if (r < .5) { | |
b = a; | |
a = 'b'; | |
} | |
r = RANDOM(); | |
if (r < .33) { | |
c = b; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html style="margin: 0; padding: 0; border: 0; width: 100%; height: 100%;"> | |
<head> | |
<meta charset="utf-8"> | |
</head> | |
<body style="margin: 0; padding: 0; border: 0; width: 100%; height: 100%;"> | |
<canvas style="display: block; width: WIDTHpx; height: HEIGHTpx;" width="WIDTH" height="HEIGHT"></canvas> | |
<script> | |
// shim... | |
var a = canvas; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
importScripts('gifencoder/LZWEncoder.js', 'gifencoder/NeuQuant.js', 'gifencoder/GIFEncoder.js'); | |
self.onmessage = function(event) { | |
//console.log("message!"); | |
//alert("message"); | |
//self.postMessage(event.data); | |
var frame_index = event.data.frame_index; | |
var frame_length = event.data.frame_length; | |
var height = event.data.height; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// PubSub.subscribe('foo', function(name, value) {}); | |
PubSub.publish('foo', 'bar'); | |
PubSub.subscribe('foo', function(name, value) {}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var yielding = false; | |
function this_makeFive(n){ | |
var step = 1; | |
var v1, v0; | |
var f1, f0; | |
return function(){ | |
while (true) { | |
switch (step) { | |
case 1: | |
if (n === 3); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var yielding = false; | |
function this_makeFive(n){ | |
if (n === 3) return this_addOne(n)+1; | |
else if (n === 1) return this_addThree(n)+1; | |
else throw 'invalid input, can only hand 1 and 3'; | |
} | |
function this_addThree(n){ | |
return this_addOne(n) + 2; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function this_par_parseCatch(inFunction, inLoop, inSwitch, labelSet){ | |
if (this_tok_nextPuncIfString('catch')) { | |
var type = this_tok_mustBeNum(0x28, false); | |
if (type === 13) { | |
if (this_par_isReservedIdentifier(false)) this_tok_throwSyntaxError('Catch scope var name is reserved'); | |
this_tok_next(false); | |
} else { | |
this_tok_throwSyntaxError('Missing catch scope variable'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function this_tok_mustBeString(str, nextIsExpr){ | |
if (this_tok_getLastValue() === str) return this_tok_next(nextIsExpr); | |
this_tok_throwSyntaxError('Expecting current value to be ['+str+'] is ['+this_tok_getLastValue()+']'); | |
} | |
==> | |
var this_tok_returnIsYield = false; | |
function this_tok_mustBeString(str, nextIsExpr){ | |
var tag = 'start'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var q = Math, | |
r = 2 * q.PI, | |
w = q.sin, | |
x = q.pow, | |
y = q.max, | |
Q = q.sqrt; | |
// => | |
var q=Math,w=q.sin,x=q.pow,y=q.max,Q=q.sqrt,r=2*q.PI; |