https://github.com/ranman/school-prolog-adventure
https://github.com/ranman/school-prolog-adventure
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ranman/school-prolog-adventure
- Owner: ranman
- Created: 2012-06-19T22:15:42.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-11-19T22:54:48.000Z (over 13 years ago)
- Last Synced: 2025-06-02T10:51:31.331Z (about 1 year ago)
- Language: Prolog
- Size: 102 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.txt
Awesome Lists containing this project
README
Run with: swipl -q -tty -s adventure.pl
Grade based on handout:
1. 9 rooms (10/10)
2. Win and loose goal (12/12)
3. Four puzzles (20/20pts)
a) Take shower to get into Social Life (locked door)
b) Friends Quiz (riddle)
c) clean room for friends (quest)
d) bring girlfriend flowers (own puzzle)
4. Look command (with color), items, objects, locations (15/15)
5. drop(X) (5/5)
6. take(X) (5/5)
7. use(X) (10/10)
8. inventory (10/10)
9. instructions (5/5)
10. catch invalid commands (5/5)
11. This file
12. This file
To win:
1. use(shower).
2. take(broom).
3. use(broom).
4. s.
5. take(flowers).
6. s.
7. d.
8. d.
9. d.
10. take(smartness).
11. u.
12. u.
13. u.
14. n.
15. w.
16. talk(friends).
17. 2.
18. e.
19. n.
20. use(friend).
21. s.
22. w.
23. talk(girlfriend).
24. e.
25. take(small_key).
26. w.
27. talk(girlfriend).
28. e.
29. e.
30. talk(provost).
Map:
Dorm GF's Room
| |
S N
| |
graduation --- E --- Quad --- W --- Social Life
|
S
|
Classes
|
S
|
CS150/151
|
S
|
CS363
|
Capstone