Skip to content

Instantly share code, notes, and snippets.

Created January 24, 2012 05:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1668204 to your computer and use it in GitHub Desktop.
Save anonymous/1668204 to your computer and use it in GitHub Desktop.
@.a init
has @.a is rw = (
[<wR1 wN1 wB1 wQ wK wB2 wN2 wR2>],
[<wP1 wP2 wP3 wP4 wP5 wP6 wP7 wP8>],
[<0 0 0 0 0 0 0 0 >],
[<0 0 0 0 0 0 0 0 >],
[<0 0 0 0 0 0 0 0 >],
[<0 0 0 0 0 0 0 0 >],
[<bP8 bP7 bP6 bP5 bP4 bP3 bP2 bP1>],
[<bR2 bN2 bB2 bK bQ bB1 bN1 bR1>];
).kv.map: -> $i, $_ {$($_ but MyAtPos[self,$i])};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment