Find Chess960 starting position identifier: Difference between revisions

(→‎{{header|Common Lisp}}: Add implementation.)
Line 243:
 
=={{header|Common Lisp}}==
Simple version with no error checking.
 
<lang lisp>(defun sp-id (start-array)
(let* ((n5n-table '("NN---" "N-N--" "N--N-" "N---N" "-NN--" "-N-N-" "-N--N" "--NN-" "--N-N" "---NN"))
1,480

edits