1 /*
2 Author: Sweetsc 寂寞之余所做
3
4 設定集
5 蹭的累:http://baike.baidu.com/view/2213196.htm
6 比利:http://baike.baidu.com/view/2280157.htm
7 Yoooooooooo:http://124.228.254.229/html/ent/20110421/192948.html
8 */
9
10
11 import java.util.*;
12
13 class Event {
14 static Random rand = new Random();
15 final static String[] eventlist = {
16 "散步",
17 "吃飯",
18 "看電影",
19 "購物",
20 "旅游"
21 };
22 int event = rand.nextInt() % eventlist.length;
23 String getEvent() {
24 return eventlist[event];
25 }
26 }
27
28 class Girl {
29 final static String[] character = {
30 "蹭的累",
31 "天然呆",
32 "普通",
33 "軟妹子",
34 "偽娘",
35 "宅女",
36 "腐女",
37 "百合"
38 };
39 static Random rand = new Random();
40
41 String name;
42 int type;
43 int friendship;
44
45 Girl(String name) {
46 this.name = name;
47 type = rand.nextInt() % character.length;
48 friendship = 0;
49 }
50
51 String getName() {
52 String ans = name;
53 if (friendship < 10) {
54 if (type == 0) return "閉嘴,基佬!";
55 return "
";
56 }
57 return ans;
58 }
59
60 void meet() {
61 friendship ++;
62 }
63
64 void date(Event event) {
65 if (friendship < 20) {
66 if (type == 0) {
67 System.out.println("我為什么要和你" + event.getEvent() + "啊?");
68 } else {
69 System.out.println("不好意思,我那天有事
.");
70 }
71 } else {
72 if (type == 0) {
73 System.out.println("偶爾和你去" + event.getEvent() + "也可以啊");
74 } else {
75 System.out.println("好啊");
76 }
77 friendship += rand.nextInt() % 10 + 5;
78 }
79 }
80
81 void lastJudgeMent() {
82 if (friendship < 80) {
83 System.out.println("她沉默了許久,轉身離開");
84 System.out.println("然后就沒有然后了……");
85 System.err.println("系統提示,好感度不足!");
86 friendship = 0x80000000;
87 return;
88 } else {
89 switch (type) {
90 case 0 :
91 System.out.println("侖家可不是因為喜歡才答應的哦!");
92 break;
93 case 4 :
94 System.out.println("Yoooooooooooooooooo!!!!");
95 System.out.println("你從此,跟隨比利,走向了追求人生哲學的道路");
96 System.err.println("系統提示,你求交往的對象是偽娘!");
97 break;
98 case 6 :
99 System.out.println("她滿懷欣喜的答應了");
100 System.out.println("過了幾天,她介紹了個男友給你");
101 System.out.println("Yoooooooooooooooooo!!!!");
102 System.out.println("你從此,跟隨比利,走向了追求人生哲學的道路");
103 System.err.println("系統提示,你求交往的對象是腐女!");
104 break;
105 case 7 :
106 System.out.println("她面無表情的說:我喜歡的是女生!");
107 System.out.println("然后就沒有然后了……");
108 friendship = 0x80000000;
109 break;
110 default :
111 System.out.println("她滿臉通紅,沉默了許久,之后羞澀的說道:好吧");
112 System.out.println("從此,你和" + character[type] + name + "過上了幸福的生活");
113 System.err.println("終于Goodend了,可喜可賀可喜可賀");
114 }
115 }
116 }
117
118 }
2 Author: Sweetsc 寂寞之余所做
3
4 設定集
5 蹭的累:http://baike.baidu.com/view/2213196.htm
6 比利:http://baike.baidu.com/view/2280157.htm
7 Yoooooooooo:http://124.228.254.229/html/ent/20110421/192948.html
8 */
9
10
11 import java.util.*;
12
13 class Event {
14 static Random rand = new Random();
15 final static String[] eventlist = {
16 "散步",
17 "吃飯",
18 "看電影",
19 "購物",
20 "旅游"
21 };
22 int event = rand.nextInt() % eventlist.length;
23 String getEvent() {
24 return eventlist[event];
25 }
26 }
27
28 class Girl {
29 final static String[] character = {
30 "蹭的累",
31 "天然呆",
32 "普通",
33 "軟妹子",
34 "偽娘",
35 "宅女",
36 "腐女",
37 "百合"
38 };
39 static Random rand = new Random();
40
41 String name;
42 int type;
43 int friendship;
44
45 Girl(String name) {
46 this.name = name;
47 type = rand.nextInt() % character.length;
48 friendship = 0;
49 }
50
51 String getName() {
52 String ans = name;
53 if (friendship < 10) {
54 if (type == 0) return "閉嘴,基佬!";
55 return "


56 }
57 return ans;
58 }
59
60 void meet() {
61 friendship ++;
62 }
63
64 void date(Event event) {
65 if (friendship < 20) {
66 if (type == 0) {
67 System.out.println("我為什么要和你" + event.getEvent() + "啊?");
68 } else {
69 System.out.println("不好意思,我那天有事

70 }
71 } else {
72 if (type == 0) {
73 System.out.println("偶爾和你去" + event.getEvent() + "也可以啊");
74 } else {
75 System.out.println("好啊");
76 }
77 friendship += rand.nextInt() % 10 + 5;
78 }
79 }
80
81 void lastJudgeMent() {
82 if (friendship < 80) {
83 System.out.println("她沉默了許久,轉身離開");
84 System.out.println("然后就沒有然后了……");
85 System.err.println("系統提示,好感度不足!");
86 friendship = 0x80000000;
87 return;
88 } else {
89 switch (type) {
90 case 0 :
91 System.out.println("侖家可不是因為喜歡才答應的哦!");
92 break;
93 case 4 :
94 System.out.println("Yoooooooooooooooooo!!!!");
95 System.out.println("你從此,跟隨比利,走向了追求人生哲學的道路");
96 System.err.println("系統提示,你求交往的對象是偽娘!");
97 break;
98 case 6 :
99 System.out.println("她滿懷欣喜的答應了");
100 System.out.println("過了幾天,她介紹了個男友給你");
101 System.out.println("Yoooooooooooooooooo!!!!");
102 System.out.println("你從此,跟隨比利,走向了追求人生哲學的道路");
103 System.err.println("系統提示,你求交往的對象是腐女!");
104 break;
105 case 7 :
106 System.out.println("她面無表情的說:我喜歡的是女生!");
107 System.out.println("然后就沒有然后了……");
108 friendship = 0x80000000;
109 break;
110 default :
111 System.out.println("她滿臉通紅,沉默了許久,之后羞澀的說道:好吧");
112 System.out.println("從此,你和" + character[type] + name + "過上了幸福的生活");
113 System.err.println("終于Goodend了,可喜可賀可喜可賀");
114 }
115 }
116 }
117
118 }