Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am dcprevere on github.
  • I am dcprevere (https://keybase.io/dcprevere) on keybase.
  • I have a public key ASDVqhMCoZR3cSgIYMOZaVACH3vCEyEDbIbLp3iLA2k1GQo

To claim this, I am signing this object:

(ns chess-problem)
;; (:require [clojure.contrib.seq-utils :as s-utils]))
;; Backrow of the chess board.
;; Bishops are on different colours.
;; King has to be between the rooks.
;; A function that takes a number n
;; And returns n valid backrows.
(def std-backrow [:r :kn :b :ki :q :b :kn :r])