Spaces:
Running
Running
File size: 64,015 Bytes
f0cc141 124ad1d f0cc141 124ad1d f0cc141 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 f0cc141 7f73f04 124ad1d 7f73f04 f0cc141 7f73f04 f0cc141 7f73f04 f0cc141 7f73f04 f0cc141 7f73f04 124ad1d f0cc141 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 f0cc141 124ad1d f0cc141 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 f0cc141 7f73f04 f0cc141 124ad1d f0cc141 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 f0cc141 7f73f04 124ad1d 7f73f04 f0cc141 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 f0cc141 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d f0cc141 124ad1d 7f73f04 124ad1d 7f73f04 f0cc141 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 f0cc141 124ad1d 7f73f04 f0cc141 7f73f04 f0cc141 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 124ad1d 7f73f04 f0cc141 |
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 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kanye West Social Media Manager</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
body {
font-family: 'Inter', sans-serif;
background-color: #f2f2f7;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
padding: 20px;
}
.game-header {
display: flex;
justify-content: space-between;
width: 375px;
margin-bottom: 20px;
}
.followers-box, .score-box {
background-color: #000;
color: white;
padding: 10px 15px;
border-radius: 10px;
font-weight: 600;
}
.iphone-frame {
width: 375px;
height: 812px;
background-color: #000;
border-radius: 50px;
padding: 20px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
position: relative;
overflow: hidden;
}
.screen {
width: 100%;
height: 100%;
background-image: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1064&q=80');
background-size: cover;
background-position: center;
border-radius: 40px;
overflow: hidden;
position: relative;
}
.status-bar {
display: flex;
justify-content: space-between;
padding: 10px 20px;
font-size: 14px;
font-weight: 600;
color: white;
text-shadow: 0 0 2px rgba(0,0,0,0.5);
}
.app-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
padding: 20px;
}
.app-icon {
width: 60px;
height: 60px;
border-radius: 18px;
display: flex;
justify-content: center;
align-items: center;
color: white;
font-size: 12px;
font-weight: 500;
position: relative;
cursor: pointer;
transition: transform 0.2s;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.app-icon:hover {
transform: scale(1.05);
}
.notification-badge {
position: absolute;
top: -5px;
right: -5px;
background-color: #ff3b30;
color: white;
border-radius: 50%;
width: 24px;
height: 24px;
display: flex;
justify-content: center;
align-items: center;
font-size: 12px;
font-weight: bold;
}
.modal {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
z-index: 100;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s;
}
.modal.active {
opacity: 1;
pointer-events: all;
}
.modal-content {
background-color: white;
width: 90%;
border-radius: 20px;
padding: 20px;
transform: translateY(20px);
transition: transform 0.3s;
max-height: 80vh;
overflow-y: auto;
}
.modal.active .modal-content {
transform: translateY(0);
}
.response-input {
width: 100%;
height: 100px;
border: 1px solid #ddd;
border-radius: 10px;
padding: 10px;
margin-top: 10px;
resize: none;
font-family: 'Inter', sans-serif;
}
.submit-btn {
background-color: #007aff;
color: white;
border: none;
border-radius: 10px;
padding: 10px 20px;
margin-top: 10px;
cursor: pointer;
font-weight: 600;
}
.action-btn {
background-color: #34c759;
color: white;
border: none;
border-radius: 10px;
padding: 10px 20px;
margin-top: 10px;
cursor: pointer;
font-weight: 600;
width: 100%;
}
.notification {
position: absolute;
top: 50px;
left: 50%;
transform: translateX(-50%);
background-color: rgba(0, 0, 0, 0.8);
color: white;
padding: 10px 15px;
border-radius: 10px;
font-size: 14px;
opacity: 0;
transition: opacity 0.3s;
pointer-events: none;
}
.notification.show {
opacity: 1;
}
.home-indicator {
width: 130px;
height: 5px;
background-color: rgba(255,255,255,0.8);
border-radius: 3px;
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
}
.app-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
border-bottom: 1px solid #eee;
}
.back-btn {
background: none;
border: none;
font-size: 16px;
font-weight: 600;
cursor: pointer;
}
.post-content {
padding: 20px;
border-bottom: 1px solid #eee;
}
.comment {
padding: 15px;
border-bottom: 1px solid #eee;
}
.comment-user {
font-weight: 600;
margin-bottom: 5px;
}
.progress-bar {
height: 5px;
background-color: #007aff;
position: fixed;
bottom: 0;
left: 0;
width: 0%;
transition: width 0.3s;
}
.game-over {
text-align: center;
padding: 20px;
}
.restart-btn {
background-color: #007aff;
color: white;
border: none;
border-radius: 10px;
padding: 10px 20px;
margin-top: 20px;
cursor: pointer;
font-weight: 600;
}
.responses-list {
max-height: 200px;
overflow-y: auto;
margin-top: 20px;
border: 1px solid #eee;
border-radius: 10px;
padding: 10px;
}
.response-item {
padding: 8px 0;
border-bottom: 1px solid #f0f0f0;
}
.response-app {
font-weight: 600;
color: #007aff;
}
.response-text {
color: #333;
}
.action-modal .modal-content {
text-align: center;
}
.action-icon {
font-size: 40px;
margin-bottom: 15px;
color: #007aff;
}
/* App-specific styles */
.instagram-post {
background: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045);
color: white;
padding: 15px;
border-radius: 10px;
margin-bottom: 15px;
}
.twitter-post {
background-color: #1da1f2;
color: white;
padding: 15px;
border-radius: 10px;
margin-bottom: 15px;
}
.facebook-post {
background-color: #1877f2;
color: white;
padding: 15px;
border-radius: 10px;
margin-bottom: 15px;
}
.tiktok-post {
background-color: #000;
color: white;
padding: 15px;
border-radius: 10px;
margin-bottom: 15px;
}
.youtube-post {
background-color: #ff0000;
color: white;
padding: 15px;
border-radius: 10px;
margin-bottom: 15px;
}
.reddit-post {
background-color: #ff5700;
color: white;
padding: 15px;
border-radius: 10px;
margin-bottom: 15px;
}
.linkedin-post {
background-color: #0a66c2;
color: white;
padding: 15px;
border-radius: 10px;
margin-bottom: 15px;
}
.messages-post {
background-color: #34c759;
color: white;
padding: 15px;
border-radius: 10px;
margin-bottom: 15px;
}
.email-post {
background-color: #ea4335;
color: white;
padding: 15px;
border-radius: 10px;
margin-bottom: 15px;
}
.discord-post {
background-color: #5865f2;
color: white;
padding: 15px;
border-radius: 10px;
margin-bottom: 15px;
}
.messenger-post {
background-color: #0084ff;
color: white;
padding: 15px;
border-radius: 10px;
margin-bottom: 15px;
}
.spotify-post {
background-color: #1db954;
color: white;
padding: 15px;
border-radius: 10px;
margin-bottom: 15px;
}
.cashapp-post {
background-color: #00d632;
color: white;
padding: 15px;
border-radius: 10px;
margin-bottom: 15px;
}
.doordash-post {
background-color: #ff3008;
color: white;
padding: 15px;
border-radius: 10px;
margin-bottom: 15px;
}
.snapchat-post {
background-color: #fffc00;
color: black;
padding: 15px;
border-radius: 10px;
margin-bottom: 15px;
}
.settings-post {
background-color: #8e8e93;
color: white;
padding: 15px;
border-radius: 10px;
margin-bottom: 15px;
}
.avatar {
width: 40px;
height: 40px;
border-radius: 50%;
margin-right: 10px;
object-fit: cover;
}
.post-header {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.post-image {
width: 100%;
border-radius: 10px;
margin-top: 10px;
}
.wifi-list {
margin-top: 15px;
}
.wifi-item {
display: flex;
justify-content: space-between;
padding: 10px;
border-bottom: 1px solid #eee;
cursor: pointer;
}
.wifi-item:hover {
background-color: #f5f5f5;
}
.wifi-icon {
color: #007aff;
}
.snap-image {
width: 100%;
height: 300px;
object-fit: cover;
border-radius: 10px;
margin: 10px 0;
}
.snap-buttons {
display: flex;
justify-content: space-around;
margin-top: 15px;
}
.snap-btn {
padding: 8px 15px;
border-radius: 20px;
font-weight: 600;
cursor: pointer;
}
.snap-like {
background-color: #ff3b30;
color: white;
}
.snap-dislike {
background-color: #007aff;
color: white;
}
.notification-count {
position: absolute;
top: -10px;
right: -10px;
background-color: #ff3b30;
color: white;
border-radius: 50%;
min-width: 24px;
height: 24px;
display: flex;
justify-content: center;
align-items: center;
font-size: 12px;
font-weight: bold;
padding: 0 5px;
}
.follower-count {
font-size: 1.2em;
color: #ff3b30;
}
</style>
</head>
<body>
<div class="game-header">
<div class="followers-box">Followers: <span id="followers" class="follower-count">10,000,000</span></div>
<div class="score-box">Score: <span id="score">0</span></div>
</div>
<div class="iphone-frame">
<div class="screen">
<div class="status-bar">
<span>9:41</span>
<div>
<i class="fas fa-signal"></i>
<i class="fas fa-wifi ml-2"></i>
<i class="fas fa-battery-full ml-2"></i>
</div>
</div>
<div class="app-grid" id="app-grid">
<div class="app-icon bg-gradient-to-br from-purple-500 to-pink-500" data-app="instagram">
<i class="fab fa-instagram text-2xl"></i>
<div class="notification-count hidden">0</div>
</div>
<div class="app-icon bg-blue-400" data-app="twitter">
<i class="fab fa-twitter text-2xl"></i>
<div class="notification-count hidden">0</div>
</div>
<div class="app-icon bg-blue-600" data-app="facebook">
<i class="fab fa-facebook-f text-2xl"></i>
<div class="notification-count hidden">0</div>
</div>
<div class="app-icon bg-black" data-app="tiktok">
<i class="fab fa-tiktok text-2xl"></i>
<div class="notification-count hidden">0</div>
</div>
<div class="app-icon bg-yellow-400" data-app="snapchat">
<i class="fab fa-snapchat-ghost text-2xl"></i>
<div class="notification-count hidden">0</div>
</div>
<div class="app-icon bg-red-600" data-app="youtube">
<i class="fab fa-youtube text-2xl"></i>
<div class="notification-count hidden">0</div>
</div>
<div class="app-icon bg-orange-600" data-app="reddit">
<i class="fab fa-reddit-alien text-2xl"></i>
<div class="notification-count hidden">0</div>
</div>
<div class="app-icon bg-blue-700" data-app="linkedin">
<i class="fab fa-linkedin-in text-2xl"></i>
<div class="notification-count hidden">0</div>
</div>
<div class="app-icon bg-green-500" data-app="messages">
<i class="fas fa-comment-dots text-2xl"></i>
<div class="notification-count hidden">0</div>
</div>
<div class="app-icon bg-red-500" data-app="email">
<i class="fas fa-envelope text-2xl"></i>
<div class="notification-count hidden">0</div>
</div>
<div class="app-icon bg-indigo-500" data-app="discord">
<i class="fab fa-discord text-2xl"></i>
<div class="notification-count hidden">0</div>
</div>
<div class="app-icon bg-blue-500" data-app="messenger">
<i class="fab fa-facebook-messenger text-2xl"></i>
<div class="notification-count hidden">0</div>
</div>
<div class="app-icon bg-green-600" data-app="spotify">
<i class="fab fa-spotify text-2xl"></i>
<div class="notification-count hidden">0</div>
</div>
<div class="app-icon bg-emerald-500" data-app="cashapp">
<i class="fas fa-dollar-sign text-2xl"></i>
<div class="notification-count hidden">0</div>
</div>
<div class="app-icon bg-red-500" data-app="doordash">
<i class="fas fa-utensils text-2xl"></i>
<div class="notification-count hidden">0</div>
</div>
<div class="app-icon bg-gray-800" data-app="settings">
<i class="fas fa-cog text-2xl"></i>
<div class="notification-count hidden">0</div>
</div>
</div>
<div class="home-indicator"></div>
<div class="modal" id="response-modal">
<div class="modal-content">
<div class="app-header">
<button class="back-btn" id="back-btn">← Back</button>
<h3 id="modal-app-name">Instagram</h3>
<div></div>
</div>
<div id="app-post-container">
<!-- App-specific content will be loaded here -->
</div>
<textarea class="response-input" id="response-input" placeholder="Type Kanye's response here..."></textarea>
<button class="submit-btn" id="submit-btn">Send</button>
</div>
</div>
<div class="modal" id="action-modal">
<div class="modal-content">
<div class="app-header">
<button class="back-btn" id="action-back-btn">← Back</button>
<h3 id="action-app-name">Instagram</h3>
<div></div>
</div>
<div id="action-post-container">
<!-- Action-specific content will be loaded here -->
</div>
<div class="action-icon">
<i id="action-icon" class="fas fa-heart"></i>
</div>
<p id="action-description">Like this comment from @fan123</p>
<button class="action-btn" id="action-btn">Confirm</button>
</div>
</div>
<div class="modal" id="snapchat-modal">
<div class="modal-content">
<div class="app-header">
<button class="back-btn" id="snap-back-btn">← Back</button>
<h3>Snapchat</h3>
<div></div>
</div>
<div class="post-header">
<img src="https://randomuser.me/api/portraits/women/1.jpg" class="avatar" id="snap-avatar">
<div>
<div class="font-bold" id="snap-username">@hotgirl1</div>
<div class="text-sm text-gray-500">2m ago</div>
</div>
</div>
<img src="https://source.unsplash.com/random/300x400/?concert,kanye" class="snap-image" id="snap-image">
<div class="snap-buttons">
<div class="snap-btn snap-like" id="snap-like-btn">
<i class="fas fa-heart"></i> Like
</div>
<div class="snap-btn snap-dislike" id="snap-dislike-btn">
<i class="fas fa-times"></i> Skip
</div>
</div>
</div>
</div>
<div class="modal" id="settings-modal">
<div class="modal-content">
<div class="app-header">
<button class="back-btn" id="settings-back-btn">← Back</button>
<h3>Settings</h3>
<div></div>
</div>
<div class="settings-post">
<h3 class="font-bold">Wi-Fi</h3>
<p>Connect to a network to manage notifications</p>
<div class="wifi-list">
<div class="wifi-item" data-wifi="Starbucks Free WiFi">
<div>
<i class="fas fa-wifi wifi-icon"></i> Starbucks Free WiFi
</div>
<div>
<i class="fas fa-lock-open"></i>
</div>
</div>
<div class="wifi-item" data-wifi="Airport WiFi">
<div>
<i class="fas fa-wifi wifi-icon"></i> Airport WiFi
</div>
<div>
<i class="fas fa-lock-open"></i>
</div>
</div>
<div class="wifi-item" data-wifi="YeDomeNetwork">
<div>
<i class="fas fa-wifi wifi-icon"></i> YeDomeNetwork
</div>
<div>
<i class="fas fa-lock"></i>
</div>
</div>
<div class="wifi-item" data-wifi="Hotel Guest">
<div>
<i class="fas fa-wifi wifi-icon"></i> Hotel Guest
</div>
<div>
<i class="fas fa-lock-open"></i>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="notification" id="notification">
+<span id="points-earned">0</span> points!
</div>
<div class="modal" id="game-over-modal">
<div class="modal-content game-over">
<h2 class="text-2xl font-bold">Game Over!</h2>
<p class="mt-4">Your final score: <span id="final-score">0</span></p>
<p class="mt-2">Followers lost: <span id="followers-lost">0</span></p>
<h3 class="mt-6 font-bold">Your Responses:</h3>
<div class="responses-list" id="responses-list">
<!-- Responses will be added here -->
</div>
<button class="restart-btn" id="restart-btn">Play Again</button>
</div>
</div>
<div class="progress-bar" id="progress-bar"></div>
</div>
</div>
<audio id="tapSound" src="https://assets.mixkit.co/sfx/preview/mixkit-arcade-game-jump-coin-216.mp3" preload="auto"></audio>
<audio id="keySound" src="https://assets.mixkit.co/sfx/preview/mixkit-quick-jump-arcade-game-239.mp3" preload="auto"></audio>
<audio id="bgMusic" loop>
<source src="https://assets.mixkit.co/music/preview/mixkit-funky-hip-hop-2084.mp3" type="audio/mpeg">
</audio>
<script>
// Game state
const state = {
score: 0,
followers: 10000000, // 10 million
gameActive: true,
currentNotification: null,
startTime: null,
followerInterval: null,
notificationInterval: null,
difficulty: 1,
responses: [],
musicPlaying: false,
appNotifications: {},
connectedToWifi: false
};
// Initialize app notifications
const apps = [
'instagram', 'twitter', 'facebook', 'tiktok', 'snapchat',
'youtube', 'reddit', 'linkedin', 'messages', 'email',
'discord', 'messenger', 'spotify', 'cashapp', 'doordash', 'settings'
];
apps.forEach(app => {
state.appNotifications[app] = 0;
});
// Kanye-themed data
const posts = {
instagram: [
"Just designed a new Yeezy prototype in my sleep. Woke up and sketched it immediately. Genius works 24/7. 🌙✏️ #Yeezy #Visionary",
"Taylor Swift owes me 50 million streams. Facts. 🎤🔥 #TruthHurts #Famous",
"Kim would still be working at a gas station if it wasn't for me. Changed her life. Changed the world. 🌎 #ThankMeLater",
"Just bought a new ranch in Wyoming. Gonna build a dome city for all my fans. Utopia coming soon. 🏡✨ #YeezyDomes",
"Presidential campaign 2024 starts now. We bringing truth to the White House. 🇺🇸 #Ye2024"
],
twitter: [
"The media wants to paint me as crazy but I'm the only one telling the truth. Wake up people! 🚨 #FreeThinker",
"Drake still using ghostwriters. I write all my own lyrics while designing shoes. Multitasking king. 👑 #NoHelpNeeded",
"Adidas tried to drop me but I dropped them first. Yeezy season never ends. 👟 #Independent",
"All these fashion designers copying my style but can't copy my mind. Original thinker. 🧠 #Uncopyable",
"The education system is designed to make you a slave. I dropped out of college and became a billionaire. Think about that. 💰 #FreeMind"
],
facebook: [
"Sharing some behind-the-scenes photos from my Sunday Service. Healing the world through music. 🎶🙏 #GodsPlan",
"My new album is 90% done. It's gonna change music forever. Again. 🎧 #HistoryInTheMaking",
"Just adopted 10 more dogs. My ranch is now a sanctuary for all God's creatures. 🐕 #AllLove",
"The matrix doesn't want you to see this documentary. Watch it before they take it down. 🎥 #RedPill",
"Building schools in Africa. Education is the key to freedom. 📚 #WakandaForever"
],
tiktok: [
"POV: You're the greatest artist of all time but they don't want to admit it. 😎 #UnderratedGenius",
"Trying this new dance challenge but I'm making up my own moves. Creativity can't be contained. 💃 #Innovator",
"When you realize all your old tweets were prophecies. 🔮 #AheadOfMyTime",
"Me explaining to the label why I need complete creative control. They never listen. 🤦♂️ #TrustTheVision",
"Reacting to my old interviews. I was right about everything. 🎯 #ToldYouSo"
],
youtube: [
"New vlog: Touring my underground bunker. Gotta be prepared. 🏗️ #SafetyFirst",
"Reacting to reaction videos of my music. Y'all still don't get it. 🎶 #DeepArt",
"Documentary: The truth about the music industry they don't want you to know. 🎥 #IndustrySecrets",
"Tutorial: How to design a billion dollar sneaker with just a marker and paper. ✏️ #YeezyDesign",
"24 hours in my life. This is how a genius operates. ⏳ #Productivity"
],
reddit: [
"AMA time! Ask me anything about music, fashion, or the meaning of life. I got answers. 💡 #AskYe",
"Breaking down why modern architecture is destroying our souls. We need domes. 🏛️ #DomeLife",
"The real reason I interrupted Taylor at the VMAs. She needed that moment. 🎤 #CharacterBuilding",
"Explaining my presidential platform: Free Yeezys for all, dome cities, and chicken tenders on every corner. 🍗 #YePolicy",
"Debunking music theory. The rules are made to be broken. 🎼 #NoRules"
],
linkedin: [
"How I turned a shoe design into a billion dollar empire. Spoiler: Believe in yourself. 💪 #Entrepreneur",
"The education system failed me so I created my own curriculum. Now teaching masterclasses. 🎓 #SelfTaught",
"Why I fired all my managers and became my own CEO. Too many middlemen. ✂️ #DirectControl",
"Case study: Yeezy brand growth through authentic self-expression. No focus groups needed. 📈 #BeYourself",
"Looking for architects to help build my dome city. Must think outside the box. Literally. 🏗️ #DomeJobs"
],
messages: [
"Text from Kim: We need to talk about the kids.",
"Text from Jay-Z: You crossed a line this time.",
"Text from Elon: The Twitter deal is happening. You in?",
"Text from Manager: The label is threatening to drop you.",
"Text from Producer: The beat is ready when you are."
],
email: [
"From: Adidas Legal - Contract Termination Notice",
"From: White House Invitation - Arts Committee",
"From: Harvard University - Honorary Degree Offer",
"From: TMZ - Interview Request",
"From: Sunday Service Choir - Setlist Approval"
],
discord: [
"Yeezy Fan Server: @everyone New merch drop tomorrow!",
"Music Producers Channel: Need feedback on this track",
"Gaming Group: Who's on tonight?",
"Dome Designers: New blueprints uploaded",
"Moderators: Need help with spam bots"
],
messenger: [
"Message from Drake: We need to squash this beef",
"Message from Elon: Twitter deal update",
"Message from Kim: The kids miss you",
"Message from Fan: Can you sign my shoes?",
"Message from Producer: Album mix ready"
],
spotify: [
"Playlist: Kanye's Morning Motivation",
"Notification: Your monthly listeners reached 50M",
"Alert: New release from artist you follow",
"Update: Your top fans this month",
"Reminder: Update your artist profile"
],
cashapp: [
"Payment Received: $2M - Yeezy Royalties",
"Payment Sent: $200K - Dome Materials",
"Request: $50 - from @yeezyfan123",
"Alert: Large withdrawal detected",
"Reminder: Tax documents ready"
],
doordash: [
"Order Confirmed: 50 Chick-fil-A meals",
"Driver En Route: Your sushi is coming",
"Special Offer: Free delivery today",
"Rating Request: How was your order?",
"Alert: New vegan restaurant nearby"
]
};
const comments = [
"Yo Ye, you ever think maybe you ARE crazy? Just asking...",
"Kanye I love you but please take your meds",
"Bro you need Jesus. And a therapist.",
"Yeezy season approaching but so is your midlife crisis",
"How much for a pair of Yeezys signed with 'I hate fish sticks'?",
"You interrupted Taylor Swift AND my childhood. How do you sleep?",
"Ye if you're reading this blink twice if the illuminati has you",
"I'll vote for you if you promise free Yeezys for all",
"You say you're a genius but can you solve a Rubik's cube?",
"Kim was famous before you but go off I guess",
"Remember when you said slavery was a choice? Pepperidge Farm remembers",
"Your music slaps but your takes are trash",
"Ye vs. Drake beef is the only thing keeping me alive rn",
"You built a dome but can you build a healthy relationship?",
"I bet you think this comment is about you... it is",
"How many times you gonna change your name bro?",
"You need help but not the kind you can buy",
"I made a remix of your tweet about fish sticks",
"You're not wrong about the education system tho",
"Drop the album or drop the act"
];
const actions = [
{ type: "like", icon: "fa-heart", text: "Like this comment from", points: 5 },
{ type: "follow", icon: "fa-user-plus", text: "Follow this user", points: 10 },
{ type: "subscribe", icon: "fa-bell", text: "Subscribe to this channel", points: 15 },
{ type: "tip", icon: "fa-dollar-sign", text: "Send $10 to this creator", points: 20 }
];
const usernames = [
"@yeezystan", "@kimye4eva", "@fishstickhater", "@domeenthusiast", "@yeezy2024",
"@truthsayer", "@yeahright", "@kanyedoesntsleep", "@yeezytaughtme", "@notacultmember"
];
const avatars = [
"https://randomuser.me/api/portraits/men/1.jpg",
"https://randomuser.me/api/portraits/women/1.jpg",
"https://randomuser.me/api/portraits/men/2.jpg",
"https://randomuser.me/api/portraits/women/2.jpg",
"https://randomuser.me/api/portraits/men/3.jpg",
"https://randomuser.me/api/portraits/women/3.jpg",
"https://randomuser.me/api/portraits/men/4.jpg",
"https://randomuser.me/api/portraits/women/4.jpg",
"https://randomuser.me/api/portraits/men/5.jpg",
"https://randomuser.me/api/portraits/women/5.jpg"
];
const snapImages = [
"https://source.unsplash.com/random/300x400/?concert,kanye",
"https://source.unsplash.com/random/300x400/?selfie,woman",
"https://source.unsplash.com/random/300x400/?party,celebrity",
"https://source.unsplash.com/random/300x400/?model,beach",
"https://source.unsplash.com/random/300x400/?club,dancing"
];
const snapUsernames = [
"@hotgirl1", "@yeezyfan99", "@modelalert", "@clubqueen", "@partyanimal",
"@selfiequeen", "@celebfan", "@musiclover", "@fashionista", "@trendsetter"
];
// DOM elements
const appIcons = document.querySelectorAll('.app-icon');
const notificationBadges = document.querySelectorAll('.notification-count');
const responseModal = document.getElementById('response-modal');
const actionModal = document.getElementById('action-modal');
const snapchatModal = document.getElementById('snapchat-modal');
const settingsModal = document.getElementById('settings-modal');
const responseInput = document.getElementById('response-input');
const submitBtn = document.getElementById('submit-btn');
const actionBtn = document.getElementById('action-btn');
const backBtn = document.getElementById('back-btn');
const actionBackBtn = document.getElementById('action-back-btn');
const snapBackBtn = document.getElementById('snap-back-btn');
const settingsBackBtn = document.getElementById('settings-back-btn');
const scoreDisplay = document.getElementById('score');
const followersDisplay = document.getElementById('followers');
const appPostContainer = document.getElementById('app-post-container');
const actionPostContainer = document.getElementById('action-post-container');
const notification = document.getElementById('notification');
const pointsEarned = document.getElementById('points-earned');
const gameOverModal = document.getElementById('game-over-modal');
const finalScore = document.getElementById('final-score');
const followersLost = document.getElementById('followers-lost');
const restartBtn = document.getElementById('restart-btn');
const progressBar = document.getElementById('progress-bar');
const responsesList = document.getElementById('responses-list');
const actionIcon = document.getElementById('action-icon');
const actionDescription = document.getElementById('action-description');
const snapAvatar = document.getElementById('snap-avatar');
const snapUsername = document.getElementById('snap-username');
const snapImage = document.getElementById('snap-image');
const snapLikeBtn = document.getElementById('snap-like-btn');
const snapDislikeBtn = document.getElementById('snap-dislike-btn');
const wifiItems = document.querySelectorAll('.wifi-item');
const tapSound = document.getElementById('tapSound');
const keySound = document.getElementById('keySound');
const bgMusic = document.getElementById('bgMusic');
const modalAppName = document.getElementById('modal-app-name');
const actionAppName = document.getElementById('action-app-name');
// Format number with commas
function formatNumber(num) {
return num.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
}
// Initialize game
function initGame() {
state.score = 0;
state.followers = 10000000; // 10 million
state.gameActive = true;
state.difficulty = 1;
state.responses = [];
state.connectedToWifi = false;
// Reset all app notifications
apps.forEach(app => {
state.appNotifications[app] = 0;
});
scoreDisplay.textContent = state.score;
followersDisplay.textContent = formatNumber(state.followers);
// Clear all notifications
notificationBadges.forEach(badge => {
badge.classList.add('hidden');
badge.textContent = '0';
});
// Start follower countdown
clearInterval(state.followerInterval);
state.followerInterval = setInterval(updateFollowers, 1000);
// Start notification spawner
clearInterval(state.notificationInterval);
state.notificationInterval = setInterval(spawnNotifications, 50); // Spawn every 50ms (20 per second)
// Hide modals
responseModal.classList.remove('active');
actionModal.classList.remove('active');
snapchatModal.classList.remove('active');
settingsModal.classList.remove('active');
gameOverModal.classList.remove('active');
// Start music if not already playing
if (!state.musicPlaying) {
bgMusic.volume = 0.3;
bgMusic.play().catch(e => console.log("Autoplay prevented"));
state.musicPlaying = true;
}
}
// Update followers count
function updateFollowers() {
if (!state.gameActive) return;
// Lose followers over time
state.followers = Math.max(0, state.followers - 100000); // 100k per second
// Update display
followersDisplay.textContent = formatNumber(state.followers);
if (state.followers <= 0) {
endGame();
}
}
// Spawn random notifications
function spawnNotifications() {
if (!state.gameActive) return;
// Spawn multiple notifications per interval
const notificationsToSpawn = 5; // Spawn 5 notifications per interval (100 per second)
for (let i = 0; i < notificationsToSpawn; i++) {
// Random app
const randomAppIndex = Math.floor(Math.random() * apps.length);
const appName = apps[randomAppIndex];
// Skip settings if not connected to wifi
if (appName === 'settings' && !state.connectedToWifi) continue;
// Find the app icon
const appIcon = document.querySelector(`.app-icon[data-app="${appName}"]`);
// Increment notification count
state.appNotifications[appName]++;
// Show notification badge
const badge = appIcon.querySelector('.notification-count');
badge.classList.remove('hidden');
badge.textContent = state.appNotifications[appName] > 99 ? '99+' : state.appNotifications[appName];
// Store current notification
state.currentNotification = {
app: appName,
element: appIcon,
count: state.appNotifications[appName]
};
}
// Update difficulty (spawn faster over time)
state.difficulty = Math.min(5, Math.floor((10000000 - state.followers) / 2000000) + 1);
}
// Handle app click
function handleAppClick(e) {
playTapSound();
if (!state.gameActive) return;
const appIcon = e.currentTarget;
const appName = appIcon.dataset.app;
// Check if this app has notifications
if (state.appNotifications[appName] === 0) {
// Penalty for wrong click
state.score = Math.max(0, state.score - 5);
scoreDisplay.textContent = state.score;
showNotification(-5);
return;
}
// Special handling for Snapchat
if (appName === 'snapchat') {
showSnapchatModal();
return;
}
// Special handling for Settings
if (appName === 'settings') {
showSettingsModal();
return;
}
// Decide if this is a response or action (50/50 chance)
const isAction = Math.random() > 0.5;
if (isAction && actions.length > 0) {
showActionModal(appName);
} else {
showResponseModal(appName);
}
// Start timer for response
state.startTime = Date.now();
// Hide notification badge (but keep count in state)
const badge = appIcon.querySelector('.notification-count');
badge.classList.add('hidden');
}
// Show response modal with app-specific UI
function showResponseModal(appName) {
// Set up response modal
modalAppName.textContent = appName.charAt(0).toUpperCase() + appName.slice(1);
// Clear previous content
appPostContainer.innerHTML = '';
// Create app-specific post
const postDiv = document.createElement('div');
postDiv.className = `${appName}-post`;
// Random post and comment
const randomPostIndex = Math.floor(Math.random() * posts[appName].length);
const randomCommentIndex = Math.floor(Math.random() * comments.length);
const randomUserIndex = Math.floor(Math.random() * usernames.length);
const randomAvatarIndex = Math.floor(Math.random() * avatars.length);
// Create post header with avatar
const postHeader = document.createElement('div');
postHeader.className = 'post-header';
const avatarImg = document.createElement('img');
avatarImg.src = avatars[randomAvatarIndex];
avatarImg.className = 'avatar';
postHeader.appendChild(avatarImg);
const userInfo = document.createElement('div');
const username = document.createElement('div');
username.className = 'font-bold';
username.textContent = 'kanyewest';
userInfo.appendChild(username);
const postTime = document.createElement('div');
postTime.className = 'text-sm text-gray-500';
postTime.textContent = 'Just now';
userInfo.appendChild(postTime);
postHeader.appendChild(userInfo);
postDiv.appendChild(postHeader);
// Add post content
const postContent = document.createElement('p');
postContent.textContent = posts[appName][randomPostIndex];
postDiv.appendChild(postContent);
// Add comment
const commentDiv = document.createElement('div');
commentDiv.className = 'comment';
const commentUser = document.createElement('div');
commentUser.className = 'comment-user';
commentUser.textContent = usernames[randomUserIndex];
commentDiv.appendChild(commentUser);
const commentText = document.createElement('p');
commentText.textContent = comments[randomCommentIndex];
commentDiv.appendChild(commentText);
postDiv.appendChild(commentDiv);
// Add to container
appPostContainer.appendChild(postDiv);
// Show modal
responseModal.classList.add('active');
responseInput.value = '';
responseInput.focus();
}
// Show action modal with app-specific UI
function showActionModal(appName) {
// Set up action modal
actionAppName.textContent = appName.charAt(0).toUpperCase() + appName.slice(1);
// Clear previous content
actionPostContainer.innerHTML = '';
// Create app-specific post
const postDiv = document.createElement('div');
postDiv.className = `${appName}-post`;
// Random post and comment
const randomPostIndex = Math.floor(Math.random() * posts[appName].length);
const randomCommentIndex = Math.floor(Math.random() * comments.length);
const randomUserIndex = Math.floor(Math.random() * usernames.length);
const randomAvatarIndex = Math.floor(Math.random() * avatars.length);
const randomActionIndex = Math.floor(Math.random() * actions.length);
const action = actions[randomActionIndex];
// Create post header with avatar
const postHeader = document.createElement('div');
postHeader.className = 'post-header';
const avatarImg = document.createElement('img');
avatarImg.src = avatars[randomAvatarIndex];
avatarImg.className = 'avatar';
postHeader.appendChild(avatarImg);
const userInfo = document.createElement('div');
const username = document.createElement('div');
username.className = 'font-bold';
username.textContent = 'kanyewest';
userInfo.appendChild(username);
const postTime = document.createElement('div');
postTime.className = 'text-sm text-gray-500';
postTime.textContent = 'Just now';
userInfo.appendChild(postTime);
postHeader.appendChild(userInfo);
postDiv.appendChild(postHeader);
// Add post content
const postContent = document.createElement('p');
postContent.textContent = posts[appName][randomPostIndex];
postDiv.appendChild(postContent);
// Add comment
const commentDiv = document.createElement('div');
commentDiv.className = 'comment';
const commentUser = document.createElement('div');
commentUser.className = 'comment-user';
commentUser.textContent = usernames[randomUserIndex];
commentDiv.appendChild(commentUser);
const commentText = document.createElement('p');
commentText.textContent = comments[randomCommentIndex];
commentDiv.appendChild(commentText);
postDiv.appendChild(commentDiv);
// Add to container
actionPostContainer.appendChild(postDiv);
// Set up action
actionIcon.className = `fas ${action.icon}`;
actionDescription.textContent = `${action.text} ${usernames[randomUserIndex]}`;
// Store action points (multiplied by notification count for this app)
const basePoints = action.points;
const notificationCount = state.appNotifications[appName];
const multiplier = 1 + (notificationCount * 0.1); // 10% bonus per notification
const totalPoints = Math.floor(basePoints * multiplier);
actionBtn.dataset.points = totalPoints;
actionBtn.dataset.app = appName;
// Show modal
actionModal.classList.add('active');
}
// Show Snapchat modal with random image
function showSnapchatModal() {
// Random snap content
const randomImageIndex = Math.floor(Math.random() * snapImages.length);
const randomUsernameIndex = Math.floor(Math.random() * snapUsernames.length);
const randomAvatarIndex = Math.floor(Math.random() * avatars.length);
snapAvatar.src = avatars[randomAvatarIndex];
snapUsername.textContent = snapUsernames[randomUsernameIndex];
snapImage.src = snapImages[randomImageIndex] + '&' + new Date().getTime(); // Cache busting
// Show modal
snapchatModal.classList.add('active');
// Clear notification count for snapchat
state.appNotifications['snapchat'] = 0;
const badge = document.querySelector('.app-icon[data-app="snapchat"] .notification-count');
badge.classList.add('hidden');
}
// Show Settings modal
function showSettingsModal() {
// Show modal
settingsModal.classList.add('active');
// Clear notification count for settings
state.appNotifications['settings'] = 0;
const badge = document.querySelector('.app-icon[data-app="settings"] .notification-count');
badge.classList.add('hidden');
}
// Handle submit response
function handleSubmit() {
playTapSound();
const response = responseInput.value.trim();
if (response === '') {
alert('Please type a response!');
return;
}
// Calculate time taken (in seconds)
const timeTaken = (Date.now() - state.startTime) / 1000;
// Base points based on time taken
let points = Math.max(1, Math.floor(20 - timeTaken));
// Bonus for longer responses
if (response.length > 20) {
points += 5;
}
if (response.length > 40) {
points += 5;
}
// Add emoji bonus
if (response.includes('!') || response.includes('?')) {
points += 2;
}
if (/\p{Emoji}/u.test(response)) {
points += 3;
}
// Bonus based on notification count for this app
const appName = modalAppName.textContent.toLowerCase();
const notificationCount = state.appNotifications[appName];
const multiplier = 1 + (notificationCount * 0.1); // 10% bonus per notification
points = Math.floor(points * multiplier);
// Gain random followers (10k-300k)
const followersGained = Math.floor(Math.random() * 290000) + 10000;
state.followers += followersGained;
followersDisplay.textContent = formatNumber(state.followers);
// Record response
state.responses.push({
app: modalAppName.textContent,
text: response,
points: points,
followersGained: followersGained
});
// Update score
state.score += points;
scoreDisplay.textContent = state.score;
// Clear notification count for this app
state.appNotifications[appName] = 0;
// Show points earned
showNotification(points);
// Hide modal
responseModal.classList.remove('active');
}
// Handle action completion
function handleAction() {
playTapSound();
const points = parseInt(actionBtn.dataset.points) || 10;
const appName = actionBtn.dataset.app;
// Gain random followers (10k-300k)
const followersGained = Math.floor(Math.random() * 290000) + 10000;
state.followers += followersGained;
followersDisplay.textContent = formatNumber(state.followers);
// Record action
state.responses.push({
app: actionAppName.textContent,
text: actionDescription.textContent,
points: points,
followersGained: followersGained
});
// Update score
state.score += points;
scoreDisplay.textContent = state.score;
// Clear notification count for this app
state.appNotifications[appName] = 0;
// Show points earned
showNotification(points);
// Hide modal
actionModal.classList.remove('active');
}
// Handle Snapchat like
function handleSnapLike() {
playTapSound();
const points = 15; // Fixed points for liking a snap
// Gain random followers (10k-300k)
const followersGained = Math.floor(Math.random() * 290000) + 10000;
state.followers += followersGained;
followersDisplay.textContent = formatNumber(state.followers);
// Record action
state.responses.push({
app: "Snapchat",
text: "Liked snap from " + snapUsername.textContent,
points: points,
followersGained: followersGained
});
// Update score
state.score += points;
scoreDisplay.textContent = state.score;
// Show points earned
showNotification(points);
// Hide modal
snapchatModal.classList.remove('active');
}
// Handle Snapchat skip
function handleSnapSkip() {
playTapSound();
const points = 5; // Fewer points for skipping
// Gain random followers (10k-300k)
const followersGained = Math.floor(Math.random() * 290000) + 10000;
state.followers += followersGained;
followersDisplay.textContent = formatNumber(state.followers);
// Record action
state.responses.push({
app: "Snapchat",
text: "Skipped snap from " + snapUsername.textContent,
points: points,
followersGained: followersGained
});
// Update score
state.score += points;
scoreDisplay.textContent = state.score;
// Show points earned
showNotification(points);
// Hide modal
snapchatModal.classList.remove('active');
}
// Handle WiFi connection
function handleWifiConnect(e) {
playTapSound();
const wifiName = e.currentTarget.dataset.wifi;
if (wifiName.includes('lock')) {
alert('This network requires a password');
return;
}
state.connectedToWifi = true;
// Gain random followers (10k-300k)
const followersGained = Math.floor(Math.random() * 290000) + 10000;
state.followers += followersGained;
followersDisplay.textContent = formatNumber(state.followers);
// Record action
state.responses.push({
app: "Settings",
text: "Connected to " + wifiName,
points: 10,
followersGained: followersGained
});
// Update score
state.score += 10;
scoreDisplay.textContent = state.score;
// Show points earned
showNotification(10);
// Hide modal
settingsModal.classList.remove('active');
}
// Show points notification
function showNotification(points) {
pointsEarned.textContent = points;
notification.classList.add('show');
setTimeout(() => {
notification.classList.remove('show');
}, 2000);
}
// End game
function endGame() {
state.gameActive = false;
clearInterval(state.followerInterval);
clearInterval(state.notificationInterval);
// Calculate followers lost
const followersLostCount = 10000000 - state.followers;
// Show all responses
responsesList.innerHTML = '';
state.responses.forEach(response => {
const responseEl = document.createElement('div');
responseEl.className = 'response-item';
responseEl.innerHTML = `
<span class="response-app">${response.app}:</span>
<span class="response-text">${response.text}</span>
<span class="text-green-600 float-right">+${response.points}</span>
${response.followersGained ? `<span class="text-blue-600 float-right mr-2">+${formatNumber(response.followersGained)}</span>` : ''}
`;
responsesList.appendChild(responseEl);
});
// Show game over modal
finalScore.textContent = state.score;
followersLost.textContent = formatNumber(followersLostCount);
gameOverModal.classList.add('active');
}
// Play tap sound
function playTapSound() {
tapSound.currentTime = 0;
tapSound.play();
}
// Play key sound
function playKeySound() {
keySound.currentTime = 0;
keySound.play();
}
// Event listeners
appIcons.forEach(icon => {
icon.addEventListener('click', handleAppClick);
});
submitBtn.addEventListener('click', handleSubmit);
actionBtn.addEventListener('click', handleAction);
snapLikeBtn.addEventListener('click', handleSnapLike);
snapDislikeBtn.addEventListener('click', handleSnapSkip);
backBtn.addEventListener('click', () => {
playTapSound();
responseModal.classList.remove('active');
});
actionBackBtn.addEventListener('click', () => {
playTapSound();
actionModal.classList.remove('active');
});
snapBackBtn.addEventListener('click', () => {
playTapSound();
snapchatModal.classList.remove('active');
});
settingsBackBtn.addEventListener('click', () => {
playTapSound();
settingsModal.classList.remove('active');
});
restartBtn.addEventListener('click', () => {
playTapSound();
initGame();
});
wifiItems.forEach(item => {
item.addEventListener('click', handleWifiConnect);
});
// Keyboard shortcut for submit (Cmd+Enter or Ctrl+Enter)
responseInput.addEventListener('keydown', (e) => {
if ((e.metaKey || e.ctrlKey) && e.key === 'Enter') {
handleSubmit();
}
});
// Key sound when typing
responseInput.addEventListener('keypress', () => {
playKeySound();
});
// Update progress bar
setInterval(() => {
const progress = (state.score / 500) * 100; // Adjusted for higher scores
progressBar.style.width = `${Math.min(100, progress)}%`;
}, 100);
// Start game
initGame();
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=shuun5/magic-button" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |