Skip to content

Instantly share code, notes, and snippets.

@jkutner
Created December 6, 2010 02:54
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 jkutner/729765 to your computer and use it in GitHub Desktop.
Save jkutner/729765 to your computer and use it in GitHub Desktop.
max_n([Deck|RemainingDecks], N, Max) :-
max_n(RemainingDecks, N, M),
nth_score(N, Deck, X),
X =< M,
Max is M,
!.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment