@Dipspiggy/

Your Personal Legend

Java

The text game based of "The Alchemist" where you are called to achieve your Personal Legend.

fork
loading
Files
  • Main.java
  • Blocks.java
  • Fight.java
Main.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
import java.util.Scanner;

class Main {
  public static void main(String[] args) {
    int karma = 0;
    int gold = 10;
    int sheep = 0;
    int lvl = 1;
    int yHp = 100;
    Fight b = new Fight();
    b.setLimit(100);
    Blocks dbz = new Blocks();
    String RESET = "\u001B[0m";
    String BLACK = "\u001B[30m";
    String RED = "\u001B[31m";
    String GREEN = "\u001B[32m";
    String YELLOW = "\u001B[33m";
    String BLUE = "\u001B[34m";
    String PURPLE = "\u001B[35m";
    String CYAN = "\u001B[36m";
    String WHITE = "\u001B[37m";
    System.out.println(YELLOW + "Soul of the World: Enter your name.");
    Scanner scan = new Scanner(System.in);
    String name = scan.nextLine();
    System.out.println("Soul of the World: Welcome to your Personal Legend, " + name + ".");
    System.out.println();
    int legend = (int)(3 *Math.random()) + 1;
    legend = 1;
    if (legend == 1) {
      System.out.println("Soul of the World: Your Personal Legend is to become a legendary warrior.");
      System.out.println("Unfortunately, right now, you are nothing more than a wanderer looking to sell his belongings to begin life anew.");
      System.out.println(BLUE + "Karma: 0");
      System.out.println();
      System.out.println("Lvl. " + lvl);
      System.out.println("Gold: " + gold);
      System.out.println("Your Health: " + yHp);
      System.out.println();
      System.out.println(RESET + "You wake up in the side of 2 paths with the goal of getting to the nearest town quickly to sell your belongings.");
      System.out.println("One path leads straight to the town.");
      System.out.println("The other leads to seemingly nowhere.");
      System.out.println("Choose a path to travel on by typing in the number that corresponds with it.");
      System.out.println("Path to the town [1]");
      System.out.println("Path to nowhere [2]");
      int c1 = scan.nextInt();
      if (c1 == 1) {
        System.out.println("You travel down the path until an old man draped with ragged robes on the side of the road asks for you to stop.");
        System.out.print(CYAN + "Old Man: ");
        System.out.print(RESET + "You there, would you kindly spare me some of your money so that I may be able to find a way back to my home?");
        System.out.println("");
        System.out.println("Your Answer?");
        System.out.println("Of course, sir! [1]");
        System.out.println("No way you old man. [2]");
        int c2 = scan.nextInt();
        if (c2 == 1) {
          System.out.println(GREEN + "+1 Karma");
          karma = karma + 1;
          System.out.println(RESET + "" + name + ": Of course sir! Here, take 5 of my gold coins.");
          System.out.println(RED + "-5 Gold");
          gold = gold - 5;
          System.out.print(CYAN + "Old Man: ");
          System.out.print(RESET + "Thank you! In return, let me tell you a little secret. I know that you want to become a great warrior. You should know that there are always trials that get in the way of your journey. However, never give up on your dreams, and the Soul of the World will reward you for you perseverance!");
          System.out.println();
          System.out.println("You are shocked that this old man knows about what your dream is.");
          System.out.println(name + ": How do you know this, old man?");
          System.out.print(CYAN + "Old Man: ");
          System.out.print(RESET + " It is because I am part of the Soul of the World itself, and I only show myself to those who are close to giving up on their dream, on their Personal Legend.");
          System.out.println();
          System.out.println("Before you can respond, the old man mysteriously disappears. And, so, without anymore choices, you continue on your journey to the town, thinking about the old man's words.");
          System.out.println();
          System.out.println();
          System.out.println("When you arrive at the town, as planned, you sell all of your belongings.");
          System.out.println();
          System.out.println();
          System.out.println(GREEN + "+ 30 Gold");
          System.out.println();
          System.out.println();
          System.out.println(RESET + "While wandering in the town, you see a pamphlet that asks for people to join the fighting force to help bring peace to the deserts.");
          System.out.println("Join the fighting force [1]");
          System.out.println("Ignore the pamphlet and move on [2]");
          int c3 = scan.nextInt();
          if (c3 == 1) {
            karma = karma + 1;
            System.out.println(GREEN + "+1 Karma");
            System.out.println();
            System.out.println();
            System.out.println(RESET + "You are drafted into the lowest ranking division in the rushed militia. Your division is sent down straight to the desert between the tribes as nothing more than cannon fodder.");
            System.out.println();
            System.out.println();
            System.out.println("You hear the sound of the enemies approaching. Do you run away?");
            System.out.println("Yes [1]");
            System.out.println("No [2]");
            int c4 = scan.nextInt();
            if (c4 == 1) {
              karma = karma - 1;
              System.out.println(RED + "-1 Karma");
              System.out.println();
              System.out.println();
              System.out.println(RESET + "You break away from the force desperately, like a coward and run away...");
              System.out.println();
              System.out.println();
              System.out.println("Soon after, you come across one the bloodthirsty tribe's forces.");
              System.out.println("FIGHT [1]");
              System.out.println("Decide that you'll never complete your dream and " + RED + "die " + RESET + "[2]");
              int c5 = scan.nextInt();
              if (c5 == 1) {
                int eHP = 100;
                b.setLimit(yHp);
                int winner1 = b.fight1(yHp, eHP, "Tribe Swordsman");
                if (winner1 == 1) {
                  yHp = b.getyhp();
                  int winner2 = b.fight1(yHp, eHP, "Tribe Spearman");
                  if (winner2 == 1) {
                    yHp = b.getyhp();
                    int winner3 = b.fight1(yHp, eHP, "Tribe Calvaryman");
                    if (winner3 == 1) {
                      yHp = b.getyhp();
                      int lHP = 10000;
                      int winner4 = b.farceFight(yHp, lHP, 10, "Tribe Division Leader");
                      System.out.println();
                      System.out.println();
                      System.out.println(RED + "The Tribe Division Leader attacks you and deals 10000 damage!");
                      System.out.println();
                      System.out.println();
                      System.out.println(RED + "You Died");
                      System.out.println();
                      System.out.println();
                      System.out.println();
                      System.out.println("GAME OVER");
                    }
                  }
                }
              }
              else if (c5 == 2) {
                System.out.println("One of the tribesman walks up to you and promptly decapitates you.");
                System.out.println();
                System.out.println();
                System.out.println(RED + "You Died");
                System.out.println();
                System.out.println();
                System.out.println();
                System.out.println("GAME OVER");
              }
              else {
                System.out.println();
                System.out.println(BLUE + "UNIVERSE CONSOLE: Seriously? What are you doing? Like, are you trying to find an easter egg or something? If you don't want to follow the choices then I guess I'll just end the game.");
                System.out.println();
                System.out.println();
                System.out.println();
                System.out.println(RED + "GAME OVER");
              }
            }
            else if (c4 == 2) {
              System.out.println("You and the rest of the division continue to march on.");
              System.out.println();
              System.out.println();
              System.out.println("The sounds of the enemies are closer now.");
              System.out.println();
              System.out.println("Do you run away?");
              System.out.println("Yes [1]");
              System.out.println("No [2]");
              int c6 = scan.nextInt();
              if (c6 == 1) {
                int eHP = 100;
                int winner1 = b.fight1(yHp, eHP, "Tribe Swordsman");
                if (winner1 == 1) {
                  yHp = b.getyhp();
                  int winner2 = b.fight1(yHp, eHP, "Tribe Spearman");
                  if (winner2 == 1) {
                    yHp = b.getyhp();
                    int winner3 = b.fight1(yHp, eHP, "Tribe Calvaryman");
                    if (winner3 == 1) {
                      yHp = b.getyhp();
                      int lHP = 10000;
                      int winner4 = b.farceFight(yHp, lHP, 10, "Tribe Division Leader");
                      System.out.println();
                      System.out.println();
                      System.out.println(RED + "The Tribe Division Leader attacks you and deals 10000 damage!");
                      System.out.println();
                      System.out.println();
                      System.out.println(RED + "You Died");
                      System.out.println();
                      System.out.println();
                      System.out.println();
                      System.out.println("GAME OVER");
                    }
                  }
                }
              }
              else if (c6 == 2) {
                System.out.println("You continue moving on.");
                System.out.println();
                System.out.println();
                System.out.println("The enemies sound like they are practically on top of you.");
                System.out.println();
                System.out.println("Do you run away?");
                System.out.println("Yes [1]");
                System.out.println("No [2]");
                int c7 = scan.nextInt();
                if (c7 == 1) {
                  int eHP = 100;
                  int winner1 = b.fight1(yHp, eHP, "Tribe Swordsman");
                  if (winner1 == 1) {
                    yHp = b.getyhp();
                    int winner2 = b.fight1(yHp, eHP, "Tribe Spearman");
                    if (winner2 == 1) {
                      yHp = b.getyhp();
                      int winner3 = b.fight1(yHp, eHP, "Tribe Calvaryman");
                      if (winner3 == 1) {
                        yHp = b.getyhp();
                        int lHP = 10000;
                        int winner4 = b.farceFight(yHp, lHP, 10, "Tribe Division Leader");
                        System.out.println();
                        System.out.println();
                        System.out.println(RED + "The Tribe Division Leader attacks you and deals 10000 damage!");
                        System.out.println();
                        System.out.println();
                        System.out.println(RED + "You Died");
                        System.out.println();
                        System.out.println();
                        System.out.println();
                        System.out.println("GAME OVER");
                      }
                    }
                  }
                }
                else if (c7 == 2) {
                  System.out.println("The enemies appear and immediately start cutting down the people around you.");
                  System.out.println(RED + "Do you run away?!");
                  System.out.println();
                  System.out.println(RED + "YES [1]");
                  System.out.println("NO [2]");
                  int c8 = scan.nextInt();
                  if (c8 == 1) {
                    System.out.println("-10 Karma");
                    System.out.println(RESET + "You break away from the terror and chaos desperately, and try to escape.");
                    System.out.println();
                    System.out.println("Among the chaos, an arrow cuts through you and you die, forgotten and completely alone.");
                    System.out.println();
                    System.out.println();
                    System.out.println(RED + "You Died!");
                    System.out.println();
                    System.out.println();
                    System.out.println();
                    System.out.println("GAME OVER");
                  }
                  else if (c8 == 2) {
                    System.out.println("You stand your ground and fend off any stray arrows and attacks from enemies around you.");
                    System.out.println();
                    System.out.println(CYAN + "Despite the chaos and death around you, you feel at ease. It's as though you belong in this kind of climate...");
                    System.out.println();
                    System.out.println(GREEN + "+5 Karma");
                    karma = karma + 5;
                    System.out.println();
                    System.out.println(YELLOW + "Soul of the World: It seems that you are truely willing to follow your Personal Legend. I can't wait to see what you are able to achieve, " + CYAN + name + YELLOW + "!");
                    System.out.println();
                    System.out.println();
                    System.out.println(RESET + "You are the only one left of your ruined division, and the leader of the enemy's attacking force approaches you.");
                    System.out.println();
                    System.out.print(RED + "Tribesman Leader: ");
                    System.out.print(RESET + "You are admirable, for you have not run away like a coward in this battle. Tell me your name, honorable warrior.");
                    System.out.println();
                    System.out.println();
                    System.out.print(CYAN + name + RESET +  ": My name is " + CYAN + name + ".");
                    System.out.println();
                    System.out.println();
                    System.out.print(RED + "Tribesman Leader: ");
                    System.out.print(RESET + " It is good to meet you, " + CYAN + name + RESET + ". Now, let us make a deal. Should you beat me, you may take my place as the leader of the tribesmans' battle force.");
                    System.out.println();
                    System.out.println();
                    int tHP = 10000;
                    b.setLimit(100);
                    int winner1 = b.farceFight(yHp, tHP, 5, "Tribesman Leader");
                    System.out.println();
                    System.out.println(RED + "Tribesman Leader" + RESET + " attacks you and deals 99 damage!");
                    System.out.println();
                    System.out.println("You are immediately blown away, and you are close to death.");
                    System.out.println();
                    System.out.println(RED + "Do you give up now?");
                    System.out.println("YES [1]");
                    System.out.println("NO [2]");
                    int c9 = scan.nextInt();
                    if (c9 == 1) {
                      System.out.println();
                      System.out.println("Tribesman Leader: " + RESET + " Come on now, " + name + ", I thought you are a person of strong spirit and will. Get up and fight me!");
                      System.out.println("...");
                      System.out.println("");
                      System.out.println(RED + "Tribesman Leader: " + RESET + " I see. I suppose I was wrong about your character. Goodbye, " + name + ".");
                      System.out.println();
                      System.out.println("The Tribesman Leader ends your life without mercy.");
                      System.out.println();
                      System.out.println(YELLOW + "Soul of the World: I had such great expectations for you, but, even the ones with so much potential fail as well...");
                      System.out.println();
                      System.out.println();
                      System.out.println();
                      System.out.println(RED + "You Died!");
                      System.out.println();
                      System.out.println();
                      System.out.println();
                      System.out.println("GAME OVER");
                    }
                    else if (c9 == 2) {
                      System.out.println();
                      System.out.println();
                      System.out.println("You should be completely crippled, but you feel invigorated!");
                      System.out.println();
                      System.out.println("You get up, despite looking as though it should not be possible.");
                      System.out.println();
                      System.out.println();
                      System.out.println(RED + "Tribesman Leader: " + RESET + "Impressive! Show me your might, " + CYAN + name + "!");
                      yHp = 1000;
                      b.setLimit(yHp);
                      System.out.println();
                      System.out.println();
                      b.farceFight(yHp, b.getrhp(), 10, "Tribesman Leader");
                      System.out.println();
                      System.out.println();
                      System.out.println(RED + "The Tribesman Leader attacks you and deals 999 damage!");
                      System.out.println();
                      System.out.println("Do you give up now?");
                      System.out.println("YES [1]");
                      System.out.println("NO [2]");
                      int c10 = scan.nextInt();
                      if (c10 == 1) {
                        System.out.println();
                      System.out.println("Tribesman Leader: " + RESET + " Come on now, " + name + ", I thought you are a person of strong spirit and will. Get up and fight me!");
                      System.out.println("...");
                      System.out.println("");
                      System.out.println(RED + "Tribesman Leader: " + RESET + " I see. I suppose I was wrong about your character. Goodbye, " + name + ".");
                      System.out.println();
                      System.out.println("The Tribesman Leader ends your life without mercy.");
                      System.out.println();
                      System.out.println(YELLOW + "Soul of the World: I had such great expectations for you, but, even the ones with so much potential fail as well...");
                      System.out.println();
                      System.out.println();
                      System.out.println();
                      System.out.println(RED + "You Died!");
                      System.out.println();
                      System.out.println();
                      System.out.println();
                      System.out.println("GAME OVER");
                      }
                      else if (c10 == 2) {
                        System.out.println(GREEN + "The universe roars as it pushes you forward, revitalizing you.");
                        System.out.println();
                        System.out.println();
                        System.out.println(RED + "Tribesman Leader: " + RESET + "Amazing! This is what I have always been searching for: someone who is like me, someone who also follows their dream no matter what!");
                        System.out.println();
                        System.out.println(GREEN + "+10 Karma");
                        karma = karma + 10;
                        System.out.println();
                        System.out.println(RED + "Tribesman Leader: " + RESET + "Come now, let us see who has the greater will and the support of the Soul of the World!");
                        yHp = 10000;
                        b.setLimit(yHp);
                        int winner3 = b.fight2(yHp, b.getrhp(), "Tribesman Leader", 2500, 1000, 2000, 1000);
                        if (winner3 == 1) {
                          System.out.println();
                          System.out.println(RED + "Tribesman Leader: " + RESET + "It seems that you truly are the greater one between us, " + CYAN + name + RESET + ", I suppose I was fated to fall to you. It is as we agreed, you are now the commander of the forces of the" + PURPLE + " Tarifan Tribe" + RESET + ".");
                          System.out.println();
                          System.out.println();
                          System.out.println();
                          System.out.println();
                          System.out.println();
                          System.out.println(BLUE + "2 Years Later...");
                          System.out.println();
                          System.out.println();
                          System.out.println();
                          System.out.println();
                          System.out.println(RESET + "You have gathered respect and fame as a warrior during your time as the leader of the" + PURPLE + " Tarifan Tribe" + RESET + " forces.");
                          System.out.println("However, the war with the enemy tribe of" + RED + " Ashanti" + RESET + " has not ended. You and your forces have been trapped again.");
                          System.out.println("Do you think it is time to give up with the achievements you have already made?");
                          System.out.println();
                          System.out.println("Yes [1]");
                          System.out.println("No [2]");
                          int c11 = scan.nextInt();
                          if (c11 == 1) {
                            System.out.println();
                            System.out.println(RESET + "You surrender and the forces of the Ashanti tribe do not show mercy. They slaughtered you and your comrades with very few escaping. In the end, you were remembered as the coward Tribesman Leader who gave up the war against the Ashanti tribe.");
                            System.out.println();
                            System.out.println(YELLOW + "Soul of the World: I had such high hopes for you 2 years ago, but, now I can only look upon you in disappointment. You gave up when it was the most crucial moment, " + RED + name + YELLOW + ".");
                            System.out.println();
                            System.out.println();
                            System.out.println();
                            System.out.println(RED + "GAME OVER");
                          }
                          else if (c11 == 2) {
                            System.out.println("");
                            System.out.println(GREEN + "+5 Karma");
                            karma = karma + 5;
                            System.out.println();
                            System.out.println("You come up with three options.");
                            System.out.println();
                            System.out.println("Choose which one you follow and decide your legacy.");
                            System.out.println(PURPLE + "Have all your forces rush out all at once and try to escape. [1]");
                            System.out.println(CYAN + "Stay behind and hold the enemies back by yourself and your most trusted warriors and send the rest back to safe territory. [2]");
                            System.out.println(GREEN + "Stand your ground and attempt to defeat the vastly superior enemies with your comrades. [3]");
                            int c12 = scan.nextInt();
                            if (c12 == 1) {
                              System.out.println();
                              System.out.println();
                              System.out.println(RESET + "All at once, your entire force runs out of its hiding spots and try to escape.");
                              System.out.println();
                              System.out.println("Right before managing to break away from the " + RED + "Ashanti" + RESET + ", you were stopped by a force of 25 of their strongest warriors.");
                              System.out.println();
                              System.out.println("You decide to take them on yourself and let the rest of your men run away.");
                              yHp = 10000;
                              b.setLimit(10000);
                              int winner4 = b.fight25(yHp, 7500, 25, "Ashanti Swordsman");
                              if (winner4 == 1) {
                                System.out.println(GREEN + "YOU WIN!");
                                System.out.println();
                                System.out.println();
                                System.out.println();
                                System.out.println(YELLOW + "You went down in history as the warrior who crippled the " + RED + "Ashanti " + YELLOW +  "forces by slaying the 25 strongest" + RED + " Ashanti" + YELLOW + " warriors and managing to escape with most of your force.");
                                System.out.println();
                                System.out.println();
                                System.out.println(BLUE + "Karma: " + karma);
                                System.out.println();
                                System.out.println(PURPLE + "THE END");
                              }
                              else if (winner4 == 0) {
                                System.out.println(YELLOW + "You went down in history as the foolish warrior who sacrificed their life in order to try to cripple the army of the " + RED + "Ashanti " + YELLOW + "tribe.");
                                System.out.println();
                                System.out.println();
                                System.out.println(BLUE + "Karma: " + karma);
                                System.out.println();
                                System.out.println(PURPLE + "THE END");
                              }
                            }
                            else if (c12 == 2) {
                              System.out.println();
                              System.out.println(RESET + "The Ashanti decide to send everyone they have upon you all. You order all but 10 of your most trusted warriors to stay back and fight the enemies. Everyone else runs while they still can.");
                              yHp = 10000;
                              int youenemies = b.infinityfight(yHp, 1000, "Ashanti Swordsman");
                              System.out.println();
                              System.out.println();
                              int bbb = b.getenemies();
                              System.out.println(YELLOW + "You and the ten warriors went down in history as the great warriors who held back a force a 10,000 enemies and killed " + youenemies + " of them, " + bbb + " of which, were killed by you, " + CYAN + name + YELLOW + ".");
                              System.out.println();
                              System.out.println();
                              System.out.println(BLUE + "Karma: " + karma);
                              System.out.println();
                              System.out.println(CYAN + "THE END");
                            }
                            else if (c12 == 3) {
                              System.out.println();
                              System.out.println(RESET + "You decide to hold your position and try to somehow outlast the enemies.");
                              System.out.println();
                              System.out.println(". . . ");
                              System.out.println();
                              System.out.println("When the " + RED +  "Ashanti" + RESET +  " decide to attack with everyone they had, you decide to fight their elite division of 50 warriors.");
                              System.out.println();
                              System.out.println();
                              yHp = 10000;
                              int winner5 = b.fight50(yHp, 5000, 50, "Ashanti Tribesman");
                              if (winner5 == 1) {
                                System.out.println();
                                System.out.println(GREEN + "YOU WIN");
                                System.out.println();
                                System.out.println(YELLOW + "You and all of your force went down in history as legendary warriors who, against all odds, won against the enemies who outnumbered them 10 to 1.");
                                System.out.println();
                                System.out.println();
                                System.out.println(BLUE + "Karma: " + karma);
                                System.out.println();
                                System.out.println(GREEN + "THE END");
                              }
                              else if (winner5 == 0) {
                                System.out.println();
                                System.out.println();
                                System.out.println(YELLOW + "You were known as the most foolish warrior in Tarifan history who led many to their deaths against a force who outnumbered them 10 to 1.");
                                System.out.println();
                                System.out.println();
                                System.out.println(BLUE + "Karma: " + karma);
                                System.out.println();
                                System.out.println(GREEN + "THE END");
                              }
                            }
                            else {
                              System.out.println();
                              System.out.println(BLUE + "UNIVERSE CONSOLE: Seriously? What are you doing? Like, are you trying to find an easter egg or something? If you don't want to follow the choices then I guess I'll just end the game.");
                              System.out.println();
                              System.out.println();
                              System.out.println();
                              System.out.println(CYAN + "GAME OVER");
                            }
                          }
                          else {
                              System.out.println();
                              System.out.println(BLUE + "UNIVERSE CONSOLE: Seriously? What are you doing? Like, are you trying to find an easter egg or something? If you don't want to follow the choices then I guess I'll just end the game.");
                              System.out.println();
                              System.out.println();
                              System.out.println();
                              System.out.println(RED + "GAME OVER");
                          }
                        }
                      }
                      else {
                              System.out.println();
                              System.out.println(BLUE + "UNIVERSE CONSOLE: Seriously? What are you doing? Like, are you trying to find an easter egg or something? If you don't want to follow the choices then I guess I'll just end the game.");
                              System.out.println();
                              System.out.println();
                              System.out.println();
                              System.out.println(RED + "GAME OVER");
                            }
                    }
                    else {
                              System.out.println();
                              System.out.println(BLUE + "UNIVERSE CONSOLE: Seriously? What are you doing? Like, are you trying to find an easter egg or something? If you don't want to follow the choices then I guess I'll just end the game.");
                              System.out.println();
                              System.out.println();
                              System.out.println();
                              System.out.println(RED + "GAME OVER");
                            }
                  }
                  else {
                              System.out.println();
                              System.out.println(BLUE + "UNIVERSE CONSOLE: Seriously? What are you doing? Like, are you trying to find an easter egg or something? If you don't want to follow the choices then I guess I'll just end the game.");
                              System.out.println();
                              System.out.println();
                              System.out.println();
                              System.out.println(RED + "GAME OVER");
                            }
                }
                else {
                              System.out.println();
                              System.out.println(BLUE + "UNIVERSE CONSOLE: Seriously? What are you doing? Like, are you trying to find an easter egg or something? If you don't want to follow the choices then I guess I'll just end the game.");
                              System.out.println();
                              System.out.println();
                              System.out.println();
                              System.out.println(RED + "GAME OVER");
                            }
              }
              else {
                              System.out.println();
                              System.out.println(BLUE + "UNIVERSE CONSOLE: Seriously? What are you doing? Like, are you trying to find an easter egg or something? If you don't want to follow the choices then I guess I'll just end the game.");
                              System.out.println();
                              System.out.println();
                              System.out.println();
                              System.out.println(RED + "GAME OVER");
                            }
            }
            else {
                              System.out.println();
                              System.out.println(BLUE + "UNIVERSE CONSOLE: Seriously? What are you doing? Like, are you trying to find an easter egg or something? If you don't want to follow the choices then I guess I'll just end the game.");
                              System.out.println();
                              System.out.println();
                              System.out.println();
                              System.out.println(RED + "GAME OVER");
                            }
          }
          else if (c3 == 2) {
            karma = karma - 3;
            System.out.println(RED + "-3 Karma");
            System.out.println();
            System.out.println(RESET + "For reasons unknown, you completely ignore the pamphlet despite your " + YELLOW +  "Heart " + RESET + "telling you to go back.");
            System.out.println();
            System.out.println("You silence it thinking, 'There is no way I am going to war. I do not want to die in a battle...'");
            System.out.println();
            System.out.println(RED + name + ": " + RESET + "I will become a baker with the money I have. It is far less dangerous and profitable.");
            System.out.println();
            System.out.println();
            System.out.println();
            System.out.println(BLUE + "1 Month Later...");
            System.out.println();
            System.out.println();
            System.out.println();
            System.out.println(RESET + "You have a fairly successful bakery in the town that you sold all of your belongings in. One day, you are cornered by 2 people who want to rob you.");
            System.out.println();
            System.out.println("Unfortunately, in your days as a baker, you have become physically weak. Nonetheless, you must fight for your life and your money.");
            yHp = 75;
            b.setLimit(75);
            int winner = b.fightweak(yHp, 50, 2, "Rogue");
            if (winner == 1) {
              System.out.println();
              System.out.println(GREEN + "YOU WIN");
              System.out.println();
              System.out.println();
              System.out.println();
              System.out.println(RESET + "The fight you had reminded you of the dream you left behind and you are conflicted.");
              System.out.println();
              System.out.println(RED + "Leave your bakery behind and go back to the pamphlet (It's still there, what a coincidence). [1]");
              System.out.println("Continue to leave your calling behind and be a baker [2]");
              int choicesomething = scan.nextInt();
              if (choicesomething == 1) {
                dbz.townpath2(name, karma);
              }
              else if (choicesomething == 2) {
                System.out.println();
                System.out.println();
                System.out.println("You decide to, once again, ignore what your Personal Legend is.");
                System.out.println();
                System.out.println();
                System.out.println();
                System.out.println(YELLOW + "You grow your bakery to be the most successful one in the nation. Despite your success, you are plagued with nightmares and dreams about what you could have been if you had followed your Personal Legend.");
                System.out.println();
                System.out.println();
                System.out.println(BLUE + "Karma: " + karma);
                System.out.println();
                System.out.println(RED + "THE END");
              }
              else {
                System.out.println();
                System.out.println(BLUE + "UNIVERSE CONSOLE: Seriously? What are you doing? Like, are you trying to find an easter egg or something? If you don't want to follow the choices then I guess I'll just end the game.");
                System.out.println();
                System.out.println();
                System.out.println();
                System.out.println(RED + "GAME OVER");
              }
            }
            else if (winner == 0) {
              System.out.println(RED + "You Died");
              System.out.println();
              System.out.println();
              System.out.println();
              System.out.println("GAME OVER");
            }
          }
          else {
                              System.out.println();
                              System.out.println(BLUE + "UNIVERSE CONSOLE: Seriously? What are you doing? Like, are you trying to find an easter egg or something? If you don't want to follow the choices then I guess I'll just end the game.");
                              System.out.println();
                              System.out.println();
                              System.out.println();
                              System.out.println(RED + "GAME OVER");
          }

        }
        else if (c2 == 2) {
          System.out.println(RED + "-1 Karma");
          karma = karma - 1;
          System.out.println();
          System.out.println(RESET + "You leave the old man sitting on the edge of the path and continue on your path to the town.");
          System.out.println();
          System.out.println();
          dbz.townpathaftold(name, karma);
        }
        else {
          System.out.println();
          System.out.println(BLUE + "UNIVERSE CONSOLE: Seriously? What are you doing? Like, are you trying to find an easter egg or something? If you don't want to follow the choices then I guess I'll just end the game.");
          System.out.println();
          System.out.println();
          System.out.println();
          System.out.println(RED + "GAME OVER");
          }
      }
      else if (c1 == 2) {
        System.out.println(RED + "-1 Karma");
        karma = karma - 1;
        System.out.println(RESET + "You walk down this path, without reason, for a long while and then you are confronted by a robber.");
        System.out.println("Do you fight or run or away?");
        System.out.println("FIGHT [1]");
        System.out.println("RUN AWAY [2]");
        int c2 = scan.nextInt();
        if (c2 == 1) {
          int rHP = 100;
          b.setLimit(yHp);
          int winner1 = b.fight1(yHp, rHP, "Robber");
          if (winner1 == 1) {
            gold = gold + 5;
            System.out.println(GREEN + "+5 Gold");
            yHp = b.getyhp();
            System.out.println(RESET + "You continue down the road, despite not even knowing why you are. You see the path splits off to the town.");
            System.out.println("Go on the path to the town [1]");
            System.out.println("Continue on the current path [2]");
            int c3 = scan.nextInt();
            if (c3 == 1) {
              System.out.println(GREEN + "+1 Karma");
              karma = karma + 1;
              System.out.println(RESET + "");
              System.out.println();
              System.out.println("You finally make the right choice and continue on the path you were meant to take.");
              System.out.println();
              System.out.println();
              dbz.townpath(name, karma);
            }
            else if (c3 == 2) {
              System.out.println(RED + "-1 Karma");
              karma = karma - 1;
              System.out.println();
              System.out.println(RESET + "You decide that you don't have any intention to follow your Personal Legend and continue on this pointless path.");
              System.out.println("After travelling until it is night, starved and thirsty, you come across a camp.");
              System.out.println("You desperately ask the people there for some food and water.");
              System.out.println(name + ": Please, lend me some water and food, I have not eaten or drunk in a long while.");
              System.out.println("One of the men there approach your beaten form and takes a moment to look in your eyes...");
              System.out.println();
              System.out.println();
              System.out.println(BLUE + "Karma: " + RED + karma);
              System.out.println();
              System.out.println();
              System.out.print(CYAN + "Mysterious Man: ");
              System.out.print(RESET + "Why should I give you food and water. You are a person without reason. And, most importantly, you gave up on your dream, your Personal Legend.");
              System.out.println();
              System.out.println();
              System.out.println("Angry with the man's truthful words, you angrily attempt to attack him.");
              System.out.println();
              System.out.println();
              int mHP = 1000;
              b.setLimit(100);
              int winner2 = b.farceFight(yHp, mHP, 10, "Mysterious Man");
              System.out.println();
              System.out.println();
              System.out.print(CYAN + "Mysterious Man:");
              System.out.print(RESET + "You have shown me you have already failed your journey before it even started.");
              System.out.println(" Goodbye, " + name + ".");
              System.out.println(RED + "The Mysterious Man attacks you and deals 10000 damage!");
              System.out.println();
              System.out.println();
              System.out.println(RED + "You Died!");
              System.out.println();
              System.out.println();
              System.out.println();
              System.out.println();
              System.out.println();
              System.out.println("GAME OVER");
            }
            else {
                              System.out.println();
                              System.out.println(BLUE + "UNIVERSE CONSOLE: Seriously? What are you doing? Like, are you trying to find an easter egg or something? If you don't want to follow the choices then I guess I'll just end the game.");
                              System.out.println();
                              System.out.println();
                              System.out.println();
                              System.out.println(RED + "GAME OVER");
                            }   
          }
        }
        else if (c2 == 2) {
          System.out.println(RED + "-1 Karma");
          System.out.println();
          System.out.println(RESET + "You run away, but are shot down by the robber as he had a bow.");
          System.out.println();
          System.out.println();
          System.out.println();
          System.out.println(RED + "You died");
          System.out.println();
          System.out.println();
          System.out.println();
          System.out.println("GAME OVER");
        }
        else {
                              System.out.println();
                              System.out.println(BLUE + "UNIVERSE CONSOLE: Seriously? What are you doing? Like, are you trying to find an easter egg or something? If you don't want to follow the choices then I guess I'll just end the game.");
                              System.out.println();
                              System.out.println();
                              System.out.println();
                              System.out.println(RED + "GAME OVER");
                            }
      }
      
      else if (c1 == 3) {
        System.out.println();
        System.out.println(YELLOW + "Soul of the World: Yikes, this was not supposed to be here. Well, I guess you should be rewarded, or something, for finding this place.");
        System.out.println();
        System.out.println();
        System.out.println(BLUE + "UNIVERSE CONSOLE: Set name = PogChamp");
        name = "PogChamp";
        System.out.println("");
        System.out.println("UNIVERSE CONSOLE: Set yHp = 99999999");
        System.out.println();
        b.setLimit(99999999);
        yHp = 99999999;
        System.out.println("UNIVERSE CONSOLE: Set karma = 1000");
        karma = 1000;
        System.out.println();
        System.out.println("UNIVERSE CONSOLE: " + name + ".equipment.Weapon = The 4th Wall");
        System.out.println(RESET + "The 4th Wall - A sword that deals 10000 - 1000000 damage.");
        System.out.println();
        System.out.println(BLUE + "UNIVERSE CONSOLE: " + name + ".inaccessableAbility.slot1 = System Call");
        System.out.println(RESET + "System Call - An ability that calls on the UNIVERSE CONSOLE to complete an objective.");
        System.out.println();
        System.out.println(YELLOW + "Soul of the World: What the... this is not right! I planned to just give you a different name! What's going on, is the console broken?!");
        System.out.println();
        System.out.println();
        System.out.println(BLUE + "UNIVERSE CONSOLE: " + name + ".Location = abandonedRooms.finalLvl");
        System.out.println();
        System.out.println(YELLOW + "Soul of the World: No no no no! That is not supposed to be accessible, it's abandoned for a reason you crappy piece of outdated tech! What was the Dev thinking when he made the Console!?");
        System.out.println();
        System.out.println("Soul of the World: No! Stop what you are doing! THIS CONSOLE IS GARBAGE!");
        System.out.println();
        System.out.println();
        System.out.println();
        System.out.println();
        System.out.println(BLUE + "Loading abandonedRooms.finalLvl . . .  ");
        System.out.println();
        System.out.println(RED + "ERROR: DEV HAS SET [abandonedRooms.finalLvl] ROOM STATUS = INACCESSIBLE");
        System.out.println();
        System.out.println(BLUE + "UNIVERSE CONSOLE: System override data.4wRule[6]...");
        System.out.println();
        System.out.println();
        System.out.println();
        System.out.println(BLUE + "Welcome to the final boss fight, " + name + ".");
        System.out.println();
        System.out.println();
        System.out.println(RED + "Name: The Legend 27");
        System.out.println("Lvl. 999");
        System.out.println("Health: 999999999");
        System.out.println();
        b.infight(99999999, 999999999, "The Legend 27");
        System.out.println();
        System.out.println();
      }
      else {
        System.out.println(RESET + "Nice try, bud. But, that's not the response that would have done anything special.");
      }
    }
  }
}