Skip to content

Commit

Permalink
Fixing Solver
Browse files Browse the repository at this point in the history
  • Loading branch information
Xenko committed Feb 10, 2014
1 parent de99aa6 commit e35a5c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BeachBall.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,15 @@ BeachBall.PuzzleConstructor = function(name) {
newStatement.claim[p] = this.ParseClaim(claimText);

// Updates variables and claim text for next loop
text = text.substring(text.indexOf("</table>") + 12, text.length);
text = text.substring(n, text.length);
p++;
} while (l > 0 || m > 0);

// Sets statement value to default of Unknown
newStatement.value = "unknown";

// Updates j to the start of the next statement
j = this.puzzleString.indexOf("<br><br>", k) + 8;
j = this.puzzleString.indexOf("</table>", k) + 12;
i++;
} while (i < this.size);
}
Expand Down

0 comments on commit e35a5c4

Please sign in to comment.