Game.first_safe.go: def of minebender-game@1.0.0.0 Import: import minebender-game@1.0.0.0/game.bend as Game Lines 405-415 of minebender-game@1.0.0.0/game.bend: https://jend.leeeet.dev/read.txt?path=minebender-game@1.0.0.0/game.bend&start_line=405&end_line=415 import Base import minebender-game@1.0.0.0/types.bend as T def first_safe.go(ps: List<&2, T.Pos>, hit: Bool, +layout: T.Grid(Bool), +shown: T.Grid(Bool)) -> Maybe<&2, T.Pos>: match ps: case Nil{}: None{} case p <> +t: match hit: case True{}: Some{p} case False{}: first_safe.go(t, safe_here(layout, shown, t), layout, shown) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/game.bend&name=safe_here https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/types.bend&name=Grid https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/types.bend&name=Pos