tweak maze example

This commit is contained in:
Irmen de Jong 2022-07-09 22:13:30 +02:00
parent 97f90d9684
commit fb63434eee

View File

@ -18,7 +18,7 @@ main {
maze.drawStartFinish()
txt.print(" enter=new maze")
c64.CHRIN()
void c64.CHRIN()
}
}
@ -129,7 +129,7 @@ carve_restart_after_repath:
}
}
sub repath() -> ubyte { ; TODO BOOL
sub repath() -> bool {
; repath: try to find a new start cell with possible directions.
; we limit our number of searches so that the algorith doesn't get stuck
; for too long on bad rng... just accept a few unused cells in that case.