Skip to content

Commit b32d0e5

Browse files
authored
Minor typo fixes to 2023 day 17 article (#534)
1 parent a9f5937 commit b32d0e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/2023/puzzles/day17.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Part 2 is similar, but our streak limit increases to 10.
196196
Furthermore, while the streak is less than four, only a forward movement is possible:
197197

198198
```scala
199-
// inside case class State:
199+
// Inside case class State:
200200
def nextStates2(using Grid): List[State] =
201201
if streak < 4 then List(straight)
202202
else List(straight, turnLeft, turnRight).filter: s =>
@@ -323,7 +323,7 @@ def search(next: StateTransform)(using Grid): Int =
323323

324324
## Solutions from the community
325325

326-
- [Solution](https://github.com/stewSquared/advent-of-code/blob/master/src/main/scala/2021/Day17.worksheet.sc) by [stewSquared](https://github.com/stewSquared)
326+
- [Solution](https://github.com/stewSquared/advent-of-code/blob/master/src/main/scala/2023/Day17.worksheet.sc) by [stewSquared](https://github.com/stewSquared)
327327
- [Solution](https://github.com/merlinorg/aoc2023/blob/main/src/main/scala/Day17.scala) by [merlin](https://github.com/merlinorg/)
328328
- [Solution](https://github.com/xRuiAlves/advent-of-code-2023/blob/main/Day17.scala) by [Rui Alves](https://github.com/xRuiAlves/)
329329

0 commit comments

Comments
 (0)