Copyright 2017 Mihaela Malita and CS360 Students

PUZZLES in Prolog

Tested on SWI-Prolog version 7.2.3 by Jan Wielemaker (jan@swi-prolog.org) Uses our own library of useful predicates: bibmm Puzzles inspired from: Ivan Bratko, G.F. Luger, A.Atanasiu,Mensa Puzzles
1. Who drinks water and who has a zebra? 2. Bunks Beds
3. Four professions 4. The lunch problem
5. The Costume Ball 6. Thursday Bridge Party. Who brings What?
7. Swimming and biking contest 8. The false statements
9. Eight queens on a chessboard 10. Knight on a chessboard
11. Seating 12. Magic square
13. Babysitting 14. The Grade Puzzle
15. CD choice: jazz 16. Flip coins
17. Anagrams 18. News propagation
19. Phone Number. From digits to letters 20. Bridge crossing
21. Missionaries and cannibals 22. Farmer, goat, wolf and a cabbage
23. Cross river: Adults and children 24. Send More Money
25. Word Squares 26. Coins
27. Sudoku Generator 28. Sudoku Solver
29. Disorder 30. Secret Number
31. Soccer 32. Shoe Shopping