Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
The Snakes and Ladders Jugalbandi from Functional Conf 2015, in APL
config30(3 5 11 20 17 19 21 27)(22 8 26 29 4 7 9 1)
turn{s f t n+{'throw ',}?6 n>s: (fn)t,n}
{}{config turn }{=30}1
Copy link

ujjwalt commented Sep 20, 2015

Holy shit!
Damn I missed your talk. Please link to the slides.

Copy link

mukundmr commented Sep 22, 2015

gives me an invalid token when I try to run it online using the website.

Copy link

shukla2009 commented Sep 22, 2015

⎕ is this quad ? or squad ?

Copy link

jayfoad commented Oct 12, 2015

@mukundmr, @shukla2009: ⎕ is quad, and I'm using it to print some output as the game progresses. Unfortunately does not support this sort of input/output. Sorry! I'll think about a better way of writing it.

Copy link

jayfoad commented Oct 16, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment