Skip to content

Commit d659512

Browse files
committed
Print game output
1 parent 7126d26 commit d659512

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/scala/aoc/Day15.scala

+1
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ object Day15 extends App {
110110

111111
@tailrec def fillMaze(fillProgresses: List[FillProgress], map: Map[Coordinate, Int], minutes: Int): Int = {
112112
if (fillProgresses.forall(_.hitDeadEnd)) {
113+
ouputGameStatus(Coordinate(0,0), map)
113114
minutes
114115
} else {
115116
val updatedFillProgresses = fillProgresses.flatMap { fillProgress =>

0 commit comments

Comments
 (0)