CMPM-290A-01
R18: Knights and Dragons
Skip To Content
Dashboard
  • Login
  • Dashboard
  • Calendar
  • Inbox
  • History
  • Help
  • Resources
Close
  • My Dashboard
  • CMPM-290A-01
  • Assignments
  • R18: Knights and Dragons
2017 Spring Quarter
  • Home
  • Syllabus
  • Assignments
  • Files
  • NameCoach
  • Zoom
  • YuJa
  • Gradescope
  • SETS

R18: Knights and Dragons

  • Due Jun 6, 2017 by 11:39am
  • Points 10
  • Submitting a file upload
  • File Types html and pdf

http://www.ijcai.org/Proceedings/15/Papers/060.pdf Links to an external site.

This is another application of ASP to educational game content generation. At the same time, it's an example of a classic strategy in developing AI systems. Invent the language you wish to use to implement your system, implement your system in that language, and then write an interpreter for that language in one you already have. Lisp and Prolog are classic back-end languages for supporting this strategy, but it is equally possible in AnsProlog.

Here's one of the "discourse tropes" used in our program: "A warrior slays a monster only
if the monster has some treasures"; expressed in AnsProlog syntax:

discourse( forall(m, w),
    premise( p_slays(w, m) ),
    exists(t),
    conclusion( p_owns(m, t) ),
    temporal( p_owns(m, t), p_slays(w, m)) ).

(m/w/t get interpreted as variables referring to a monster/warrior/treasure)

It's just a dead fact -- data. It grounds instantly and doesn't do anything by itself. Giving this statement the proper semantics involves solving a 3QBF problem (previously thought to be out of the range of expressiveness of ASP), but we found a reduction that makes it possible at an acceptable cost in our applied setting.

During development, we massed a library of discourse tropes authored in this way before we figured out how to create an interpreter for them.

 

 

1496774340 06/06/2017 11:39am
Please include a description
Additional Comments:
Rating max score to > pts
Please include a rating title

Rubric

Find Rubric
Please include a title
Find a Rubric
Title
You've already rated students with this rubric. Any major changes could affect their assessment results.
 
 
 
 
 
 
 
     
Can't change a rubric once you've started using it.  
Title
Criteria Ratings Pts
This criterion is linked to a Learning Outcome Description of criterion
threshold: 5 pts
Edit criterion description Delete criterion row
5 to >0 pts Full Marks blank
0 to >0 pts No Marks blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional Comments
This criterion is linked to a Learning Outcome Description of criterion
threshold: 5 pts
Edit criterion description Delete criterion row
5 to >0 pts Full Marks blank
0 to >0 pts No Marks blank_2
This area will be used by the assessor to leave comments related to this criterion.
pts
  / 5 pts
--
Additional Comments
Total Points: 5 out of 5