(burn-in-current-tetrimino game-state)
(clear-complete-rows {:keys [game-grid game-score] :as game-state-before})
(complete-rows {:keys [game-grid]})
(compose-current-tetrimino-into-game-grid {:keys [game-grid current-tetrimino
player-row-col]})
(drop-current {:keys [game-grid current-tetrimino player-row-col]
:as game-state-before}
play-next-tetrimino-fn)
(entry-column-for-tetrimino tetrimino)
(entry-row-for-tetrimino tetrimino)
(extents-of-current-tetrimino current-tetrimino player-row-col)
(game-over? {:keys [player-row-col] :as game-state})
(get-cells game-grid row col-start num-cells)
(handle-events game-state-before events)
(handle-events game-state-before events play-next-tetrimino-fn)
(height-of-tetrimino tetrimino)
(initial-game-state)
(introduce-next-tetrimino {:keys [next-tetrimino] :as game-state-before})
(move-down {:keys [player-row-col] :as game-state-before}
play-next-tetrimino-fn)
(move-left {:keys [game-grid current-tetrimino player-row-col]
:as game-state-before})
(move-right {:keys [game-grid current-tetrimino player-row-col]
:as game-state-before})
(peaks game-grid player-row)
(random-tetrimino)
(rotate tetrimino)
(rotate-current {:keys [current-tetrimino player-row-col]
:as game-state-before})
(start-playing game-state)
(tetrimino-adjacent-to-peaks? {:keys [game-grid current-tetrimino
player-row-col]})
(tetrimino-collides-with-peaks-below-it? {:keys [game-grid current-tetrimino
player-row-col]})
(tetrimino-crosses-baseline? {:keys [current-tetrimino player-row-col]})
(tetrinimo-can-move-down? {:keys [game-grid current-tetrimino player-row-col]})
(tetrinimo-cannot-shift-upwards? {:keys [game-grid current-tetrimino
player-row-col]})
(width-of-tetrimino tetrimino)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close