Skip to content

Commit d3ee873

Browse files
committed
comment
1 parent 0d149ea commit d3ee873

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/day10/Day10.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ fun day102() {
7878
repeat(2) { time ->
7979
checkAndDraw(spritePos, crtPos % 40)
8080
crtPos++
81-
// time == 1 means this is the second cycle
81+
// time == 1 means this is the second cycle, since it starts from 0
8282
if (time == 1) spritePos += command.value
8383
}
8484
}

0 commit comments

Comments
 (0)