Skip to content

Commit 3d2b8ff

Browse files
committed
added couple sample inputs to reallow animations
1 parent f712968 commit 3d2b8ff

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

2019/day15/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
</head>
4545
<body>
4646
<div id="root"></div>
47-
<script src="input.js"></script>
47+
<script src="input.public.js"></script>
4848
<script src="Computer.js"></script>
4949
<script src="script.js"></script>
5050
</body>

2019/day15/input.public.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

2023/day19/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
</head>
4747
<body>
4848
<div id="canvasZone"><canvas id="renderCanvas"></canvas></div>
49-
<script src="input.js"></script>
49+
<script src="input.sample.js"></script>
5050
<script src="script.js"></script>
5151
</body>
5252
</html>

2023/day19/input.sample.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
let input = `px{a<2006:qkq,m>2090:A,rfg}
2+
pv{a>1716:R,A}
3+
lnx{m>1548:A,A}
4+
rfg{s<537:gd,x>2440:R,A}
5+
qs{s>3448:A,lnx}
6+
qkq{x<1416:A,crn}
7+
crn{x>2662:A,R}
8+
in{s<1351:px,qqz}
9+
qqz{s>2770:qs,m<1801:hdj,R}
10+
gd{a>3333:R,R}
11+
hdj{m>838:A,pv}
12+
13+
{x=787,m=2655,a=1222,s=2876}
14+
{x=1679,m=44,a=2067,s=496}
15+
{x=2036,m=264,a=79,s=2244}
16+
{x=2461,m=1339,a=466,s=291}
17+
{x=2127,m=1623,a=2188,s=1013}`;

0 commit comments

Comments
 (0)