-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
69 lines (69 loc) · 3.11 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!-- mmalita/PrologPuzzles/index.html -->
<html><head><title>PrologPuzzles</title>
<style type="text/css">
h1,h2 { color: blue; background: #FFFACD; text-align: center}
li { font-family: "Verdana"; size: 6; color: rgb(%35,0%,%50); }
td { text-align: center; background-color: "#FFFACD"; width: 20%; }
hr { background-color: #0000FF; height: 5px;}
p { font-family: "Verdana"; font-weight: bold; color: rgb(%35,0%,%50); }
</style></head></head>
Copyright 2017 <!-- a href="../../index.pro" -->Mihaela Malita</a> and <!a href="../index.html">CS360</a> Students
<h1 align="center">PUZZLES in Prolog</h1>
Tested on <a href="http://www.swi-prolog.org/">SWI-Prolog</a> version 7.2.3 by Jan Wielemaker ([email protected])
Uses our own library of useful predicates: <a href="bibmm.pro">bibmm</a>
Puzzles inspired from:
<a href="http://catalogue.pearsoned.co.uk/educator/product/Prolog-Programming-for-Artificial-Intelligence/9780321417466.page">
Ivan Bratko</a>,
<a href="http://www.pearsoned.co.uk/HigherEducation/Titlesby/Luger/">G.F. Luger</a>,
<a href="http://www.be-logic.ro">A.Atanasiu</a>,<a href="http://www.mensa.org.uk/puzzles">Mensa Puzzles</a>
<hr><table><tr>
<td><a href="zebra.pro">1. Who drinks water and who has a zebra?</a></td>
<td><a href="beds1.pro">2. Bunks Beds</a></td>
</tr><tr>
<td><a href="jobs1.pro">3. Four professions</a></td>
<td><a href="lunch2.pro">4. The lunch problem</a></td>
</tr><tr>
<td><a href="costume.pro">5. The Costume Ball </a></td>
<td><a href="aa6.pro">6. Thursday Bridge Party. Who brings What?</a></td>
</tr><tr>
<td><a href="aa1.pro">7. Swimming and biking contest</a></td>
<td><a href="ifthen.pro">8. The false statements</a></td>
</tr><tr>
<td><a href="queen2.pro">9. Eight queens on a chessboard</a></td>
<td><a href="knight.pro">10. Knight on a chessboard</a></td>
</tr><tr>
<td><a href="seating.pro">11. Seating</a></td>
<td><a href="magic.pro">12. Magic square</a></td>
</tr><tr>
<td><a href="buffalo.pro">13. Babysitting</a></td>
<td><a href="gradepuzzle.pro">14. The Grade Puzzle</a></td>
</tr><tr>
<td><a href="jazz.pro">15. CD choice: jazz</a></td>
<td><a href="flip.pro">16. Flip coins</a></td>
</tr><tr>
<td><a href="anagram.pro">17. Anagrams</a></td>
<td><a href="message.pro">18. News propagation</a></td>
</tr><tr>
<td><a href="phone.pro">19. Phone Number. From digits to letters</a></td>
<td><a href="flashlight2.pro">20. Bridge crossing</a></td>
</tr><tr>
<td><a href="canibmm.pro">21. Missionaries and cannibals</a></td>
<td><a href="goat.pro">22. Farmer, goat, wolf and a cabbage</a></td>
</tr><tr>
<td><a href="river.pro">23. Cross river: Adults and children</a></td>
<td><a href="moremoney.pro">24. Send More Money</a></td>
</tr><tr>
<td> <a href="words.pro">25. Word Squares</a></td>
<td><a href="coins0.pro">26. Coins</a></td>
</tr><tr>
<td><a href="sudoku.pro">27. Sudoku Generator </a></td>
<td><a href="sudokuSolver.pro">28. Sudoku Solver</a> </td>
</tr><tr>
<td><a href="disorder.pro">29. Disorder </a></td>
<td><a href="secretNumber.pro">30. Secret Number</a> </td>
</tr><tr>
<td><a href="soccer.pro">31. Soccer</a> </td>
<td><a href="archi.pro">32. Shoe Shopping</a> </td>
</tr>
</table><hr>
</body></html>