|
C M S C 2 1 4 C o m p u t e r S c i e n c e I I F a l l 2 0 0 2 |
<boxinfo-out> := " The [" <box-color> "] box is at " <coord> <endl>
<boxinfo-show-food>
" The [" <box-color> "] box " [ "IS" | "IS NOT" ]
" on a target square" <endl>
" The [" <box-color> "] box weighs "
<udigits> " units" <endl>
<boxinfo-show-food> := Food items" <endl>
"----*----*" <endl>
[ <food-list> | <no-food-box> ]
<endl> <total-points>
<no-food-box> := " [" <box-color> "] box has no food items on it" <endl>
<food-items> := [ <food> ]+
<food> := "(" <udigits> ") [" <name-of-item> "]" <udigits> " pts" <endl>
<boxtotal-points> := "The box holds (" <udigits> ") total pts" <endl>
You can also read this in the main P2 specs.
*** YOU WIN! ALL BOXES ON TARGET SQUARES!!! *** <endl>
|
See the class syllabus for policies concerning email Last Modified: Mon Oct 7 00:21:17 EDT 2002 |
|
|
|
|
|