Guest User

Untitled

a guest
Apr 30th, 2022
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 0.28 KB | None | 0 0
  1. (dm update-board> (X Y S)
  2.     (let (Game-board (: board)
  3.           Row (get game-board Y)
  4.           Col (get Row X))
  5.       (if (= Col 0)
  6.           (begin
  7.            (put Row X S)
  8.            (put Game-board Y Row)
  9.            (set (:: board) Game-board)
  10.            T)
  11.         F)))
Advertisement
Add Comment
Please, Sign In to add comment