Next page | Contents page |

Exercise 7 - control with keys

Add a keydown listener to your exercise 6 program so that the Sun can also be moved by arrow keys (without having to identify the Sun first by clicking on it).

Next page | Contents page |