Number Line Program
Make me a program that draws a number line. When I click, it should tell me if I'm close to the chosen secret spot.
Points |
Task |
10 |
Draws a number line with tics using a loop. |
10 |
Labels the number line with 1,2,3,4,5,6,7,8, 9, and 10 using a loop. |
10 |
When I click, tells me if I'm
|
10 |
When I click, it tells me if I should go higher or lower. |
10 |
Choses a random secret number
|
1 |
Plays a sound. See http://cs.nmu.edu/~rappleto/Classes/CS122/Sound/ |
1 |
Uses a JPG or GIF. See http://cs.nmu.edu/~rappleto/Classes/CS122/Images/ |
1 |
Keeps score. People who need more than 5 guesses lose! |
2 |
Clears the score when you push the 'c' key.! |
2 |
Your guess moves when you press the arrow keys. |
1 |
When I click far from the line, it tells me to get close to the line. |
1 |
Cheat mode! When I type 's', it shows me the secret number. |
+1 |
Turned in by Wed Feb 6 |
-5 |
Each day after Thr Feb 7th. |
This is out of 60 points. Some of these things are hard. Don't do those unless you want to!