mirror of
https://github.com/irmen/prog8.git
synced 2025-01-11 13:29:45 +00:00
tweak maze example
This commit is contained in:
parent
97f90d9684
commit
fb63434eee
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user