Skip to content

jimd1989/safe-spaces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Safe spaces

For a checkers board [[R|B|E, ...], ...] where

  • R represents a red piece
  • B represents a black piece
  • E represents an empty space

determine if any piece is in danger of attack.

Adapted from a solution I wrote in Q. Wanted to see how the array-centric concepts from APL/J/K/Q worked in Haskell. Additionally benefits from ADTs and Monads of course. Attempted to be as tacit as possible. Presented as a fun curiosity.

Releases

No releases published

Packages

No packages published