|
|
Does anyone have a Hangman java code for use in edit plus java program?
I am using the program edit plus, and i am suppose to make a java program that after writing the code for a hangman (line drawing after compiled) im suppose to make it so that if you compile the program in the CMD it will ask u if you want to enter 1 for 1/3rd of the hangman, 2 for the other 1/3, and 3 for the last part, and if no then it will ask again. Can you give me the code so i can do this?
The hangman picture itself code is this:
import TurtleGraphics.*;
class HangmanView
{
public static void main (String args[])
{
StandardPen pen = new StandardPen();
pen.home();
// code for circle
int x = 1;
while(x <= 100)
{
pen.move (4);
pen.turn (4);
x++;
}
{
//Gallow Stand
pen.home ();
pen.up ();
pen.setDirection (180);
pen.move (60);
pen.setDirection (90);
pen.move (60);
pen.down ();
pen.move (50);
pen.setDirection (0);
pen.move (150);
pen.setDirection (270);
pen.move (400);
pen.setDirection (180);
pen.move (50);
pen.setDirection (0);
pen.move (100);
// Right Eye (Triangle
pen.home();
pen.setDirection (180);
pen.up();
pen.move (50);
pen.down();
pen.setDirection (45);
pen.move (10);
pen.setDirection (-45);
pen.move (10);
pen.setDirection (180);
pen.move (12);
// Left Eye (Triangle)
pen.up();
pen.move (50);
pen.down();
pen.setDirection (45);
pen.move (10);
pen.setDirection (-45);
pen.move (10);
pen.setDirection (180);
pen.move (12);
//Nose (Trianle shape)
pen.up();
pen.setDirection (0);
pen.move (30);
pen.down();
pen.setDirection (-135);
pen.move (10);
pen.setDirection (0);
pen.move(10);
pen.setDirection (135);
pen.move (10);
// Mouth (Square Shaped)
pen.up();
pen.setDirection (270);
pen.move (20);
pen.down();
pen.move (25);
pen.turn (90);
pen.move (25);
pen.turn (90);
pen.move (25);
pen.turn (90);
pen.move (25);
pen.turn (90);
//Neck and (Facing You) Left Hand
pen.up ();
pen.home ();
pen.setDirection (180);
pen.move (60);
pen.setDirection (270);
pen.move (58);
pen.down ();
pen.move (30);
pen.setDirection (180);
pen.move (40);
pen.setDirection (135);
pen.move (10);
pen.setDirection (360);
pen.move (10);
pen.setDirection (180);
pen.move (10);
pen.setDirection (-270);
pen.move (10);
// Right Hand (Facing You)
pen.up ();
pen.home ();
pen.setDirection (180);
pen.move (60);
pen.setDirection (270);
pen.move (58);
pen.down ();
pen.move (30);
pen.setDirection (0);
pen.move (40);
pen.setDirection (45);
pen.move (10);
pen.setDirection (90);
pen.move (10);
pen.setDirection (270);
pen.move (10);
pen.setDirection (180);
pen.move (10);
//Left Leg (Facing You)
pen.up ();
pen.home ();
pen.setDirection (180);
pen.move (60);
pen.setDirection (270);
pen.move (58);
pen. down ();
pen.move (100);
pen.setDirection (210);
pen.move (70);
//Right Left (Facing You)
pen.up ();
pen.home ();
pen.setDirection (180);
pen.move (60);
pen.setDirection (270);
pen.move (58);
pen. down ();
pen.move (100);
pen.setDirection (330);
pen.move (70);
}
}
}
You may contact a java expert live at website like ijug.net ,etc .
Just a word not puncuation please!OK.
The question is simple ^^
So the more games (that young kids can play, and it's easy to explain) youThere must be a formula to it, which are the most common letters and which order would you use them in?My girlfriend and I both have boring 9-5 office jobs, so we email each other back and forth all day.
We're_ I _ _
You
_ ARRY
_ E
It's a Phrase and i CANNOT figure it outIn the song "So far from the Clyde" from Mark Knophler he is talking about beaching a ship. He makes referenceVB express 2008, so far have got it to read the hint and word from file and have buttons for each letter, ATM my word to
|
Funny Laughter
Pixar Cars
|
|