Skip to content

Commit

Permalink
Regenerate hard/expert again, forgot to add the negative weights
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnell committed May 10, 2019
1 parent 7daf447 commit 05d4454
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions build-puzzle-collection.pl
Expand Up @@ -27,8 +27,10 @@ sub build {
$cls->{cant_fit}{depth} +
$cls->{square}{depth} * 10 +
$cls->{dep}{depth} * 50 +
($cls->{one_of}{depth} // 0) * 20 -
$cls->{all}{max_width} * 2;
($cls->{one_of}{depth} // 0) * 20 +
($cls->{"single-solution"}{depth} // 0) * -200 +
($cls->{"uncontested-no-cover"}{depth} // 0) * -50 +
$cls->{all}{max_width} * -2;
}

my @output = ();
Expand Down
2 changes: 1 addition & 1 deletion www/data/puzzles.json

Large diffs are not rendered by default.

0 comments on commit 05d4454

Please sign in to comment.