def adj_on.go

minebender-game@1.0.0.0 · proof_cells.bend:477

import minebender-game@1.0.0.0/proof_cells.bend as ProofCells
import Base
import minebender-game@1.0.0.0/types.bend as T
import minebender-game@1.0.0.0/board.bend as B

477def adj_on.go(e: WHS, +q: T.Pos) -> Bool:
478  match e:
479    case WHS{w, h, s}:
480      B.adjacent(s, q) && B.on_board(w, h, q)

Uses (6)

Used by (1)