The Snipe Program
The Snipe Game
You are to make a snipe game. This program is probably about 60 lines of code for the simple version. Simple Game:
  1. Make a 10x10 row of hedges using two loops.
  2. Make two global variables to describe where buny-foo-foo is hiding. Use Math.random to pick a random place.
  3. Make two global variables to describe where they clicked
  4. Make some if statements to give advise like "go up" and "go left" and "you win".
Complex Game:
Do the stuff above.
Add extras as you want.

Points
Task
10
The program will offer advise like "go up" when you click.
10
The program will complain when you click out of bounds (away from the hedges).
10
Picks a random spot for the bunny..
10
The program knows when you hit the snipe.
1
If you push the 's' key, bunny foo foo appears (He's no longer hidden. It's cheating).
1
The arrow keys do something useful.
1
There is a help mode.
1
If you push the 'h' key, bunny foo foo hides.
1
A square changes after it's been visited, showing you where you have been. (Needds arrays, which we have not yet covered.)
-5 per day
Turned in after Mon Sep 19th.
1
Picks a new random place for the snipe every time you win.
46
TOTAL.