Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Challenges

  • Easy: Add and implement new commands for controlling the characters in the RPG NPC demos.

  • Intermediate: Rework the script interpreter so it can handle whitespace more flexibly. Try allowing commands and parameters to be separated from one another by any arbitrary amount of spaces and tabs, in turn enabling you to be more free-form about your code.

  • Intermediate: Add escape sequences that allow the double-quote symbol (") to appear within string literals without messing up the interpreter. Naturally, this can be important when scripting dialogue sequences.

  • Difficult: Implement anything from the next chapter (after reading it, of course).


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint