Thursday, January 14, 2010

Turing, Ch. 7 - in-class assignment

Create a new Turing program named after yourself (e.g. BackO_Ch7_assignment.t).

You may use your notes, the textbook or any programs you have saved on your home drive

Using the some of the sample programs in Chapter 7 (pp. 118-129), create a program that
1. begins by colouring the entire screen blue

2. simulates the bouncing of a rectangle, using the characters [], starting near the bottom left of the screen at location 25,2 and moving diagonally upward to the right

3. the rectangle consists of red characters, and the background of the characters is yellow

4. the speed of the "movement" is slow enough that the movement can be easily seen

No comments:

Post a Comment