Created
July 16, 2011 19:33
-
-
Save tautologico/1086668 to your computer and use it in GitHub Desktop.
Geração de cores para casas no teste de Einstein.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gera_cor(casa(C, _, _, _, _), [C], []) :- !. | |
gera_cor(casa(C, _, _, _, _), Cores, Resto) :- | |
select(C, Cores, Resto). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment