Program8 - Smiley 3

Program8 - Smiley 3 - CSC 322 Program 8 Big Smiley Due...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSC 322 Program 8 – Big Smiley Due Friday December 9, 2011 This assignment is a quantum leap from Smiley Two. It utilizes four virtual pages/screens yet it only requires you to maintain one Smiley that is bigger and better than before. This time Smiley’s job is to eat all the dots before time runs out. As Smiley runs off one edge of the screen, he no longer just wraps around to the other side of the screen - Smiley moves to another virtual page/screen. That is, when Smiley walks off one edge of the screen, he appears on the other side of the screen and the pattern and color of the screen changes to reflect the current virtual page. You will find this assignment much easier if you use macros, structs, and procedures. Try to find a good balance between them. Below is an outline of what your Big Smiley should do: 1. First your code should "paint" the screen with the virtual page zero pattern of characters given below. Give each virtual page unique color characteristics to enhance your experience. 2. Place a single Smiley on page zero. Smiley this time consists of a head (like before), a body that initially consists of one asterisk, and a tail that is always a plus sign (+). Your initial Smiley should look like: +* 3. During execution Smiley will grow in size as he eats dots. Each dot Smiley eats should add one asterisk to his body.
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern