Scroll Sign
Write a program that displays an image made of characters and animates it like a scroll sign (shifting left out of view and shifting back in again from the right side).
Have it display a drawing of "GO" made of zeros and spaces.
Add some spaces after each line, so that it will be separated from the image scrolling in from the right.
After shifting left once it will look like this.
Display the shifted image a few lines below the previous one (your console display scrolls to the lowest text).
- Store the image in a multidimensional array of chars
- Make a function called "displayImage" that displays the image after receiving the array as a parameter.
- Make another function called "shiftLeft" that shifts the image's position by updating the image array.
- The animation should last 30 cycles, each lasting 0.1 seconds (100 milliseconds).
- Use this code to delay for 0.1 seconds