Project 34: Bomb Diffuser—Bomb Squad Noob
As the newest member of the Bomb Squad, your job is to go out into the field and risk your life defusing live explosive devices. Eye-hand coordination, quick thinking … and a bit of luck is required.
Learn the inner workings of a bomb by creating an inert one.
Making the game
First, create the JFrame. Set it to 500 by 550 pixels and set the background color to gray. Next, you will need to draw the image of the bomb and detonator. To do this, open Microsoft Paint, specify the precise size of your image by clicking “Image” and then click “Attributes,” as illustrated in Figure 34-1.