R-Kentaren commited on
Commit
3fd2dfb
ยท
verified ยท
1 Parent(s): 068de9f

Create game/cek-seberapa-femboy.js

Browse files
Files changed (1) hide show
  1. game/cek-seberapa-femboy.js +71 -0
game/cek-seberapa-femboy.js ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ function cekfemboy(nama) {
2
+
3
+ try {
4
+
5
+ if (!nama) throw new Error('Masukkan nama dulu dong!');
6
+
7
+
8
+
9
+ const percent = Math.floor(Math.random() * 101);
10
+
11
+ let desc = '';
12
+
13
+ let imgUrl = '';
14
+
15
+
16
+
17
+ if (percent < 20) {
18
+
19
+ desc = 'Cowok banget! ๐Ÿ˜Ž';
20
+
21
+ imgUrl = 'https://cek-seberapa-femboy.vercel.app/img/normal.gif';
22
+
23
+ } else if (percent < 40) {
24
+
25
+ desc = 'Ada aura lembutnya dikit~ ๐ŸŒธ';
26
+
27
+ imgUrl = 'https://cek-seberapa-femboy.vercel.app/img/dibwh40.gif';
28
+
29
+ } else if (percent < 60) {
30
+
31
+ desc = 'Lumayan femboy ๐Ÿ˜˜';
32
+
33
+ imgUrl = 'https://cek-seberapa-femboy.vercel.app/img/dibwh60.gif';
34
+
35
+ } else if (percent < 80) {
36
+
37
+ desc = 'Femboy sejati ๐Ÿ’…โœจ';
38
+
39
+ imgUrl = 'https://cek-seberapa-femboy.vercel.app/img/dibwh80.gif';
40
+
41
+ } else {
42
+
43
+ desc = 'FEMBOY DEWA ๐Ÿ”ฅ๐Ÿ’–';
44
+
45
+ imgUrl = 'https://cek-seberapa-femboy.vercel.app/img/femboyyyy.gif';
46
+
47
+ }
48
+
49
+
50
+
51
+ return {
52
+
53
+ hasil: `${nama}, kamu ${percent}% femboy!, ${desc}`,
54
+
55
+ gif: imgUrl
56
+
57
+ };
58
+
59
+ } catch (error) {
60
+
61
+ throw new Error(error.message);
62
+
63
+ }
64
+
65
+ }
66
+
67
+
68
+
69
+ // Usage:
70
+
71
+ console.log(cekfemboy('rico'));