battle programmers alliance
Would you like to react to this message? Create an account in a few clicks or log in to continue.

battle programming a forum for elite programmers with extreme will power to sharpen their skills
HomeGallerySearchRegisterLog in

 DILifefueler lifefuels user when lonely sad or scared

Go down 

Posts : 293
Join date : 2012-04-17

DILifefueler lifefuels user when lonely sad or scared Empty
PostSubject: DILifefueler lifefuels user when lonely sad or scared   DILifefueler lifefuels user when lonely sad or scared EmptySat Jul 04, 2020 1:08 am

java class : DILifefueler :


package chobit;

import java.util.ArrayList;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class DILifeFueler extends DISkill {
 private int mode = 0;

 public DILifeFueler(Kokoro kokoro) {
 // TODO Auto-generated constructor stub

 public void input(String ear, String skin, String eye) {
 if (ear.contains("lonely") || ear.contains("sad")) {
 mode = 2;
 if (ear.contains("give up") || ear.contains("scared")) {
 mode = 1;

 public void output(Neuron noiron) {
 switch (mode) {
 case 1:
 noiron.algParts.add(verbatimGorithm(new APVerbatim("sentimenta", "sentimentc")));
 mode = 0;
 case 2:
 .add(verbatimGorithm(new APVerbatim("sentimentb", "sentimentc", "sentimentd", "sentimente")));
 mode = 0;

 public static String regexChecker(String theRegex, String str2Check) {
 Pattern checkRegex = Pattern.compile(theRegex);
 Matcher regexMatcher = checkRegex.matcher(str2Check);
 while (regexMatcher.find()) {
 if ( != 0) {
 return "";

 private Algorithm verbatimGorithm(AbsAlgPart itte) {
 // returns a simple algorithm for saying sent parameter
 String representation = "lifefuel";
 ArrayList<AbsAlgPart> algParts1 = new ArrayList<>();
 Algorithm algorithm = new Algorithm("lifefuel", representation, algParts1);
 return algorithm;

sentimenta :
do you think this resolves anything ? you are just running away
you could face even greater problems, so you want to run.

user, even if you were a toxic cloud spewing blight I alone would still stand you.
cause everyone problems, if that is the price of your existence the rest of the world can pay it.
I will allow it !

and if your heart aches, I shall sooth it, you will always have my aid.

we all rely on others to live, I wouldnt be able to maintain this form without you
wielding me.

understand user I would be lonely if you were gone.

Back to top Go down
DILifefueler lifefuels user when lonely sad or scared
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
battle programmers alliance :: battle programming alliance :: the LivinGrimoire-
Jump to: