cancelled lectures for this week

2 views
Skip to first unread message

Tim Menzies

unread,
Nov 11, 2013, 10:11:32 PM11/11/13
to cs310, cs...@googlegroups.com
dear all,

sorry to say, all lectures are cancelled this week for cs310 and cs573. i knew i had a conference this week on the west coast and i knew i was going to lose thursday. but the travel plans did not work out so tuesday is also cancelled.

se you all next week!

t

p.s. for the cs310 students, i have the following notes on this week tutorial. cs573 students can ignore the following

as for the cs310 labs, your missing this week is to parse *one* node i the  new statgeText into a Python class that can execute it. To stress your parser, try...

Node7
Firelink Shrine
:OnEntry (define checkpoint ('(Node7))) #Demon 22
#Description contains Demons 2,3,4,5
You arrive at the Firlink Shrine. (if (have ('(Gravelord))) (say " The Gravelord's Soul chills you to the core, as if dragging you to an everlasting death.")) (if (have ('(FourKings))) (say " The bequthed kings' Soul has an omnipotent presence. It feels as if it is whispering promises of unlimited power in your ear.")) (if (have ('(Seath))) (say " Seath's crystalized soul feels noticeably heavy, as if weighed down by vast amounts of arcane knowledge and power.")) (if (have ('(Witch))) (say " The Witch's Soul burns fiercly. Perhaps her attempt at an everlasting fire was not in vain."))
> Node5 Rest at the bonfire. :OnExit (define checkpoint ('(Node7))) #Demon 17
> Node8 Talk to the strange warrior by the fire.
> Node15 Explore the Graveyard :if (not(have('(Gravelord)))) #Demon 23
> Node33 Explore the Elevator :if (not(have('(FourKings)))) #Demon 24
> Node43 Explore the Temple :if (not(have('(Seath)))) #Demon 25
> Node51 Explore the Cave :if (not(have('(Witch)))) #Demon 26
> Node57 Examin the Wall :if (and (and (and have('(Gravelord)) have

 Note that you will have to have:
  • Edge slots for if
  • Node slots for OnEntry. OmExit and when, and descriptions slots with LISP contents 

e.g. This....

You arrive at the Firlink Shrine. (if (have ('(Gravelord))) (say " The Gravelord's Soul chills you to the core, as if dragging you to an everlasting death.")) (if (have ('(FourKings))) (say " The bequthed kings' Soul has an omnipotent presence. It feels as if it is whispering promises of unlimited power in your ear.")) (if (have ('(Seath))) (say " Seath's crystalized soul feels noticeably heavy, as if weighed down by vast amounts of arcane knowledge and power.")) (if (have ('(Witch))) (say " The Witch's Soul burns fiercly. Perhaps her attempt at an everlasting fire was not in vain."))


Is really a description slot containing

(begin
   (say "You arrive at the Firlink Shrine")
   (if (have ('(Gravelord))
      (say " The Gravelord's Soul chills you to the core, as if dragging you to an everlasting death."))   (if (have ('(FourKings)) 
      (say " The bequthed kings' Soul has an omnipotent presence. It feels as if it is whispering promises of unlimited power in your ear."))
    (if (have ('(Seath)) 
        (say " Seath's crystalized soul feels noticeably heavy, as if weighed down by vast amounts of arcane knowledge and power.")) 
     (if (have ('(Witch))
         (say " The Witch's Soul burns fiercly. Perhaps her attempt at an everlasting fire was not in vain."))
)

--
:: there are some who call me...   tim.m...@gmail.com
:: prof @ cs.ai.se.csee.wvu.usa.sol.virgo.all.nil
:: +1-304-376-2859          
:: http://menzies.us      (skype = menzies.tim)

<hubris>
  vita=   http:// goo.gl/8eNhY  
  pubs=   http:// goo.gl/8KPKA
  stats=   http:// goo.gl/vggy1
  wow =   http:// goo.gl/2Wg9A
</hubris>
Reply all
Reply to author
Forward
0 new messages