Skip to content

Commit ed96c54

Browse files
committed
Updated cat score
1 parent cc8843b commit ed96c54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/results.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class Results {
6565
final List<String> tokenized = splitCommand(_commands[i]);
6666
switch (tokenized.first) {
6767
case "paint":
68-
lineScore = tokenized.length == 2 ? 0 : 1;
68+
lineScore = tokenized.length == 2 ? 0 : splitByCurly(tokenized[1]).length == 1 ? 1 : 2;
6969
break;
7070
case "fill_empty":
7171
lineScore = 1;

0 commit comments

Comments
 (0)