since you need courage and I'm a completely bored and dorky nerd who'd absorbed nothing but server side programming for the past few hours, I'm gonna write a pseudo servlet.
import my.nerd.classes.*;
class approach_girl{
Person you = new Person();
YourMouth mouth = you.getMouth();
Person girl = new Person();
String the_response;
public void init(){
mouth.out("hi, My name is Jimbo the Conqueror");
the_response = new String(girl.getResponse());
}
public void doPost(GeometryClassrequest request, GeometryClassresponse response)
throws ShameFullException, throws IOException{
if (the_response == "Huh?")
{
mouth.out("You heard me, I'm Jimbo the Conqueror, but you can call me Jim.");
String next_response = new String(girl.getResponse());
else if(next_response == "ok...weirdo")
{
mouth.out("Oh come on, like you've never done anything strange before? You've never had the urge to go out and be insane?");
next_response = new String(girl.getResponse());
if (next_response == "well, yeah")
you.makeConversation();
else if(next_response == "no"){
mouth.out("well, you should try it sometime, you never know who you might meet?");
you.performAction("Walk away smoothlike");}
}
}
else if (girl.IsLaughing())
{
you.makeConversation();
}
else if(the_response =="Where'd you get a name like that?")
{
mouth.out("Well, my parents had a little too much champagne at the naming ceremony");
you.makeConversation();
}
else
{
you.performAction("wink and walk away");
}
}
public void doGet(GeometryClassrequest request, GeometryClassresponse response)
throws ShameFullException, throws IOException{
doPost(request,response);
}
}
you have my permission to debug, alter code, and make fun of the author to no end. It's truly open source! haha
Edit: I forgot a brace