mirror of
https://github.com/irmen/prog8.git
synced 2024-10-16 18:23:59 +00:00
tweak maze example
This commit is contained in:
parent
97f90d9684
commit
fb63434eee
@ -18,7 +18,7 @@ main {
|
|||||||
maze.drawStartFinish()
|
maze.drawStartFinish()
|
||||||
|
|
||||||
txt.print(" enter=new maze")
|
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.
|
; 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
|
; 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.
|
; for too long on bad rng... just accept a few unused cells in that case.
|
||||||
|
Loading…
Reference in New Issue
Block a user