Game.assist.pick: def of minebender-game@1.0.0.0 Import: import minebender-game@1.0.0.0/game.bend as Game Lines 468-473 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=468&end_line=473 import Base import minebender-game@1.0.0.0/types.bend as T def assist.pick(r: Maybe<&2, T.Pos>, +g: Game, +k: Nat) -> Game: match r: case Some{q}: lose(g, q) case None{}: assist.safe(safe_cell(g, k), g) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/game.bend&name=Game https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/game.bend&name=assist.safe https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/game.bend&name=lose https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/game.bend&name=safe_cell https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/types.bend&name=Pos