packet is a kind of jotter. A packet can be incomplete or completed. A packet has a text called the prompt. The prompt of a packet is always "[packet-heading][/l][packet-explorer][/l][packet-question1][/l][packet-question2][/l][packet-question3]".
To say packet-heading:
say "Name: __[italic type][student-name][roman type]__[/l]";
say "Directions: Please look up the answers to these three questions about your chosen explorer in the library. Use the book about your explorer that Miss Feeney has set aside for us. Fill in the correct answer and page number from the book.".
To say packet-explorer:
say "Name of explorer: __[italic type][explorer-name][roman type]__".
To say packet-question1:
say "1. Where was your explorer born? __[italic type][birthplace][roman type]__ (page _[italic type][birthplace-page][roman type]_)".
To say packet-question2:
say "2. What was your explorer's most famous discovery? __[italic type][discovery][roman type]__ (page _[italic type][discovery-page][roman type]_)".
To say packet-question3:
say "3. What year did your explorer make his first voyage? __[italic type][year][roman type]__ (page _[italic type][year-page][roman type]_)".
Some packets are defined by the Table of Homework.
Definition: a packet (called the schoolwork) is accurate:
if the schoolwork is incomplete, decide no;
if student-name of the schoolwork is not "Jamie Nelson", decide no;
if explorer-name of the schoolwork is not "Vasco da Gama", decide no;
if birthplace of the schoolwork is not "Sines", decide no;
if birthplace-page of the schoolwork is not "3", decide no;
if discovery of the schoolwork is not "Ocean route to the Orient", decide no;
if discovery-page of the schoolwork is not "11", decide no;
if year of the schoolwork is not "1497", decide no;
if year-page of the schoolwork is not "6", decide no;
decide yes.
Definition: a packet (called the schoolwork) is cheated:
if the schoolwork is incomplete, decide no;
if student-name of the schoolwork is "Sam F.", decide yes; [if the player is dumb enough not to change the name.... ;-) ]
let suspicions be 0; [This will be the number of suspicious "copied" entries. Too many that match Sam's work will mean it's copied.]
if explorer-name of the schoolwork is "Henry Hudson", increase suspicions by 1;
if birthplace of the schoolwork is "Blarney Medical Center", increase suspicions by 1;
if birthplace-page of the schoolwork is "1", increase suspicions by 1;
if discovery of the schoolwork is "Hudson Bay", increase suspicions by 1;
if discovery-page of the schoolwork is "17", increase suspicions by 1;
if year of the schoolwork is "1907", increase suspicions by 1;
if year-page of the schoolwork is "8", increase suspicions by 1;
if suspicions is greater than 3, decide yes;
decide no.
Part 6 - Generic "Use" command