To write java code
该项目收到24 来自天才威客的竞标，平均竞标价格为$33 USD。为像这样的项目获取免费报价
项目预算$10 - $30 USD
write a Java program named BullsEye as a simple target shooting game. See the screenshot below for an overview of the project.
Your program should meet the following specifications:
The target consists of three rings: a white outer ring 150 pixels in diameter, a black middle ring of 100 pixels and a red inner ring of 50 pixels.
Each mouse click counts as a shot that hits the target (or not) and creates a hole (4 pixels is good), if it does, at the clicked position.
Shots that land in the inner ring are worth 10 points.
Shots that land in the middle ring are worth 5 points.
Shots that land in the outer ring are worth 1 point.
Shots that land outside the target area are not counted.
The player's score should be updated with each click.
Include a simple prompt: "Click to shoot at the target."
Reset the game to the beginning state when the mouse leaves the canvas.
- The New York Times
- Wall Street Journal
- Times Online