diff --git a/Version - 39/CNAME b/Version - 39/CNAME new file mode 100644 index 0000000..31e4b89 --- /dev/null +++ b/Version - 39/CNAME @@ -0,0 +1 @@ +www.mreidam-brb.com \ No newline at end of file diff --git a/Version - 39/add.txt b/Version - 39/add.txt new file mode 100644 index 0000000..b9d7342 --- /dev/null +++ b/Version - 39/add.txt @@ -0,0 +1,75 @@ +click.offline.make +max 5 hour + + name gen com.cost cost +1 dog = 1 clicks/s = 100 | 100 clicks +1 cat = 12 c/s = 1 000 | 10 dogs +1 fox = 18 c/s = 1 500 | 15 dogs +1 wolf = 100 c/s = 8 100 | 5 foxes + 6 dogs +1 hamster = 130 c/s = 10 100 | 1 wolf + 2 cats +1 whale = 220 c/s = 16 200 | 2 wolfs +1 cappibara = 280 c/s = 20 200 | 1 whale + 4 cats +1 platapus = 400 c/s = 28 300 | 1 cappy + 1 wolf +1 porcupine = 650 c/s = 44 500 | 1 pussy + 1 whale (Dikobraz) +1 hippo = 950 c/s = 64 700 | 1 porcupine + 2 hamsters +1 snake = 1 000 c/s = 72 800 | 2 whales + 4 hamsters +1 cheetah = 3 000 c/s = 202 200 | 2 snakes + 2 pussy +1 python = 7 800 c/s = 525 700 | 1 cheetah + 5 hippo +1 girrafe = 8 400 c/s = 555 700 | 1 python + 20 foxes +1 otter +1 meerkat +1 raccoon +1 owl +1 badger +1 squirrel +1 chameleon +1 chicken +1 wombat +1 panther +1 coyote +1 frog +1 bear +1 pig + +1 citronovník = 30 lemons/h + +36,7% k 10 citronum že vyroste citronovník + +compile to .exe and add it to the play store + +add complete history of clicks, dogs, cats, lemons, ... + + + + + + Upgrades! + +Button +Green button - 2.5 clicks per clicks +Yellow button - 4 clicks/click + random Chance for a lemon +Purple button - 6 c/c +Cyan button - 10 c/c + random chance for ______ + + Dog +R collar - 1.5 cs +G collar - 2 cs +Y collar - 5 cs +P collar - 8.2 cs +C collar - 15 cs + + Cat +R collar - 150 cs +G collar - 200 cs +Y collar - 500 cs +P collar - 750 cs +C collar - 1 000 cs + + Fox +R fur - 225 cs +G fur - 300 cs +Y fur - 666 cs +P fur - 1 125 cs +C fur - 1 500 cs + +lemon \ No newline at end of file diff --git a/Version - 39/changelog b/Version - 39/changelog new file mode 100644 index 0000000..35abc3e --- /dev/null +++ b/Version - 39/changelog @@ -0,0 +1,88 @@ + v39 + Added: Pythons + Giraffes + New Nav. bar for Shop + New Navigation bar for BRB + Setting in the nav bar (mostly in BRB) + + Removed: From BRB: + Go to Shop btn + Flag for lang + Reset + Help + From Shop: + Go to BRB + Go to Shop + + Fixed: Clicks number in Shop + + Note: please add Dark mode and into Wall. eng + + v38 + Added: Snakes + Cheetas + new UI design for Shop Goer buttons and click displayer + new UI for flags + !!FIXED_BUTTONS_AND_CLICKS_IN_SHOP + Animated clicking for click displayer + + Removed: Nothing + + Fixed: Nothing + + Note: FIRST VERSION ON DA NEEEW DOMAIN + + onto wallpaper engine :D + + v37 + Added: Better Language + Porcupines + Hippos + Buy Option - Clicks for E V E R Y T H I N G* + *exept Lemonds + L. Trees (Upgrades) + into local.storage almost 20 new animals (I HOPE) + Hidden Prestige multiplier (¯\_(ツ)_/¯) + 'Coming soon...' to Upgrade menu + + Removed: Nothing + + Fixed: !!!!BRAND_NEW_SHOP_USER_INteRFACE!!!! + Shop I fixed shop (hapines) + - Shop.pain + -wanna cry + + Note: Make the game harder (To eazy) + Main.js - 274 lines + Shop.js - 631 lines + + + v36 + Added: Better Czech version + Buy Option - Clicks for Cats + + Fixed: BRB now still + + v35 + Added: Platapuses + Better Ui + Now Czech Version + + Fixed: Items not loading propebly + + + v34 + Added: New Button to Upgrades menu + Shop UI + + Fixed: Finally fixed NaN, Undefined, Null error + + v33 + Added: New UI for shop + + v32 /* 18.4. 2023 */ + Added: max value shop for wolfs, whales, hamsters, capybaras + icons for said animals + new interface for BRB clicking + + Removed: scrolling in BRB clicking + + Fixed: button to get to the shop was updated + + v31 + undefined and NaN fix for adding new animals \ No newline at end of file diff --git a/Version - 39/css/brb.css b/Version - 39/css/brb.css new file mode 100644 index 0000000..53bc287 --- /dev/null +++ b/Version - 39/css/brb.css @@ -0,0 +1,150 @@ +@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap'); +body { + user-select: none; + padding: 0; + margin: 0; + background-color: #fff; + box-sizing: border-box; +} +#LANGMISS{ + position: absolute; + width: 100%; + height: 100%; + text-align: center; + z-index: 20; + visibility: hidden; +} +#tycoon{ + position: absolute; + width: 100%; + height: 200px; + background: radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#fff 70%); + font-size: 15pt; +} +#logclick{ + position: absolute; + width: 100%; + top: 40px; + left: 50%; + text-align: center; + transform: translate(-50%,0); + font-size: 15pt; +} +#disclick{ + position: absolute; + width: 100%; +} + +/*BRB*/ +#unpressed{ + position: absolute; + width: 300px; + height: 300px; + border-radius: 150px; +} +#pressed{ + position: absolute; + width: 300px; + height: 300px; + visibility: hidden; + border-radius: 150px; +} +#button{ + user-select: none; + position: absolute; + top: 50%; + left: 50%; + margin: -150px 0 0 -150px; + border-radius: 150px; +} +/* Other BTNS */ +.Yt{ + position: absolute; + bottom: 0px; + margin: 0.5rem; + left: 0; +} + +.menu-container{ + position: absolute; + top: 30px; + left: 50%; + transform: translate(-50%, -50%); + width: 300px; + display: flex; + align-items: center; + justify-content: center; + font-family: 'Poppins'; +} +.button{ + position: relative; + background: #1b1b1b; + color: #fff; + font-size: 20px; + padding: 8px 20px; + width: 150px;/* 100% */ + line-height: 30px; + display: flex; + align-items: center; + justify-content: space-between; + border-radius: 25px; + cursor: pointer; + transition: width .4s; +} +.button.expand{ + width: 100%; +} +.fas.expand:before{ + content: '\f00d'; +} +ul{ + list-style: none; + position: absolute; + top: 65px; + display: block; + background: #1b1b1b; + width: 100%; + text-align: center; + border-radius: 5px; + display: none; + box-shadow: 0 3px 6px rgba(0,0,0,.3); + padding-inline-start: 0px; +} +ul:before{ + position: absolute; + content: ''; + width: 20px; + height: 20px; + background: #1b1b1b; + top: -10px; + right: 15px; + transform: rotate(45deg); + z-index: -1; +} +ul li{ + line-height: 35px; + padding: 8px 20px; + cursor: pointer; + border-bottom: 1px solid rgba(255,255,255,.1); +} +ul li:hover:first-child{ + border-radius: 5px 5px 0 0; +} +ul li:hover:last-child{ + border-radius: 0 0 5px 5px; +} +ul li:hover{ + box-shadow: inset 0 0 5px #33ff33, + inset 0 0 10px #66ff66; +} +ul li:last-child{ + border-bottom: none; +} +ul li a{ + color: #fff; + font-size: 18px; + text-decoration: none; +} +ul li:hover a{ + color: #44dd44; +} \ No newline at end of file diff --git a/Version - 39/css/shop.css b/Version - 39/css/shop.css new file mode 100644 index 0000000..4aaa972 --- /dev/null +++ b/Version - 39/css/shop.css @@ -0,0 +1,248 @@ +*{ + margin: 0; + padding: 0; + user-select: none; + box-sizing: border-box; + scroll-behavior: smooth; +} + +body { + font-size: 15pt; + /*background: linear-gradient(#009000, black);*/ + background-color: #ccc; +} + +/* Clisks */ +.joe{ + position: fixed; + z-index: 1; + display: flex; + justify-content: center; + align-items: center; + height: 200px; + width: 100%; + margin: 0; + top: 0; + border-radius: 0 0 90px 90px; + background: linear-gradient(#11ABFF, #ccccccab); + +} +#logclick{ + position: relative; + background-color: papayawhip; + display: flex; + align-items: center; + justify-content: center; + gap: 5ch; + margin: 0 5vw 0 5vw; + padding: 1rem; + border: 5px dashed blue; + border-radius: 1rem; + z-index: 69; + width: auto; + top: 30px; + height: 85px; + filter: drop-shadow(10px 8px 6px #333); +} + +#imgcli{ + width: 50px; + height: 50px; + margin: 0.1rem; + width: 100px; + aspect-ratio: 1/1; + margin: 0.5rem; + object-fit: contain; + pointer-events: none +} + +.backtop{ + height: 230px; + max-width: auto; + margin: 0 1.5vw 0 1.5vw; + border-radius: 0 0 90px 90px; + background: linear-gradient(#11ABFF, #ccccccab); + /*border: red solid 5px;*/ +} + +.main{ + display: flex; + flex-wrap: wrap; + justify-content: center; +} + + +/* By MrEidam */ +.item{ + background-color: papayawhip/*var(--color)*/; + /*border: 2px solid #333;*/ + border: none; + top: 5px; + margin: 2rem 3vw 2rem 3vw; + padding: 1rem; + border-radius: 6.9px; + display: flex; + flex-direction: column; + justify-content: space-evenly; + align-items: center; + width: 500px; + height: 340px; + filter: drop-shadow(0px 20px 14px #444); +} + +.item img{ + width: 100px; + aspect-ratio: 1/1; + margin: 0.5rem; + object-fit: contain; + + filter: drop-shadow(10px 8px 6px #333); + pointer-events: none +} +.buttons{ + display: flex; + justify-content: space-around; +} +/* By MrEidam */ +.buttons button{ + background-color: var(--Bcolor); + border-radius: 8px; + margin: 1rem; +} + +.buyone{ + width: 200px; + height: 50px; +} + +.buymax{ + width: 50px; + height: 50px; +} + +main{ + position: relative; +} + + +/* By MrEidam */ + +.clickbtn{ + display: flex; + justify-content: space-around; +} +.clickbtn button{ + background-color: var(--Bcolor); + border-radius: 8px; + margin: 0 1rem 0.5rem 1rem; +} + +.row{ + display: flex; + flex-direction: row; + justify-content: center; +} +button{ + border: none; + filter: drop-shadow(8px 6px 4px #555); +} + + + + +@media only screen and (max-width: 800px){ + .row{ + flex-direction: column; + justify-content: center; + } + .item{ + width: auto; + margin: 2rem 10vw 2rem 10vw; + } +} + + +.menu-container{ + position: fixed; + top: 50px; + left: 50%; + transform: translate(-50%, -50%); + width: 300px; + display: flex; + align-items: center; + justify-content: center; + font-family: 'Poppins'; + z-index: 500; +} +.button{ + position: relative; + background: #1b1b1b; + color: #fff; + font-size: 20px; + padding: 8px 20px; + width: 150px;/* 100% */ + line-height: 30px; + display: flex; + align-items: center; + justify-content: space-between; + border-radius: 25px; + cursor: pointer; + transition: width .4s; +} +.button.expand{ + width: 100%; +} +.fas.expand:before{ + content: '\f00d'; +} +ul{ + list-style: none; + position: absolute; + top: 65px; + display: block; + background: #1b1b1b; + width: 100%; + text-align: center; + border-radius: 5px; + display: none; + box-shadow: 0 3px 6px rgba(0,0,0,.3); + padding-inline-start: 0px; +} +ul:before{ + position: absolute; + content: ''; + width: 20px; + height: 20px; + background: #1b1b1b; + top: -10px; + right: 15px; + transform: rotate(45deg); + z-index: -1; +} +ul li{ + line-height: 35px; + padding: 8px 20px; + cursor: pointer; + border-bottom: 1px solid rgba(255,255,255,.1); +} +ul li:hover:first-child{ + border-radius: 5px 5px 0 0; +} +ul li:hover:last-child{ + border-radius: 0 0 5px 5px; +} +ul li:hover{ + box-shadow: inset 0 0 5px #33ff33, + inset 0 0 10px #66ff66; +} +ul li:last-child{ + border-bottom: none; +} +ul li a{ + color: #fff; + font-size: 18px; + text-decoration: none; +} +ul li:hover a{ + color: #44dd44; +} \ No newline at end of file diff --git a/Version - 39/css/upgr.css b/Version - 39/css/upgr.css new file mode 100644 index 0000000..0ae23ce --- /dev/null +++ b/Version - 39/css/upgr.css @@ -0,0 +1,54 @@ +*{ + margin: 0; + padding: 0; + user-select: none; + box-sizing: border-box; + scroll-behavior: smooth; +} + +body { + font-size: 15pt; + /*background: linear-gradient(#009000, black);*/ + background-color: #ccc; +} + +#links{ + position: relative; + width: 100%; + margin: 1rem auto; + padding: 10px; + display: flex; + justify-content: space-around; +} +.link { + position: relative; + text-align: center; + background-color: var(--color); + width: 200px; + height: 50px; + margin: 1rem auto; + padding: 10px; + border: 3.69px solid #333333; + border-radius: 69px; +} +/* By MrEidam */ + +/* Clisks */ +#loglm{ + background-color: papayawhip; + display: flex; + align-items: center; + justify-content: center; + gap: 5ch; + margin: 0 5vw 0 5vw; + padding: 1rem; + border: 5px dashed #effd5f66; + border-radius: 1rem; +} + +#imglm{ + width: 40px; + height: 40px; + margin: 0.1rem; +} +/* By MrEidam */ \ No newline at end of file diff --git a/Version - 39/img/Cat.png b/Version - 39/img/Cat.png new file mode 100644 index 0000000..fe09efd Binary files /dev/null and b/Version - 39/img/Cat.png differ diff --git a/Version - 39/img/Click.png b/Version - 39/img/Click.png new file mode 100644 index 0000000..65d2191 Binary files /dev/null and b/Version - 39/img/Click.png differ diff --git a/Version - 39/img/Dog.png b/Version - 39/img/Dog.png new file mode 100644 index 0000000..ceb9d9e Binary files /dev/null and b/Version - 39/img/Dog.png differ diff --git a/Version - 39/img/Fox.png b/Version - 39/img/Fox.png new file mode 100644 index 0000000..0fc5dee Binary files /dev/null and b/Version - 39/img/Fox.png differ diff --git a/Version - 39/img/Hamsta.png b/Version - 39/img/Hamsta.png new file mode 100644 index 0000000..e2172d1 Binary files /dev/null and b/Version - 39/img/Hamsta.png differ diff --git a/Version - 39/img/Lemons.png b/Version - 39/img/Lemons.png new file mode 100644 index 0000000..2339cf4 Binary files /dev/null and b/Version - 39/img/Lemons.png differ diff --git a/Version - 39/img/Lemt3.png b/Version - 39/img/Lemt3.png new file mode 100644 index 0000000..901fe29 Binary files /dev/null and b/Version - 39/img/Lemt3.png differ diff --git a/Version - 39/img/Porcupine.png b/Version - 39/img/Porcupine.png new file mode 100644 index 0000000..3dc2007 Binary files /dev/null and b/Version - 39/img/Porcupine.png differ diff --git a/Version - 39/img/Wolf.png b/Version - 39/img/Wolf.png new file mode 100644 index 0000000..ec30657 Binary files /dev/null and b/Version - 39/img/Wolf.png differ diff --git a/Version - 39/img/YT.png b/Version - 39/img/YT.png new file mode 100644 index 0000000..dc7bcad Binary files /dev/null and b/Version - 39/img/YT.png differ diff --git a/Version - 39/img/brb-pressed.png b/Version - 39/img/brb-pressed.png new file mode 100644 index 0000000..71f01ab Binary files /dev/null and b/Version - 39/img/brb-pressed.png differ diff --git a/Version - 39/img/brb-still.png b/Version - 39/img/brb-still.png new file mode 100644 index 0000000..ad1141d Binary files /dev/null and b/Version - 39/img/brb-still.png differ diff --git a/Version - 39/img/capy.png b/Version - 39/img/capy.png new file mode 100644 index 0000000..84c3532 Binary files /dev/null and b/Version - 39/img/capy.png differ diff --git a/Version - 39/img/capybara.svg b/Version - 39/img/capybara.svg new file mode 100644 index 0000000..5f6a283 --- /dev/null +++ b/Version - 39/img/capybara.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 39/img/cat-body.svg b/Version - 39/img/cat-body.svg new file mode 100644 index 0000000..abce513 --- /dev/null +++ b/Version - 39/img/cat-body.svg @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 39/img/cat-head.svg b/Version - 39/img/cat-head.svg new file mode 100644 index 0000000..8591d06 --- /dev/null +++ b/Version - 39/img/cat-head.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 39/img/cheetah.svg b/Version - 39/img/cheetah.svg new file mode 100644 index 0000000..ec5c2eb --- /dev/null +++ b/Version - 39/img/cheetah.svg @@ -0,0 +1,506 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 39/img/click-click.png b/Version - 39/img/click-click.png new file mode 100644 index 0000000..e452774 Binary files /dev/null and b/Version - 39/img/click-click.png differ diff --git a/Version - 39/img/click-click.svg b/Version - 39/img/click-click.svg new file mode 100644 index 0000000..6b91a3a --- /dev/null +++ b/Version - 39/img/click-click.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 39/img/click-rest.png b/Version - 39/img/click-rest.png new file mode 100644 index 0000000..993e828 Binary files /dev/null and b/Version - 39/img/click-rest.png differ diff --git a/Version - 39/img/click-rest.svg b/Version - 39/img/click-rest.svg new file mode 100644 index 0000000..0521add --- /dev/null +++ b/Version - 39/img/click-rest.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + diff --git a/Version - 39/img/dog.svg b/Version - 39/img/dog.svg new file mode 100644 index 0000000..51c2b4f --- /dev/null +++ b/Version - 39/img/dog.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 39/img/fg-cz.png b/Version - 39/img/fg-cz.png new file mode 100644 index 0000000..2d58661 Binary files /dev/null and b/Version - 39/img/fg-cz.png differ diff --git a/Version - 39/img/fg-uk.png b/Version - 39/img/fg-uk.png new file mode 100644 index 0000000..35ec8f1 Binary files /dev/null and b/Version - 39/img/fg-uk.png differ diff --git a/Version - 39/img/fox.svg b/Version - 39/img/fox.svg new file mode 100644 index 0000000..13704a4 --- /dev/null +++ b/Version - 39/img/fox.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 39/img/girafe.svg b/Version - 39/img/girafe.svg new file mode 100644 index 0000000..82a0d8a --- /dev/null +++ b/Version - 39/img/girafe.svg @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 39/img/hamster.svg b/Version - 39/img/hamster.svg new file mode 100644 index 0000000..9e33099 --- /dev/null +++ b/Version - 39/img/hamster.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 39/img/hippopotamus.png b/Version - 39/img/hippopotamus.png new file mode 100644 index 0000000..2df7046 Binary files /dev/null and b/Version - 39/img/hippopotamus.png differ diff --git a/Version - 39/img/icons8-clicked.png b/Version - 39/img/icons8-clicked.png new file mode 100644 index 0000000..8a4b40f Binary files /dev/null and b/Version - 39/img/icons8-clicked.png differ diff --git a/Version - 39/img/icons8-rest.svg b/Version - 39/img/icons8-rest.svg new file mode 100644 index 0000000..6d7d9a9 --- /dev/null +++ b/Version - 39/img/icons8-rest.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 39/img/lemon-tree.svg b/Version - 39/img/lemon-tree.svg new file mode 100644 index 0000000..15e28da --- /dev/null +++ b/Version - 39/img/lemon-tree.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 39/img/lemon.svg b/Version - 39/img/lemon.svg new file mode 100644 index 0000000..e6dafd4 --- /dev/null +++ b/Version - 39/img/lemon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 39/img/platapus.png b/Version - 39/img/platapus.png new file mode 100644 index 0000000..928bbc4 Binary files /dev/null and b/Version - 39/img/platapus.png differ diff --git a/Version - 39/img/python.svg b/Version - 39/img/python.svg new file mode 100644 index 0000000..141be08 --- /dev/null +++ b/Version - 39/img/python.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 39/img/shop.png b/Version - 39/img/shop.png new file mode 100644 index 0000000..7dadb79 Binary files /dev/null and b/Version - 39/img/shop.png differ diff --git a/Version - 39/img/snake.svg b/Version - 39/img/snake.svg new file mode 100644 index 0000000..1753178 --- /dev/null +++ b/Version - 39/img/snake.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 39/img/upgrade-icon-png-12.jpg b/Version - 39/img/upgrade-icon-png-12.jpg new file mode 100644 index 0000000..4306888 Binary files /dev/null and b/Version - 39/img/upgrade-icon-png-12.jpg differ diff --git a/Version - 39/img/wha.png b/Version - 39/img/wha.png new file mode 100644 index 0000000..b9b3ada Binary files /dev/null and b/Version - 39/img/wha.png differ diff --git a/Version - 39/img/whale.svg b/Version - 39/img/whale.svg new file mode 100644 index 0000000..5d76311 --- /dev/null +++ b/Version - 39/img/whale.svg @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 39/img/wolf.svg b/Version - 39/img/wolf.svg new file mode 100644 index 0000000..af40205 --- /dev/null +++ b/Version - 39/img/wolf.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 39/index.html b/Version - 39/index.html new file mode 100644 index 0000000..7b478be --- /dev/null +++ b/Version - 39/index.html @@ -0,0 +1,78 @@ + + + + + + + + + BRB - Clicking + + + + + + + + + + + + +
+ +
+ + +
+

+

+ + +
+ + +
+ + + + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/Version - 39/js/main.js b/Version - 39/js/main.js new file mode 100644 index 0000000..e31de88 --- /dev/null +++ b/Version - 39/js/main.js @@ -0,0 +1,283 @@ +// Items +let items; +var cs = 0; +let e = 0; +var anime = false; +var mislg = document.getElementById('LANGMISS'); +let flag = document.getElementById('flag'); +let del = document.getElementById('del'); +let sos = document.getElementById('sos'); +let shop = document.getElementById('shop'); + +function load(){ + if (localStorage.getItem('items')!=null){ + items = JSON.parse(localStorage.getItem('items')); + } +} + +window.onload = function(){ + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + hamsters:0, + whales:0, + capybaras:0, + platapuses:0, + porcupines:0, + hippos:0, + snakes:0, + cheetahs:0, + pythons:0, + girrafes:0, + lions:0, + otters:0, + meerkat:0, + raccoon:0, + owl:0, + badger:0, + squirrel:0, + chameleon:0, + chicken:0, + wombat:0, + panther:0, + coyote:0, + frog:0, + bear:0, + pig:0, + + + + lemons:0, + lt3:0, + lang:0, + pres:1, + + } + load(); + update(); + for(let item in items){ + if(!items.item){ + items.item = 0; + } + } + cash(); + checklang() + missdezz() +} + +// Reset +function reset(){ + if((items.lang == 1) && confirm('Do you really want to reset everything?') && confirm('Are you sure?')){ + alert('Everything Reseted'); + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + hamsters:0, + whales:0, + capybaras:0, + platapuses:0, + porcupines:0, + hippos:0, + snakes:0, + cheetahs:0, + pythons:0, + girrafes:0, + lions:0, + otters:0, + meerkat:0, + raccoon:0, + owl:0, + badger:0, + squirrel:0, + chameleon:0, + chicken:0, + wombat:0, + panther:0, + coyote:0, + frog:0, + bear:0, + pig:0, + + + + lemons:0, + lt3:0, + lang:items.lang, + pres:items.pres, + } + } + if((items.lang == 0) && confirm('Vážně chceš všechno resetovat?') && confirm('Seš si jistý?')){ + alert('Vše resetováno'); + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + hamsters:0, + whales:0, + capybaras:0, + platapuses:0, + porcupines:0, + hippos:0, + snakes:0, + cheetahs:0, + pythons:0, + girrafes:0, + lions:0, + otters:0, + meerkat:0, + raccoon:0, + owl:0, + badger:0, + squirrel:0, + chameleon:0, + chicken:0, + wombat:0, + panther:0, + coyote:0, + frog:0, + bear:0, + pig:0, + + + + lemons:0, + lt3:0, + lang:items.lang, + pres:items.pres, + } + } +} + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + if(items.lang == 1){ + document.getElementById('disclick').innerHTML=`You've got ${fornum(items.clicks)} clicks, and generating ${fornum(cs)} c/s!` + } + if(items.lang == 0){ + document.getElementById('disclick').innerHTML=`Právě máš ${fornum(items.clicks)} kliků a generuješ ${fornum(cs)} k/s!` + } + checklang(); +} + +// BRB +function beriba(){ + document.getElementById('unpressed').style.visibility='visible' + document.getElementById('pressed').style.visibility='hidden' + anime=true; +} + +function clicking(){ + items.clicks += 1; + update(); + + document.getElementById('unpressed').style.visibility='hidden' + document.getElementById('pressed').style.visibility='visible' + anime=false; + + setTimeout(beriba, 75) +} + +function cash(){ + setTimeout (function money(){ + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400; + items.clicks += cs; + update();cash(); + },1000) +} + +// HELP +function help(){ + e++ + if(e==1){ + alert(`Click the button to earn clicks! +Click on me for more...`); + } + if(e==2){ + alert(`After 100 clicks, click the link above to take you to the shop! +Click on me for more. .`); + } + if(e==3){ + alert(`In the shop click on the buy dog button to buy a dog`); + e=0; + } +} +function language(){ + if(items.lang == 0){ /* CZ */ + items.lang = 1; + console.log(items.lang); + document.documentElement.setAttribute('lang', 'cz'); + del.innerHTML = 'Reset'; + sos.innerHTML = 'Pomoc'; + shop.innerHTML = 'Obchod'; + upg.innerHTML = 'Vylepšení'; + modes.innerHTML = 'Změn do Temného módu'; + langs.innerHTML = 'Switch into English'; + + }else if(items.lang == 1){ /* UK */ + items.lang = 0; + console.log(items.lang); + document.documentElement.setAttribute('lang', 'en'); + del.innerHTML = 'Reset'; + sos.innerHTML = 'Help'; + shop.innerHTML = 'Shop'; + upg.innerHTML = 'Upgrades'; + modes.innerHTML = 'Switch into Dark Mode'; + langs.innerHTML = 'Změň si jazyk do Češtiny'; + + } +} + +function checklang(){ + if(items.lang == 0){ /* CZ */ + document.documentElement.setAttribute('lang', 'cz'); + del.innerHTML = 'RESET'; + sos.innerHTML = 'POMOC'; + shop.innerHTML = 'Obchod'; + upg.innerHTML = 'Vylepšení'; + modes.innerHTML = 'Změn do Temného módu'; + langs.innerHTML = 'Switch into English'; + + }else if(items.lang == 1){ /* UK */ + document.documentElement.setAttribute('lang', 'en'); + del.innerHTML = 'RESET'; + sos.innerHTML = 'HELP'; + shop.innerHTML = 'Shop'; + upg.innerHTML = 'Upgrades'; + modes.innerHTML = 'Switch into Dark Mode'; + langs.innerHTML = 'Změň si jazyk do Češtiny'; + + } +} + + +function missdezz(){ + if(items.lang != 0 && items.lang !=1){ + items.lang = 1 + mislg.style.visibility = 'visible'; + } +} + +// Function to convert a number into a more readable format +function fornum(num) { + // Define the suffixes for thousands and millions + const suffixes = ['', ' k', ' mil', ' mld', ' bil', ' bld', ' tri', ' tld', ' qua']; + + // Divide the number by 1000 until it is less than 1000 + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + num = Math.floor(num * 10) / 10; + return num + suffixes[i]; +} \ No newline at end of file diff --git a/Version - 39/js/shop.js b/Version - 39/js/shop.js new file mode 100644 index 0000000..10d6fb8 --- /dev/null +++ b/Version - 39/js/shop.js @@ -0,0 +1,795 @@ +let cs + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400; +} +function c(x){ + items.clicks += x; + console.log(x + ' clicks added!'); + upload(); +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400; + + if(items.lang == 1){ + document.documentElement.setAttribute('lang', 'en'); + disclick.innerHTML=`You've got ${fornum(items.clicks)} clicks, and making ${fornum(cs)} each second!` + disdog.innerHTML=`You've got ${fornum(items.dogs)} dogs!` + discat.innerHTML=`You've got ${fornum(items.cats)} cats!` + disfox.innerHTML=`You've got ${fornum(items.foxes)} foxes!` + diswol.innerHTML=`You've got ${fornum(items.wolfs)} wolfs!` + disham.innerHTML=`You've got ${fornum(items.hamsters)} hamsters!` + diswha.innerHTML=`You've got ${fornum(items.whales)} whales!` + discap.innerHTML=`You've got ${fornum(items.capybaras)} capybaras!` + displa.innerHTML=`You've got ${fornum(items.platapuses)} platypuses!` + dispor.innerHTML=`You've got ${fornum(items.porcupines)} porcupines!` + diship.innerHTML=`You've got ${fornum(items.hippos)} hippopotamuses!` + dissna.innerHTML=`You've got ${fornum(items.snakes)} snakes!` + dische.innerHTML=`You've got ${fornum(items.cheetahs)} cheetahs!` + dispyt.innerHTML=`You've got ${fornum(items.pythons)} pythons!` + disgir.innerHTML=`You've got ${fornum(items.girrafes)} giraffes!` + + + + + document.getElementById('dislem').innerHTML=`You've got ${fornum(items.lemons)} lemons!` + document.getElementById('dislt3').innerHTML=`You've got ${fornum(items.lt3)} lemon trees!` + + + disdgmake.innerHTML=`They're generating ${fornum(items.dogs*1)} clicks per second!` + disctmake.innerHTML=`They're generating ${fornum(items.cats*12)} clicks per second!` + disfxmake.innerHTML=`They're generating ${fornum(items.foxes*18)} clicks per second!` + diswlmake.innerHTML=`They're generating ${fornum(items.wolfs*100)} clicks per second!` + dishmmake.innerHTML=`They're generating ${fornum(items.hamsters*130)} clicks per second!` + diswhmake.innerHTML=`They're generating ${fornum(items.whales*220)} clicks per second!` + discpmake.innerHTML=`They're generating ${fornum(items.capybaras*280)} clicks per second!` + displmake.innerHTML=`They're generating ${fornum(items.platapuses*400)} clicks per second!` + disprmake.innerHTML=`They're generating ${fornum(items.porcupines*650)} clicks per second!` + dishimake.innerHTML=`They're generating ${fornum(items.hippos*950)} clicks per second!` + dissnmake.innerHTML=`They're generating ${fornum(items.snakes*1000)} clicks per second!` + dischmake.innerHTML=`They're generating ${fornum(items.cheetahs*3000)} clicks per second!` + dispymake.innerHTML=`They're generating ${fornum(items.pythons*7800)} clicks per second!` + disgimake.innerHTML=`They're generating ${fornum(items.girrafes*8400)} clicks per second!` + + dg1.innerHTML = 'Buy a Dog for 100 clicks' + ct1.innerHTML = 'Buy a Cat for 10 dogs' + fx1.innerHTML = 'Buy a Fox for 15 dogs' + wl1.innerHTML = 'Buy a Wolf for
6 dogs and 5 foxes' + hm1.innerHTML = 'Buy a Hamster for
1 wolf and 2 cats' + wh1.innerHTML = 'Buy a Whale for 2 wolfs' + cp1.innerHTML = 'Buy a Capybara for
1 whale and 4 cats' + pl1.innerHTML = 'Buy a Platypus for
1 capybara and 1 wolf' + pr1.innerHTML = 'Buy a Porcupine for
1 platypus and 1 whale' + hi1.innerHTML = 'Buy a Hippopotamus for
1 porcupine and 2 hamsters' + sn1.innerHTML = 'Buy a Snake for
2 whales and 4 hamsters' + ch1.innerHTML = 'Buy a Cheetah for
2 snakes and 2 platypuses' + py1.innerHTML = 'Buy a Python for
1 cheetah and 5 hippos' + gi1.innerHTML = 'Buy a Giraffe for
1 python and 20 foxes' + + lm1.innerHTML = 'Buy a Lemon for some cats' + lt1.innerHTML = 'Buy a Lemon Tree for 5 lemons' + + // Buying for clicks + Cct1.innerHTML = 'Buy a Cat for
1,2 k clicks' + Cfx1.innerHTML = 'Buy a Fox for
1,8 k clicks' + Cwl1.innerHTML = 'Buy a Wolf for
10 k clicks' + Chm1.innerHTML = 'Buy a Hamster for
13 k clicks' + Cwh1.innerHTML = 'Buy a Whale for
22 k clicks' + Ccp1.innerHTML = 'Buy a Capybara for
28 k clicks' + Cpl1.innerHTML = 'Buy a Platypus for
42 k clicks' + Cpr1.innerHTML = 'Buy a Porcupine for
70 k clicks' + Chi1.innerHTML = 'Buy a Hippopotamus for
100 k clicks' + Csn1.innerHTML = 'Buy a Snake for
150 k clicks' + Cch1.innerHTML = 'Buy a Cheetah for
350 k clicks' + Cpy1.innerHTML = 'Buy a Python for
820 k clicks' + Cgi1.innerHTML = 'Buy a Giraffe for
880 k clicks' + } + if(items.lang == 0){ + document.documentElement.setAttribute('lang', 'cz'); + document.getElementById('disclick').innerHTML=`Právě máš ${fornum(items.clicks)} kliků a děláš ${fornum(cs)} každou sekundu!` + document.getElementById('disdog').innerHTML=`Právě máš ${fornum(items.dogs)} psů!` + document.getElementById('discat').innerHTML=`Právě máš ${fornum(items.cats)} koček!` + document.getElementById('disfox').innerHTML=`Právě máš ${fornum(items.foxes)} lišek!` + document.getElementById('diswol').innerHTML=`Právě máš ${fornum(items.wolfs)} vlků!` + document.getElementById('disham').innerHTML=`Právě máš ${fornum(items.hamsters)} křečků!` + document.getElementById('diswha').innerHTML=`Právě máš ${fornum(items.whales)} velryb!` + document.getElementById('discap').innerHTML=`Právě máš ${fornum(items.capybaras)} kapybar!` + document.getElementById('displa').innerHTML=`Právě máš ${fornum(items.platapuses)} plakopysků!` + document.getElementById('dispor').innerHTML=`Právě máš ${fornum(items.porcupines)} dikobrazů!` + document.getElementById('diship').innerHTML=`Právě máš ${fornum(items.hippos)} hrochů!` + document.getElementById('dissna').innerHTML=`Právě máš ${fornum(items.snakes)} hadů!` + document.getElementById('dische').innerHTML=`Právě máš ${fornum(items.cheetahs)} gepardů!` + document.getElementById('dispyt').innerHTML=`Právě máš ${fornum(items.pythons)} kober!` + document.getElementById('disgir').innerHTML=`Právě máš ${fornum(items.girrafes)} gepardů!` + + + + + document.getElementById('dislem').innerHTML=`Právě máš ${fornum(items.lemons)} citrónů!` + document.getElementById('dislt3').innerHTML=`Právě máš ${fornum(items.lt3)} citronovníků!` + + + document.getElementById('disdgmake').innerHTML=`Generují ${fornum(items.dogs*1)} kliků za sekundu!` + document.getElementById('disctmake').innerHTML=`Generují ${fornum(items.cats*12)} kliků za sekundu!` + document.getElementById('disfxmake').innerHTML=`Generují ${fornum(items.foxes*18)} kliků za sekundu!` + document.getElementById('diswlmake').innerHTML=`Generují ${fornum(items.wolfs*100)} kliků za sekundu!` + document.getElementById('dishmmake').innerHTML=`Generují ${fornum(items.hamsters*130)} kliků za sekundu!` + document.getElementById('diswhmake').innerHTML=`Generují ${fornum(items.whales*220)} kliků za sekundu!` + document.getElementById('discpmake').innerHTML=`Generují ${fornum(items.capybaras*280)} kliků za sekundu!` + document.getElementById('displmake').innerHTML=`Generují ${fornum(items.platapuses*400)} kliků za sekundu!` + document.getElementById('disprmake').innerHTML=`Generují ${fornum(items.porcupines*650)} kliků za sekundu!` + document.getElementById('dishimake').innerHTML=`Generují ${fornum(items.hippos*950)} kliků za sekundu!` + document.getElementById('dissnmake').innerHTML=`Generují ${fornum(items.snakes*1000)} kliků za sekundu!` + document.getElementById('dischmake').innerHTML=`Generují ${fornum(items.cheetahs*3000)} kliků za sekundu!` + document.getElementById('dispymake').innerHTML=`Generují ${fornum(items.pythons*7800)} kliků za sekundu!` + document.getElementById('disgimake').innerHTML=`Generují ${fornum(items.girrafes*8400)} kliků za sekundu!` + + dg1.innerHTML = 'Kup Psa za 100 kliků' + ct1.innerHTML = 'Kup Kočku za 10 psů' + fx1.innerHTML = 'Kup Lišku za 15 psů' + wl1.innerHTML = 'Kup Vlka za
6 psů a 5 lišek' + hm1.innerHTML = 'Kup Křečka za
1 vlka a 2 kočky' + wh1.innerHTML = 'Kup Velrybu za 2 vlky' + cp1.innerHTML = 'Kup Kapybaru za
1 velrybu a 4 kočky' + pl1.innerHTML = 'Kup Ptakopyska za
1 capybaru a 1 vlka' + pr1.innerHTML = 'Kup Dikobraza za
1 ptakopyska a 1 velrybu' + hi1.innerHTML = 'Kup Hrocha za
1 dikobraza a 2 křečků' + sn1.innerHTML = 'Kup Hada za
2 velryby a 4 křečky' + ch1.innerHTML = 'Kup Geparda za
2 hady a 2 ptakopysky' + py1.innerHTML = 'Kup Kobru za
1 geparda a 5 hrochů' + gi1.innerHTML = 'Kup Žirafu za
1 kobru a 20 lišek' + + lm1.innerHTML = 'Kup Citrón za pár koček' + lt1.innerHTML = 'Kup Citrónovník za 5 citrónů' + + // Buying for clicks + Cct1.innerHTML = 'Kup Kočku za
1,2 k kliků' + Cfx1.innerHTML = 'Kup Lišku za
1,8 k kliků' + Cwl1.innerHTML = 'Kup Vlka za
10 k kliků' + Chm1.innerHTML = 'Kup Křečka za
13 k kliků' + Cwh1.innerHTML = 'Kup Velrybu za
22 k kliků' + Ccp1.innerHTML = 'Kup Kapybaru za
28 k kliků' + Cpl1.innerHTML = 'Kup Ptakopyska za
42 k kliků' + Cpr1.innerHTML = 'Kup Dikobraza za
70 k kliků' + Chi1.innerHTML = 'Kup Hrocha za
100 k kliků' + Csn1.innerHTML = 'Kup Hada za
150 k kliků' + Cch1.innerHTML = 'Kup Geparda za
350 k kliků' + Cpy1.innerHTML = 'Kup Kobru za
820 k kliků' + Cgi1.innerHTML = 'Kup Žirafu za
880 k kliků' + } +} +load(); + +// Upload +function upload(){update();load();} + +function cash(){ + setTimeout (function money(){ + items.clicks += cs; + upload(); + cash();click(); + },1000) +} +cash(); + +function click(){ + setTimeout(function decoration(){ + document.getElementById('imgcli').src = './img/icons8-clicked.png' + },500); + setTimeout(function decoration(){ + document.getElementById('imgcli').src = './img/icons8-rest.svg' + },1000) +} + +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); + click() +} +function buycat(){ + if(items.dogs>=10){ + items.dogs-=10; + items.cats+=1; + } + upload(); +} +function buyfox(){ + if(items.dogs>=15){ + items.dogs-=15; + items.foxes+=1; + } + upload(); +} +function buywol(){ + if(items.dogs>=6 && items.foxes>=5){ + items.dogs-=6; + items.foxes-=5; + items.wolfs+=1; + } + upload(); +} +function buyham(){ + if(items.wolfs>=1 && items.cats>=2){ + items.wolfs-=1; + items.cats-=2; + items.hamsters+=1; + } + upload(); +} +function buywha(){ + if(items.wolfs>=2){ + items.wolfs-=2; + items.whales+=1; + } + upload(); +} +function buycap(){ + if(items.whales>=1 && items.cats>=4){ + items.whales-=1; + items.cats-=4; + items.capybaras+=1; + } + upload(); +} +function buypla(){ + if(items.capybaras>=1 && items.wolfs>=1){ + items.capybaras-=1; + items.wolfs-=1; + items.platapuses+=1; + } + upload(); +} +function buypor(){ + if(items.platapuses>=1 && items.whales>=1){ + items.platapuses-=1; + items.whales-=1; + items.porcupines++; + } + upload(); +} +function buyhip(){ + if(items.porcupines>=1 && items.hamsters>=2){ + items.porcupines-=1; + items.hamsters-=2; + items.hippos++; + } + upload(); +} +function buysna(){ + if(items.whales>=2 && items.hamsters>=4){ + items.whales-=2; + items.hamsters-=4; + items.snakes++; + } + upload(); +} +function buyche(){ + if(items.snakes>=2 && items.platapuses>=2){ + items.snakes-=2; + items.platapuses-=2; + items.cheetahs++; + } + upload(); +} +function buypyt(){ + if(items.cheetahs>=1 && items.hippos>=5){ + items.cheetahs-=1; + items.hippos-=5; + items.pythons++; + } + upload(); +} +function buygir(){ + if(items.pythons>=1 && items.foxes>=20){ + items.pythons-=1; + items.foxes-=20; + items.girrafes++; + } + upload(); +} + + + + +function buylem(){ + if(items.cats>=20){ + items.cats-=20; + items.lemons+=1; + } + upload(); +} +function buylt3(){ + if (items.lemons>=5) { + items.lemons-=5; + items.lt3+=1; + } + upload(); +} + + + + + + + + + +/* Max Shop */ +function mxdg(){ + one = Math.floor(items.clicks / 100) + + items.clicks -= one * 100 + items.dogs += one + upload(); +} +function mxct(){ + one = Math.floor(items.dogs / 10) + + items.dogs -= one * 10 + items.cats += one + upload(); +} +function mxfx(){ + one = Math.floor(items.dogs/15) + + items.dogs -= one*15 + items.foxes += one + upload(); +} +/* +function lemmvalue(){ + mdog = items.cats/20; + maxdog = Math.floor(mdog); + floordog = maxdog*20 + items.cats -= floordog + items.lemons += maxdog + upload(); +}*/ +function mxlm(){ + one = Math.floor(items.cats/20) + + items.cats -= one*20 + items.lemons += one + upload(); +} +function mxlt(){ + one = Math.floor(items.lemons/5) + + items.lemons -= one*5 + items.lt3 += one + upload() +} +function mxwh(){ + one = Math.floor(items.wolfs/2) + + items.wolfs -= one*2 + items.whales += one + upload() +} +let one,two,val + +// Max Wolf + +function mxwl(){ + one = Math.floor(items.foxes/5) + two = Math.floor(items.dogs/6) + + if(one<=two){ + items.foxes -= one*5 + items.dogs -= one*6 + items.wolfs += one + }else if(one>=two){ + items.foxes -= two*5 + items.dogs -= two*6 + items.wolfs += two + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} + +function mxhm(){ + one = Math.floor(items.wolfs/1) + two = Math.floor(items.cats/2) + + if(one<=two){ + items.wolfs -= one*1 + items.cats -= one*2 + items.hamsters += one + }else if(one>=two){ + items.wolfs -= two*1 + items.cats -= two*2 + items.hamsters += two + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} +function mxcp(){ + one = Math.floor(items.whales/1) + two = Math.floor(items.cats/4) + + if(one<=two){ + items.whales -= one*1 + items.cats -= one*4 + items.capybaras += one + }else if(one>=two){ + items.whales -= two*1 + items.cats -= two*4 + items.capybaras += two + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} +function mxpl(){ + one = Math.floor(items.capybaras/1) + two = Math.floor(items.wolfs/1) + + if(one<=two){ + items.capybaras -= one*1 + items.wolfs -= one*1 + items.platapuses += one + }else if(one>=two){ + items.capybaras -= two*1 + items.wolfs -= two*1 + items.platapuses += two + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} +function mxpr(){ + one = Math.floor(items.platapuses/1) + two = Math.floor(items.whales/1) + + if(one<=two){ + items.platapuses -= one*1 + items.whales -= one*1 + items.porcupines += one + }else if(one>=two){ + items.platapuses -= two*1 + items.whales -= two*1 + items.porcupines += two + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} +function mxhi(){ + one = Math.floor(items.porcupines/1) + two = Math.floor(items.hamsters/2) + + if(one<=two){ + items.porcupines -= one*1 + items.hamsters -= one*2 + items.hippos += one + }else if(one>=two){ + items.porcupines -= two*1 + items.hamsters -= two*2 + items.hippos += two + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} +function mxsn(){ + one = Math.floor(items.whales/2); + two = Math.floor(items.hamsters/4); + + if(one<=two){ + items.whales -= one*2; + items.hamsters -= one*4; + items.snakes += one; + }else if(one>=two){ + items.whales -= two*2; + items.hamsters -= two*4; + items.snakes += two; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxch(){ + one = Math.floor(items.snakes/2); + two = Math.floor(items.platapuses/2); + + if(one<=two){ + items.snakes -= one*2; + items.platapuses -= one*2; + items.cheetahs += one; + }else if(one>=two){ + items.snakes -= two*2; + items.platapuses -= two*2; + items.cheetahs += two; + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} +function mxpy(){ + one = Math.floor(items.cheetahs/1); + two = Math.floor(items.hippos/5); + + if(one<=two){ + items.cheetahs -= one*1; + items.hippos -= one*5; + items.pythons += one; + }else if(one>=two){ + items.cheetahs -= two*1; + items.hippos -= two*5; + items.pythons += two; + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} +function mxgi(){ + one = Math.floor(items.pythons/1); + two = Math.floor(items.foxes/20); + + if(one<=two){ + items.pythons -= one*1; + items.foxes -= one*20; + items.girrafes += one; + }else if(one>=two){ + items.pythons -= two*1; + items.foxes -= two*20; + items.girrafes += two; + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} + + + + + + + + +// Function to convert a number into a more readable format +function fornum(num) { + // Define the suffixes for thousands and millions + const suffixes = ['', ' k', ' mil', ' mld', ' bil', ' bld', ' tri', ' tld', ' qua']; + + // Divide the number by 1000 until it is less than 1000 + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + + // Round the number to one decimal place + num = Math.floor(num * 10) / 10; + + // Concatenate the number with the appropriate suffix + return num + suffixes[i]; +} + + + + + + +/* SHOPPING WITH ONLY CLICKS */ + +// cat +function buyCcat(){ + if(items.clicks >= 1200){ + items.cats++; + items.clicks -= 1200; + upload(); + } +} +function mxCct(){ + one = Math.floor(items.clicks / 1200) + + items.clicks -= one * 1200 + items.cats += one + upload(); +} + +// fox +function buyCfox(){ + if(items.clicks >= 1800){ + items.foxes++; + items.clicks -= 1800; + upload(); + } +} +function mxCfx(){ + one = Math.floor(items.clicks / 1800) + + items.clicks -= one * 1800 + items.foxes += one + upload(); +} + +// wolf +function buyCwol(){ + if(items.clicks >= 10000){ + items.wolfs++; + items.clicks -= 10000; + upload(); + } +} +function mxCwl(){ + one = Math.floor(items.clicks / 10000) + + items.clicks -= one * 10000 + items.wolfs += one + upload(); +} + +// hamster +function buyCham(){ + if(items.clicks >= 13000){ + items.hamsters++; + items.clicks -= 13000; + upload(); + } +} +function mxChm(){ + one = Math.floor(items.clicks / 13000) + + items.clicks -= one * 13000 + items.hamsters += one + upload(); +} + +// whale +function buyCwha(){ + if(items.clicks >= 22000){ + items.whales++; + items.clicks -= 22000; + upload(); + } +} +function mxCwh(){ + one = Math.floor(items.clicks / 22000) + + items.clicks -= one * 22000 + items.whales += one + upload(); +} + +// cappybarra +function buyCcap(){ + if(items.clicks >= 28000){ + items.capybaras++; + items.clicks -= 28000; + upload(); + } +} +function mxCcp(){ + one = Math.floor(items.clicks / 28000) + + items.clicks -= one * 28000 + items.capybaras += one + upload(); +} + +// platypussy +function buyCpla(){ + if(items.clicks >= 42000){ + items.platapuses++; + items.clicks -= 42000; + upload(); + } +} +function mxCpl(){ + one = Math.floor(items.clicks / 42000) + + items.clicks -= one * 42000 + items.platapuses += one + upload(); +} + +// porcupine +function buyCpor(){ + if(items.clicks >= 70000){ + items.porcupines++; + items.clicks -= 70000; + upload(); + } +} +function mxCpr(){ + one = Math.floor(items.clicks / 70000) + + items.clicks -= one * 70000 + items.porcupines += one + upload(); +} + +// hippopopopotamusss +function buyChip(){ + if(items.clicks >= 100000){ + items.hippos++; + items.clicks -= 100000; + upload(); + } +} +function mxChi(){ + one = Math.floor(items.clicks / 100000) + + items.clicks -= one * 100000 + items.hippos += one + upload(); +} + +// Snuk +function buyCsna(){ + if(items.clicks >= 150000){ + items.snakes++; + items.clicks -= 150000; + upload(); + } +} +function mxCsn(){ + one = Math.floor(items.clicks / 150000) + + items.clicks -= one * 150000 + items.snakes += one + upload(); +} + +// Chetuch +function buyCche(){ + if(items.clicks >= 350000){ + items.cheetahs++; + items.clicks -= 350000; + upload(); + } +} +function mxCch(){ + one = Math.floor(items.clicks / 350000) + + items.clicks -= one * 350000 + items.cheetahs += one + upload(); +} + +// .py +function buyCpyt(){ + if(items.clicks >= 820000){ + items.pythons++; + items.clicks -= 820000; + upload(); + } +} +function mxCpy(){ + one = Math.floor(items.clicks / 820000) + + items.clicks -= one * 820000 + items.pythons += one + upload(); +} + +// Gurllaf +function buyCgir(){ + if(items.clicks >= 880000){ + items.girrafes++; + items.clicks -= 880000; + upload(); + } +} +function mxCgi(){ + one = Math.floor(items.clicks / 880000) + + items.clicks -= one * 880000 + items.girrafes += one + upload(); +} + diff --git a/Version - 39/js/upgr.js b/Version - 39/js/upgr.js new file mode 100644 index 0000000..18b7cf0 --- /dev/null +++ b/Version - 39/js/upgr.js @@ -0,0 +1,40 @@ +let items; +let cs; + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); +} + +function load(){ + if (localStorage.getItem('items')!=null){ + items = JSON.parse(localStorage.getItem('items')); + } + + + + + + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950; + + document.getElementById('dislm').innerHTML = `You've got ${items.lemons} lemons!` +} + +function upload(){ + update(); + load(); +} + +function cash(){ + setTimeout (function money(){ + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950; + items.clicks += cs; + update();cash(); + },1000) +} + + +window.onload = function(){ + load();cash(); +} \ No newline at end of file diff --git a/Version - 39/shop.html b/Version - 39/shop.html new file mode 100644 index 0000000..cef4bbd --- /dev/null +++ b/Version - 39/shop.html @@ -0,0 +1,421 @@ + + + + + + + + + + + BRB - Shop + + + + + + + + + + +
+
+ +

+
+
+ + + + +
+
+ +
+ +
+ + +
+ +

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ +
+ + + +
+ +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/Version - 39/upgrade.html b/Version - 39/upgrade.html new file mode 100644 index 0000000..605afae --- /dev/null +++ b/Version - 39/upgrade.html @@ -0,0 +1,39 @@ + + + + + + + + + BRB - Upgrades + + + + + + + +
+ + + +
+ +

+
+
+

+ COMING SOON... +

+ + + + \ No newline at end of file diff --git a/Version - 40/CNAME b/Version - 40/CNAME new file mode 100644 index 0000000..31e4b89 --- /dev/null +++ b/Version - 40/CNAME @@ -0,0 +1 @@ +www.mreidam-brb.com \ No newline at end of file diff --git a/Version - 40/add.txt b/Version - 40/add.txt new file mode 100644 index 0000000..fc19a2d --- /dev/null +++ b/Version - 40/add.txt @@ -0,0 +1,80 @@ +click.offline.make +max 5 hour + + name gen com.cost cost +1 dog = 1 clicks/s = 100 | 100 clicks +1 cat = 12 c/s = 1 000 | 10 dogs +1 fox = 18 c/s = 1 500 | 15 dogs +1 wolf = 100 c/s = 8 100 | 5 foxes + 6 dogs +1 hamster = 130 c/s = 10 100 | 1 wolf + 2 cats +1 whale = 220 c/s = 16 200 | 2 wolf +1 capybara = 280 c/s = 20 200 | 1 whale + 4 cats +1 platypus = 400 c/s = 28 300 | 1 cappy + 1 wolf +1 porcupine = 650 c/s = 44 500 | 1 pussy + 1 whale (Dikobraz) +1 hippo = 950 c/s = 64 700 | 1 porcupine + 2 hamsters +1 snake = 1 000 c/s = 72 800 | 2 whales + 4 hamsters +1 cheetah = 3 000 c/s = 202 200 | 2 snakes + 2 pussy +1 python = 7 800 c/s = 525 700 | 1 cheetah + 5 hippo +1 giraffe = 8 400 c/s = 555 700 | 1 python + 20 foxes +1 otter = 9 000 c/s = 596 100 | 1 giraffe + 2 cappy +1 meerkat = 9 800 c/s = 644 700 | 1 otter + 3 whale +1 raccoon = 14 500 c/s = 956 200 | 1 meerkat + 7 porcupine +1 owl = 16 000 c/s = 1 029 000 | 1 raccoon + 1 snuk +1 badger = +1 squirrel = +1 chameleon = +1 chicken = +1 wombat = +1 panther = +1 coyote = +1 frog = +1 bear = +1 pig = + +1 citronovník = 30 lemons/h + + + +36,7% k 10 citronum že vyroste citronovník + +compile to .exe and add it to the play store + +add complete history of clicks, dogs, cats, lemons, ... + + + + + + Upgrades! + +Button +Green button - 2.5 clicks per clicks +Yellow button - 4 clicks/click + random Chance for a lemon +Purple button - 6 c/c +Cyan button - 10 c/c + random chance for ______ + + Dog +R collar - 1.5 cs +G collar - 2 cs +Y collar - 5 cs +P collar - 8.2 cs +C collar - 15 cs + + Cat +R collar - 150 cs +G collar - 200 cs +Y collar - 500 cs +P collar - 750 cs +C collar - 1 000 cs + + Fox +R fur - 225 cs +G fur - 300 cs +Y fur - 666 cs +P fur - 1 125 cs +C fur - 1 500 cs + +lemon + +Help - CZ +Help - En \ No newline at end of file diff --git a/Version - 40/changelog b/Version - 40/changelog new file mode 100644 index 0000000..50904c3 --- /dev/null +++ b/Version - 40/changelog @@ -0,0 +1,112 @@ + v40 + Added: Otters + Meerkats + Raccoons + Owls + Prestige! + !!!DARK_MODE!!! + Upgrades: - More Click per Click + Links to videos for help() + better clicks counter in BRB + NEW Lemons buying system (pain for user) from 1 (maybe 0) to 99 + new bigger numbers (sextillion, quintillion, ext...) + cursor: pointer; for buttons + + Removed: Lang Missing button + PNG files for some animals (now using SVG!) + + Fixed: Upgrades section + My mentality + For new thing adding || + + Note: NOW Promote in Wallpaper engine AND Instagram + Add Complete history page + Sounds? + + + + v39 + Added: Pythons + Giraffes + New Nav. bar for Shop + New Navigation bar for BRB + Setting in the nav bar (mostly in BRB) + + Removed: From BRB: + Go to Shop btn + Flag for lang + Reset + Help + From Shop: + Go to BRB + Go to Shop + + Fixed: Clicks number in Shop + + Note: please add Dark mode and into Wall. eng + + v38 + Added: Snakes + Cheetas + new UI design for Shop Goer buttons and click displayer + new UI for flags + !!FIXED_BUTTONS_AND_CLICKS_IN_SHOP + Animated clicking for click displayer + + Removed: Nothing + + Fixed: Nothing + + Note: FIRST VERSION ON DA NEEEW DOMAIN + + onto wallpaper engine :D // no + + v37 + Added: Better Language + Porcupines + Hippos + Buy Option - Clicks for E V E R Y T H I N G* + *exept Lemonds + L. Trees (Upgrades) + into local.storage almost 20 new animals (I HOPE) + Hidden Prestige multiplier (¯\_(ツ)_/¯) + 'Coming soon...' to Upgrade menu + + Removed: Nothing + + Fixed: !!!!BRAND_NEW_SHOP_USER_INteRFACE!!!! + Shop I fixed shop (hapines) + - Shop.pain + -wanna cry + + Note: Make the game harder (To eazy) + Main.js - 274 lines + Shop.js - 631 lines + + + v36 + Added: Better Czech version + Buy Option - Clicks for Cats + + Fixed: BRB now still + + v35 + Added: Platapuses + Better Ui + Now Czech Version + + Fixed: Items not loading propebly + + + v34 + Added: New Button to Upgrades menu + Shop UI + + Fixed: Finally fixed NaN, Undefined, Null error + + v33 + Added: New UI for shop + + v32 /* 18.4. 2023 */ + Added: max value shop for wolfs, whales, hamsters, capybaras + icons for said animals + new interface for BRB clicking + + Removed: scrolling in BRB clicking + + Fixed: button to get to the shop was updated + + v31 + undefined and NaN fix for adding new animals \ No newline at end of file diff --git a/Version - 40/css/brb.css b/Version - 40/css/brb.css new file mode 100644 index 0000000..7f35b8f --- /dev/null +++ b/Version - 40/css/brb.css @@ -0,0 +1,146 @@ +@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap'); +body { + user-select: none; + padding: 0; + margin: 0; + background-color: #fff; + box-sizing: border-box; +} +#tycoon{ + position: absolute; + width: 100%; + height: 200px; + background: radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#fff 70%); + font-size: 15pt; +} +#logclick{ + position: absolute; + width: 100%; + top: 40px; + left: 50%; + text-align: center; + transform: translate(-50%,0); + font-size: 17.5pt; +} +@media only screen and (max-width: 700px){ + #logclick{font-size: 15pt;} +} +#disclick{ + position: absolute; + width: 100%; +} + +/*BRB*/ +#unpressed{ + position: absolute; + width: 300px; + height: 300px; + border-radius: 150px; +} +#pressed{ + position: absolute; + width: 300px; + height: 300px; + visibility: hidden; + border-radius: 150px; +} +#button{ + user-select: none; + position: absolute; + top: 50%; + left: 50%; + margin: -150px 0 0 -150px; + border-radius: 150px; + cursor: pointer; +} +/* Other BTNS */ +.Yt{ + position: absolute; + bottom: 0px; + margin: 0.5rem; + left: 0; +} + +.menu-container{ + position: absolute; + top: 30px; + left: 50%; + transform: translate(-50%, -50%); + width: 300px; + display: flex; + align-items: center; + justify-content: center; + font-family: 'Poppins'; +} +.button{ + position: relative; + background: #1b1b1b; + color: #fff; + font-size: 20px; + padding: 8px 20px; + width: 150px;/* 100% */ + line-height: 30px; + display: flex; + align-items: center; + justify-content: space-between; + border-radius: 25px; + cursor: pointer; + transition: width .4s; +} +.button.expand{ + width: 100%; +} +.fas.expand:before{ + content: '\f00d'; +} +ul{ + list-style: none; + position: absolute; + top: 65px; + display: block; + background: #1b1b1b; + width: 100%; + text-align: center; + border-radius: 5px; + display: none; + box-shadow: 0 3px 6px rgba(0,0,0,.3); + padding-inline-start: 0px; +} +ul:before{ + position: absolute; + content: ''; + width: 20px; + height: 20px; + background: #1b1b1b; + top: -10px; + right: 15px; + transform: rotate(45deg); + z-index: -1; +} +ul li{ + line-height: 35px; + padding: 8px 20px; + cursor: pointer; + border-bottom: 1px solid rgba(255,255,255,.1); +} +ul li:hover:first-child{ + border-radius: 5px 5px 0 0; +} +ul li:hover:last-child{ + border-radius: 0 0 5px 5px; +} +ul li:hover{ + box-shadow: inset 0 0 5px #33ff33, + inset 0 0 10px #66ff66; +} +ul li:last-child{ + border-bottom: none; +} +ul li a{ + color: #fff; + font-size: 18px; + text-decoration: none; +} +ul li:hover a{ + color: #44dd44; +} \ No newline at end of file diff --git a/Version - 40/css/shop.css b/Version - 40/css/shop.css new file mode 100644 index 0000000..e77961b --- /dev/null +++ b/Version - 40/css/shop.css @@ -0,0 +1,246 @@ +@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap'); +*{ + margin: 0; + padding: 0; + user-select: none; + box-sizing: border-box; + scroll-behavior: smooth; +} + +body { + font-size: 15pt; + /*background: linear-gradient(#009000, black);*/ + background-color: #ccc; +} + +/* Clisks */ +#jonathan{ + position: fixed; + z-index: 1; + display: flex; + justify-content: center; + align-items: center; + height: 200px; + width: 100%; + margin: 0; + top: 0; + border-radius: 0 0 90px 90px; + background: linear-gradient(#11ABFF, #ccccccab); + +} +#logclick{ + position: relative; + background-color: papayawhip; + display: flex; + align-items: center; + justify-content: center; + gap: 5ch; + margin: 0 5vw 0 5vw; + padding: 1rem; + border: 5px dashed blue; + border-radius: 1rem; + z-index: 69; + width: auto; + top: 30px; + height: 85px; + filter: drop-shadow(10px 8px 6px #333); +} + +#imgcli{ + width: 50px; + height: 50px; + margin: 0.1rem; + width: 100px; + aspect-ratio: 1/1; + margin: 0.5rem; + object-fit: contain; + pointer-events: none; +} + +.backtop{ + height: 230px; + max-width: auto; + margin: 0 1.5vw 0 1.5vw; + border-radius: 0 0 90px 90px; + background: linear-gradient(#11ABFF, #ccccccab); + /*border: red solid 5px;*/ +} + +.main{ + display: flex; + flex-wrap: wrap; + justify-content: center; +} + + +/* By MrEidam */ +.item{ + background-color: papayawhip/*var(--color)*/; + /*border: 2px solid #333;*/ + border: none; + top: 5px; + margin: 2rem 3vw 2rem 3vw; + padding: 1rem; + border-radius: 6.9px; + display: flex; + flex-direction: column; + justify-content: space-evenly; + align-items: center; + width: 500px; + height: 340px; + filter: drop-shadow(0px 20px 14px #444); +} + +.item img{ + width: 100px; + aspect-ratio: 1/1; + margin: 0.5rem; + object-fit: contain; + + filter: drop-shadow(10px 8px 6px #333); + pointer-events: none +} +.buttons{ + display: flex; + justify-content: space-around; +} +/* By MrEidam */ +.buttons button{ + background-color: var(--Bcolor); + border-radius: 8px; + margin: 1rem; +} + +.buyone{ + width: 200px; + height: 50px; + cursor: pointer; +} + +.buymax{ + width: 50px; + height: 50px; + cursor: pointer; +} + +/* By MrEidam */ + +.clickbtn{ + display: flex; + justify-content: space-around; +} +.clickbtn button{ + background-color: var(--Bcolor); + border-radius: 8px; + margin: 0 1rem 0.5rem 1rem; +} + +.row{ + display: flex; + flex-direction: row; + justify-content: center; +} +button{ + border: none; + filter: drop-shadow(8px 6px 4px #555); +} + + + + +@media only screen and (max-width: 555px){ + .row{ + flex-direction: column; + justify-content: center; + } + .item{ + width: auto; + margin: 2rem 10vw 2rem 10vw; + } +} + + +.menu-container{ + position: fixed; + top: 50px; + left: 50%; + transform: translate(-50%, -50%); + width: 300px; + display: flex; + align-items: center; + justify-content: center; + font-family: 'Poppins'; + z-index: 500; +} +.button{ + position: relative; + background: #1b1b1b; + color: #fff; + font-size: 20px; + padding: 8px 20px; + width: 150px;/* 100% */ + line-height: 30px; + display: flex; + align-items: center; + justify-content: space-between; + border-radius: 25px; + cursor: pointer; + transition: width .4s; +} +.button.expand{ + width: 100%; +} +.fas.expand:before{ + content: '\f00d'; +} +ul{ + list-style: none; + position: absolute; + top: 65px; + display: block; + background: #1b1b1b; + width: 100%; + text-align: center; + border-radius: 5px; + display: none; + box-shadow: 0 3px 6px rgba(0,0,0,.3); + padding-inline-start: 0px; +} +ul:before{ + position: absolute; + content: ''; + width: 20px; + height: 20px; + background: #1b1b1b; + top: -10px; + right: 15px; + transform: rotate(45deg); + z-index: -1; +} +ul li{ + line-height: 35px; + padding: 8px 20px; + cursor: pointer; + border-bottom: 1px solid rgba(255,255,255,.1); +} +ul li:hover:first-child{ + border-radius: 5px 5px 0 0; +} +ul li:hover:last-child{ + border-radius: 0 0 5px 5px; +} +ul li:hover{ + box-shadow: inset 0 0 5px #33ff33, + inset 0 0 10px #66ff66; +} +ul li:last-child{ + border-bottom: none; +} +ul li a{ + color: #fff; + font-size: 18px; + text-decoration: none; +} +ul li:hover a{ + color: #44dd44; +} \ No newline at end of file diff --git a/Version - 40/css/upgr.css b/Version - 40/css/upgr.css new file mode 100644 index 0000000..d6f7e1c --- /dev/null +++ b/Version - 40/css/upgr.css @@ -0,0 +1,275 @@ +@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap'); +*{ + margin: 0; + padding: 0; + user-select: none; + box-sizing: border-box; +} + +body { + font-size: 15pt; + /*background: linear-gradient(#009000, black);*/ + background-color: #ccc; +} +#jonathan{ + position: fixed; + z-index: 1; + display: flex; + justify-content: center; + align-items: center; + height: 200px; + width: 100%; + margin: 0; + top: 0; + border-radius: 0 0 90px 90px; + background: linear-gradient(#11ABFF, #ccccccab); + +} + +/* By MrEidam */ + +/* Lemons */ +#loglm{ + position: relative; + background-color: papayawhip; + display: flex; + align-items: center; + justify-content: center; + gap: 5ch; + margin: 0 5vw 0 5vw; + padding: 1rem; + border: 5px dashed #d3e418e1; + border-radius: 1rem; + z-index: 69; + width: auto; + top: 30px; + height: 85px; + filter: drop-shadow(10px 8px 6px #333); +} + +#imglm{ + width: 50px; + height: 50px; + margin: 0.1rem; + width: 100px; + aspect-ratio: 1/1; + margin: 0.1rem; + object-fit: contain; + pointer-events: none; +} +/* By MrEidam */ + +main{ + display: flex; + flex-wrap: wrap; + justify-content: center; +} + + +/* By MrEidam */ +.item{ + background-color: papayawhip/*var(--color)*/; + /*border: 2px solid #333;*/ + border: none; + top: 5px; + margin: 2rem 3vw 2rem 3vw; + padding: 1rem; + border-radius: 6.9px; + display: flex; + flex-direction: column; + justify-content: space-evenly; + align-items: center; + width: 500px; + height: 390px; + filter: drop-shadow(0px 20px 14px #444); +} + +.item img{ + width: 100px; + aspect-ratio: 1/1; + margin: 0.5rem; + object-fit: contain; + + filter: drop-shadow(10px 8px 6px #333); + pointer-events: none +} +.buttons{ + display: flex; + justify-content: space-around; +} +/* By MrEidam */ +.buttons button{ + background-color: var(--Bcolor); + border-radius: 8px; + margin: 1rem; +} + +.buyone{ + width: 200px; + height: 50px; +} + +.buyTone{ + width: 100px; + height: 50px; +} + +.buymax{ + width: 50px; + height: 50px; +} + +/* By MrEidam */ + +.clickbtn{ + display: flex; + justify-content: space-around; +} +.clickbtn button{ + background-color: var(--Bcolor); + border-radius: 8px; + margin: 0 1rem 0.5rem 1rem; +} + +.row{ + display: flex; + flex-direction: row; + justify-content: center; +} +button{ + border: none; + filter: drop-shadow(8px 6px 4px #555); +} + +@media only screen and (max-width: 550px){ + .row{ + flex-direction: column; + justify-content: center; + } + .item{ + width: auto; + margin: 2rem 10vw 2rem 10vw; + } +} + + +#prog{ + appearance: none; + width: 200px; +} + +h2{ + text-transform: uppercase; + letter-spacing: 5px; + font-weight: 900; + word-spacing: 10px; +} + +#ItsTime{ + position: relative; + margin: 1rem; + width: 69%; + height: 69px; + display: none; + border-radius: 6.9px; + transition: 0.5s; + animation: time 1s linear infinite; + background-color: #3d3; + text-transform: uppercase; + letter-spacing: 5px; + font-weight: 900; + word-spacing: 10px; + font-family: 'Poppins', sans-serif; + cursor: cell; +} + +@keyframes time{ + from{filter: hue-rotate(0deg);} + to{filter: hue-rotate(360deg);} +} + + +.menu-container{ + position: fixed; + top: 50px; + left: 50%; + transform: translate(-50%, -50%); + width: 300px; + display: flex; + align-items: center; + justify-content: center; + font-family: 'Poppins'; + z-index: 500; +} +.button{ + position: relative; + background: #1b1b1b; + color: #fff; + font-size: 20px; + padding: 8px 20px; + width: 150px;/* 100% */ + line-height: 30px; + display: flex; + align-items: center; + justify-content: space-between; + border-radius: 25px; + cursor: pointer; + transition: width .4s; +} +.button.expand{ + width: 100%; +} +.fas.expand:before{ + content: '\f00d'; +} +ul{ + list-style: none; + position: absolute; + top: 65px; + display: block; + background: #1b1b1b; + width: 100%; + text-align: center; + border-radius: 5px; + display: none; + box-shadow: 0 3px 6px rgba(0,0,0,.3); + padding-inline-start: 0px; +} +ul:before{ + position: absolute; + content: ''; + width: 20px; + height: 20px; + background: #1b1b1b; + top: -10px; + right: 15px; + transform: rotate(45deg); + z-index: -1; +} +ul li{ + line-height: 35px; + padding: 8px 20px; + cursor: pointer; + border-bottom: 1px solid rgba(255,255,255,.1); +} +ul li:hover:first-child{ + border-radius: 5px 5px 0 0; +} +ul li:hover:last-child{ + border-radius: 0 0 5px 5px; +} +ul li:hover{ + box-shadow: inset 0 0 5px #33ff33, + inset 0 0 10px #66ff66; +} +ul li:last-child{ + border-bottom: none; +} +ul li a{ + color: #fff; + font-size: 18px; + text-decoration: none; +} +ul li:hover a{ + color: #44dd44; +} \ No newline at end of file diff --git a/Version - 40/img/Porcupine.png b/Version - 40/img/Porcupine.png new file mode 100644 index 0000000..3dc2007 Binary files /dev/null and b/Version - 40/img/Porcupine.png differ diff --git a/Version - 40/img/YT.png b/Version - 40/img/YT.png new file mode 100644 index 0000000..dc7bcad Binary files /dev/null and b/Version - 40/img/YT.png differ diff --git a/Version - 40/img/angel-wings.svg b/Version - 40/img/angel-wings.svg new file mode 100644 index 0000000..a4a8b0c --- /dev/null +++ b/Version - 40/img/angel-wings.svg @@ -0,0 +1,5 @@ + + +angel-wings + + diff --git a/Version - 40/img/brb-pressed.png b/Version - 40/img/brb-pressed.png new file mode 100644 index 0000000..71f01ab Binary files /dev/null and b/Version - 40/img/brb-pressed.png differ diff --git a/Version - 40/img/brb-still.png b/Version - 40/img/brb-still.png new file mode 100644 index 0000000..ad1141d Binary files /dev/null and b/Version - 40/img/brb-still.png differ diff --git a/Version - 40/img/capybara.svg b/Version - 40/img/capybara.svg new file mode 100644 index 0000000..5f6a283 --- /dev/null +++ b/Version - 40/img/capybara.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 40/img/cat-body.svg b/Version - 40/img/cat-body.svg new file mode 100644 index 0000000..abce513 --- /dev/null +++ b/Version - 40/img/cat-body.svg @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 40/img/cat-head.svg b/Version - 40/img/cat-head.svg new file mode 100644 index 0000000..8591d06 --- /dev/null +++ b/Version - 40/img/cat-head.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 40/img/cheetah.svg b/Version - 40/img/cheetah.svg new file mode 100644 index 0000000..ec5c2eb --- /dev/null +++ b/Version - 40/img/cheetah.svg @@ -0,0 +1,506 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 40/img/click-click.svg b/Version - 40/img/click-click.svg new file mode 100644 index 0000000..6b91a3a --- /dev/null +++ b/Version - 40/img/click-click.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 40/img/click-rest.svg b/Version - 40/img/click-rest.svg new file mode 100644 index 0000000..0521add --- /dev/null +++ b/Version - 40/img/click-rest.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + diff --git a/Version - 40/img/dog.svg b/Version - 40/img/dog.svg new file mode 100644 index 0000000..51c2b4f --- /dev/null +++ b/Version - 40/img/dog.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 40/img/fox.svg b/Version - 40/img/fox.svg new file mode 100644 index 0000000..13704a4 --- /dev/null +++ b/Version - 40/img/fox.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 40/img/girafe.svg b/Version - 40/img/girafe.svg new file mode 100644 index 0000000..82a0d8a --- /dev/null +++ b/Version - 40/img/girafe.svg @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 40/img/hamster.svg b/Version - 40/img/hamster.svg new file mode 100644 index 0000000..9e33099 --- /dev/null +++ b/Version - 40/img/hamster.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 40/img/hippopotamus.png b/Version - 40/img/hippopotamus.png new file mode 100644 index 0000000..2df7046 Binary files /dev/null and b/Version - 40/img/hippopotamus.png differ diff --git a/Version - 40/img/icons8-clicked.png b/Version - 40/img/icons8-clicked.png new file mode 100644 index 0000000..8a4b40f Binary files /dev/null and b/Version - 40/img/icons8-clicked.png differ diff --git a/Version - 40/img/icons8-rest.svg b/Version - 40/img/icons8-rest.svg new file mode 100644 index 0000000..6d7d9a9 --- /dev/null +++ b/Version - 40/img/icons8-rest.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 40/img/lemon-tree.svg b/Version - 40/img/lemon-tree.svg new file mode 100644 index 0000000..15e28da --- /dev/null +++ b/Version - 40/img/lemon-tree.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 40/img/lemon.svg b/Version - 40/img/lemon.svg new file mode 100644 index 0000000..e6dafd4 --- /dev/null +++ b/Version - 40/img/lemon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 40/img/meerkat.svg b/Version - 40/img/meerkat.svg new file mode 100644 index 0000000..e41fb8f --- /dev/null +++ b/Version - 40/img/meerkat.svg @@ -0,0 +1,1644 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 40/img/otter.svg b/Version - 40/img/otter.svg new file mode 100644 index 0000000..5ea0173 --- /dev/null +++ b/Version - 40/img/otter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 40/img/owl.svg b/Version - 40/img/owl.svg new file mode 100644 index 0000000..8bbb16c --- /dev/null +++ b/Version - 40/img/owl.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 40/img/platapus.png b/Version - 40/img/platapus.png new file mode 100644 index 0000000..928bbc4 Binary files /dev/null and b/Version - 40/img/platapus.png differ diff --git a/Version - 40/img/python.svg b/Version - 40/img/python.svg new file mode 100644 index 0000000..141be08 --- /dev/null +++ b/Version - 40/img/python.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 40/img/racoon.svg b/Version - 40/img/racoon.svg new file mode 100644 index 0000000..30c8872 --- /dev/null +++ b/Version - 40/img/racoon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 40/img/shop.png b/Version - 40/img/shop.png new file mode 100644 index 0000000..7dadb79 Binary files /dev/null and b/Version - 40/img/shop.png differ diff --git a/Version - 40/img/snake.svg b/Version - 40/img/snake.svg new file mode 100644 index 0000000..1753178 --- /dev/null +++ b/Version - 40/img/snake.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 40/img/svg.svg b/Version - 40/img/svg.svg new file mode 100644 index 0000000..50119a7 --- /dev/null +++ b/Version - 40/img/svg.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 40/img/upgrade-icon-png-12.jpg b/Version - 40/img/upgrade-icon-png-12.jpg new file mode 100644 index 0000000..4306888 Binary files /dev/null and b/Version - 40/img/upgrade-icon-png-12.jpg differ diff --git a/Version - 40/img/whale.svg b/Version - 40/img/whale.svg new file mode 100644 index 0000000..5d76311 --- /dev/null +++ b/Version - 40/img/whale.svg @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 40/img/wolf.svg b/Version - 40/img/wolf.svg new file mode 100644 index 0000000..af40205 --- /dev/null +++ b/Version - 40/img/wolf.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 40/index.html b/Version - 40/index.html new file mode 100644 index 0000000..58f77d6 --- /dev/null +++ b/Version - 40/index.html @@ -0,0 +1,77 @@ + + + + + + + + + BRB - Clicking + + + + + + + + + + + +
+ +
+ + +
+

+

+ + +
+ + +
+ + + + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/Version - 40/js/main.js b/Version - 40/js/main.js new file mode 100644 index 0000000..8bee89c --- /dev/null +++ b/Version - 40/js/main.js @@ -0,0 +1,308 @@ +// Items +let items; +let cs = 0; +let e = 0; +let anime = false; + +function load(){ + if (localStorage.getItem('items')!=null){ + items = JSON.parse(localStorage.getItem('items')); + } +} + +window.onload = function(){ + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + hamsters:0, + whales:0, + capybaras:0, + platapuses:0, + porcupines:0, + hippos:0, + snakes:0, + cheetahs:0, + pythons:0, + girrafes:0, + lions:0, + otters:0, + meerkat:0, + raccoon:0, + owl:0, + badger:0, + squirrel:0, + chameleon:0, + chicken:0, + wombat:0, + panther:0, + coyote:0, + frog:0, + bear:0, + pig:0, + + + + lemons:0, + lt3:0, + lang:0, + pres:1, + mode:0, + Mclick:1, + token:0, + } + load(); + update(); + for(let item in items){ + if(!items.item){ + items.item = 0; + } + } + cash(); + checklang() + LDmodes() +} + +// Reset +function reset(){ + if((items.lang == 1) && confirm('Do you really want to reset everything?') && confirm('Are you sure?')){ + alert('Everything Reseted'); + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + hamsters:0, + whales:0, + capybaras:0, + platapuses:0, + porcupines:0, + hippos:0, + snakes:0, + cheetahs:0, + pythons:0, + girrafes:0, + lions:0, + otters:0, + meerkat:0, + raccoon:0, + owl:0, + badger:0, + squirrel:0, + chameleon:0, + chicken:0, + wombat:0, + panther:0, + coyote:0, + frog:0, + bear:0, + pig:0, + + + + lemons:0, + lt3:0, + lang:items.lang, + pres:1, + mode:items.mode, + Mclick:1, + token:0, + } + } + if((items.lang == 0) && confirm('Vážně chceš všechno resetovat?') && confirm('Seš si jistý?')){ + alert('Vše resetováno'); + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + hamsters:0, + whales:0, + capybaras:0, + platapuses:0, + porcupines:0, + hippos:0, + snakes:0, + cheetahs:0, + pythons:0, + girrafes:0, + lions:0, + otters:0, + meerkat:0, + raccoon:0, + owl:0, + badger:0, + squirrel:0, + chameleon:0, + chicken:0, + wombat:0, + panther:0, + coyote:0, + frog:0, + bear:0, + pig:0, + + + + lemons:0, + lt3:0, + lang:items.lang, + pres:1, + mode:items.mode, + Mclick:1, + token:0, + } + } +} + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + if(items.lang == 1){ + document.getElementById('disclick').innerHTML=`You've got ${fornum(items.clicks)} clicks, and generating ${fornum(cs*items.pres)} c/s!` + } + if(items.lang == 0){ + document.getElementById('disclick').innerHTML=`Právě máš ${fornum(items.clicks)} kliků a generuješ ${fornum(cs*items.pres)} k/s!` + } + if((items.mode != 0)&&(items.mode != 1)){ + items.mode = 0; + } + checklang(); +} + +// Upload +function upload(){update();load();} + +// BRB +function beriba(){ + document.getElementById('unpressed').style.visibility='visible' + document.getElementById('pressed').style.visibility='hidden' + anime=true; +} + +function clicking(){ + items.clicks += 1*(items.Mclick||1)*items.pres; + console.log(items.clicks); + update(); + + document.getElementById('unpressed').style.visibility='hidden' + document.getElementById('pressed').style.visibility='visible' + anime=false; + + setTimeout(beriba, 75); +} + +function cash(){ + setTimeout (function money(){ + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000; + items.clicks += cs*items.pres; + update();cash(); + },1000) +} + +// HELP +function help(){ + if(items.lang == 1){ /* EN */ + window.open('https://youtu.be/G0fP-l-05dM'); + }else if(items.lang == 0){ /* CZ */ + window.open('https://youtu.be/XhmETe4MSVI'); + } +} +// Languages Cz || Uk +function language(){ + if(items.lang == 0){ /* CZ */ + items.lang = 1; + console.log(items.lang); + document.documentElement.setAttribute('lang', 'cz'); + del.innerHTML = 'Reset'; + sos.innerHTML = 'Pomoc'; + shop.innerHTML = 'Obchod'; + upg.innerHTML = 'Vylepšení'; + modes.innerHTML = 'Změn do Temného módu'; + langs.innerHTML = 'Switch into English'; + + }else if(items.lang == 1){ /* UK */ + items.lang = 0; + console.log(items.lang); + document.documentElement.setAttribute('lang', 'en'); + del.innerHTML = 'Reset'; + sos.innerHTML = 'Help'; + shop.innerHTML = 'Shop'; + upg.innerHTML = 'Upgrades'; + modes.innerHTML = 'Switch into Dark Mode'; + langs.innerHTML = 'Změň si jazyk do Češtiny'; + } + upload(); +} + +function checklang(){ + if(items.lang == 0){ /* CZ */ + document.documentElement.setAttribute('lang', 'cz'); + del.innerHTML = 'Reset'; + sos.innerHTML = 'Pomoc'; + shop.innerHTML = 'Obchod'; + upg.innerHTML = 'Vylepšení'; + if((items.mode||0) == 0){ + modes.innerHTML = 'Změn do Temného módu'; + }else if(items.mode == 1){ + modes.innerHTML = 'Změn do Světlého módu'; + } + langs.innerHTML = 'Switch into English'; + }else if(items.lang == 1){ /* UK */ + document.documentElement.setAttribute('lang', 'en'); + del.innerHTML = 'Reset'; + sos.innerHTML = 'Help'; + shop.innerHTML = 'Shop'; + upg.innerHTML = 'Upgrades'; + if((items.mode||0) == 0){ + modes.innerHTML = 'Switch into Dark Mode'; + }else if(items.mode == 1){ + modes.innerHTML = 'Switch into Light Mode'; + } + langs.innerHTML = 'Změň si jazyk do Češtiny'; + +} +} +// Dark || Light Mode +function SLDmodes(){ + if(items.mode == 0){ + items.mode = 1; + }else if(items.mode == 1){ + items.mode = 0; + } + LDmodes() + console.log(items.mode); +} +function LDmodes(){ + if((items.mode||0) == 0){// Light Mode + body.style.background = '#fff'; + tycoon.style.background = 'radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#fff 70%)'; + yt.style.filter = 'drop-shadow(10px 8px 6px #333)'; + }else if(items.mode == 1){// Dark Mode + body.style.background = '#333'; + tycoon.style.background = 'radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#333 70%)'; + yt.style.filter = 'drop-shadow(10px 8px 6px #666)'; + } + upload(); +} + + +// Function to convert a number into a more readable format +function fornum(num) { + // Define the suffixes for thousands and millions + const suffixes = ['', ' k', ' mil', ' mld', ' bil', ' bld', ' tri', ' tld', ' qua', ' qld', ' kvi', ' kld', ' sex', ' sld', ' sep', ' spld', ' okt', ' okld', ' non', ' nld', ' dec', ' dld']; + + // Divide the number by 1000 until it is less than 1000 + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + num = Math.floor(num * 10) / 10; + return num + suffixes[i]; +} \ No newline at end of file diff --git a/Version - 40/js/shop.js b/Version - 40/js/shop.js new file mode 100644 index 0000000..2e6e837 --- /dev/null +++ b/Version - 40/js/shop.js @@ -0,0 +1,1034 @@ +let cs + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000; +} +function c(x){ + items.clicks += x; + console.log(x + ' clicks added!'); + upload(); +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + LDmodes() + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000; + + if(items.lang == 1){ + document.documentElement.setAttribute('lang', 'en'); + if((items.mode||0) == 0){ + modes.innerHTML = 'Switch into Dark Mode'; + }else if((items.mode||0) == 1){ + modes.innerHTML = 'Switch into Light Mode'; + } + upg.innerHTML = 'Upgrades' + disclick.innerHTML=`You've got ${fornum(items.clicks)} clicks, and making ${fornum(cs*items.pres)} per second!` + disdog.innerHTML=`You've got ${fornum(items.dogs)} dogs!` + discat.innerHTML=`You've got ${fornum(items.cats)} cats!` + disfox.innerHTML=`You've got ${fornum(items.foxes)} foxes!` + diswol.innerHTML=`You've got ${fornum(items.wolfs)} wolfs!` + disham.innerHTML=`You've got ${fornum(items.hamsters)} hamsters!` + diswha.innerHTML=`You've got ${fornum(items.whales)} whales!` + discap.innerHTML=`You've got ${fornum(items.capybaras)} capybaras!` + displa.innerHTML=`You've got ${fornum(items.platapuses)} platypuses!` + dispor.innerHTML=`You've got ${fornum(items.porcupines)} porcupines!` + diship.innerHTML=`You've got ${fornum(items.hippos)} hippopotamuses!` + dissna.innerHTML=`You've got ${fornum(items.snakes)} snakes!` + dische.innerHTML=`You've got ${fornum(items.cheetahs)} cheetahs!` + dispyt.innerHTML=`You've got ${fornum(items.pythons)} pythons!` + disgir.innerHTML=`You've got ${fornum(items.girrafes)} giraffes!` + disoth.innerHTML=`You've got ${fornum(items.otters)} otters!` + dismee.innerHTML=`You've got ${fornum(items.meerkat)} meerkats!` + disrac.innerHTML=`You've got ${fornum(items.raccoon)} racoons!` + disowl.innerHTML=`You've got ${fornum(items.owl)} owls!` + + + + + document.getElementById('dislem').innerHTML=`You've got ${fornum(items.lemons)} lemons!` + document.getElementById('dislt3').innerHTML=`You've got ${fornum(items.lt3)} lemon trees!` + + + disdgmake.innerHTML=`They're generating ${fornum((items.dogs*1)*items.pres)} clicks per second!` + disctmake.innerHTML=`They're generating ${fornum((items.cats*12)*items.pres)} clicks per second!` + disfxmake.innerHTML=`They're generating ${fornum((items.foxes*18)*items.pres)} clicks per second!` + diswlmake.innerHTML=`They're generating ${fornum((items.wolfs*100)*items.pres)} clicks per second!` + dishmmake.innerHTML=`They're generating ${fornum((items.hamsters*130)*items.pres)} clicks per second!` + diswhmake.innerHTML=`They're generating ${fornum((items.whales*220)*items.pres)} clicks per second!` + discpmake.innerHTML=`They're generating ${fornum((items.capybaras*280)*items.pres)} clicks per second!` + displmake.innerHTML=`They're generating ${fornum((items.platapuses*400)*items.pres)} clicks per second!` + disprmake.innerHTML=`They're generating ${fornum((items.porcupines*650)*items.pres)} clicks per second!` + dishimake.innerHTML=`They're generating ${fornum((items.hippos*950)*items.pres)} clicks per second!` + dissnmake.innerHTML=`They're generating ${fornum((items.snakes*1000)*items.pres)} clicks per second!` + dischmake.innerHTML=`They're generating ${fornum((items.cheetahs*3000)*items.pres)} clicks per second!` + dispymake.innerHTML=`They're generating ${fornum((items.pythons*7800)*items.pres)} clicks per second!` + disgimake.innerHTML=`They're generating ${fornum((items.girrafes*8400)*items.pres)} clicks per second!` + disotmake.innerHTML=`They're generating ${fornum((items.otters*9000)*items.pres)} clicks per second!` + dismeemake.innerHTML=`They're generating ${fornum((items.meerkat*9800)*items.pres)} clicks per second!` + disramake.innerHTML=`They're generating ${fornum((items.raccoon*14500)*items.pres)} clicks per second!` + disowmake.innerHTML=`They're generating ${fornum((items.owl*16000)*items.pres)} clicks per second!` + + dg1.innerHTML = 'Buy a Dog for 100 clicks' + ct1.innerHTML = 'Buy a Cat for 10 dogs' + fx1.innerHTML = 'Buy a Fox for 15 dogs' + wl1.innerHTML = 'Buy a Wolf for
6 dogs and 5 foxes' + hm1.innerHTML = 'Buy a Hamster for
1 wolf and 2 cats' + wh1.innerHTML = 'Buy a Whale for 2 wolfs' + cp1.innerHTML = 'Buy a Capybara for
1 whale and 4 cats' + pl1.innerHTML = 'Buy a Platypus for
1 capybara and 1 wolf' + pr1.innerHTML = 'Buy a Porcupine for
1 platypus and 1 whale' + hi1.innerHTML = 'Buy a Hippopotamus for
1 porcupine and 2 hamsters' + sn1.innerHTML = 'Buy a Snake for
2 whales and 4 hamsters' + ch1.innerHTML = 'Buy a Cheetah for
2 snakes and 2 platypuses' + py1.innerHTML = 'Buy a Python for
1 cheetah and 5 hippos' + gi1.innerHTML = 'Buy a Giraffe for
1 python and 20 foxes' + ot1.innerHTML = 'Buy a Otter for
1 giraffe and 2 capybaras' + me1.innerHTML = 'Buy a Meerkat for
1 otter and 3 whales' + ra1.innerHTML = 'Buy a Raccoon for
1 meerkat and 7 porcupines' + ow1.innerHTML = 'Buy a Owl for
1 racoon and 1 snake' + + lm1.innerHTML = 'Buy a Lemon for some cats' + lt1.innerHTML = 'Buy a Lemon Tree for 5 lemons' + + // Buying for clicks + Cct1.innerHTML = 'Buy a Cat for
1,2 k clicks' + Cfx1.innerHTML = 'Buy a Fox for
1,8 k clicks' + Cwl1.innerHTML = 'Buy a Wolf for
10 k clicks' + Chm1.innerHTML = 'Buy a Hamster for
13 k clicks' + Cwh1.innerHTML = 'Buy a Whale for
22 k clicks' + Ccp1.innerHTML = 'Buy a Capybara for
28 k clicks' + Cpl1.innerHTML = 'Buy a Platypus for
42 k clicks' + Cpr1.innerHTML = 'Buy a Porcupine for
70 k clicks' + Chi1.innerHTML = 'Buy a Hippopotamus for
100 k clicks' + Csn1.innerHTML = 'Buy a Snake for
150 k clicks' + Cch1.innerHTML = 'Buy a Cheetah for
350 k clicks' + Cpy1.innerHTML = 'Buy a Python for
820 k clicks' + Cgi1.innerHTML = 'Buy a Giraffe for
880 k clicks' + Cot1.innerHTML = 'Buy a Otter for
950 k clicks' + Cme1.innerHTML = 'Buy a Meerkat for
1 mil clicks' + Cra1.innerHTML = 'Buy a Raccoon for
1.5 mil clicks' + Cow1.innerHTML = 'Buy a Owl for
1.8 mil clicks' + } + if(items.lang == 0){ + document.documentElement.setAttribute('lang', 'cz'); + if((items.mode||0) == 0){ + modes.innerHTML = 'Změn do Temného módu'; + }else if((items.mode||0) == 1){ + modes.innerHTML = 'Změn do Světlého módu'; + } + upg.innerHTML = 'Vylepšení' + document.getElementById('disclick').innerHTML=`Právě máš ${fornum(items.clicks)} kliků a děláš ${fornum(cs*items.pres)} za sekundu!` + document.getElementById('disdog').innerHTML=`Právě máš ${fornum(items.dogs)} psů!` + document.getElementById('discat').innerHTML=`Právě máš ${fornum(items.cats)} koček!` + document.getElementById('disfox').innerHTML=`Právě máš ${fornum(items.foxes)} lišek!` + document.getElementById('diswol').innerHTML=`Právě máš ${fornum(items.wolfs)} vlků!` + document.getElementById('disham').innerHTML=`Právě máš ${fornum(items.hamsters)} křečků!` + document.getElementById('diswha').innerHTML=`Právě máš ${fornum(items.whales)} velryb!` + document.getElementById('discap').innerHTML=`Právě máš ${fornum(items.capybaras)} kapybar!` + document.getElementById('displa').innerHTML=`Právě máš ${fornum(items.platapuses)} ptakopysků!` + document.getElementById('dispor').innerHTML=`Právě máš ${fornum(items.porcupines)} dikobrazů!` + document.getElementById('diship').innerHTML=`Právě máš ${fornum(items.hippos)} hrochů!` + document.getElementById('dissna').innerHTML=`Právě máš ${fornum(items.snakes)} hadů!` + document.getElementById('dische').innerHTML=`Právě máš ${fornum(items.cheetahs)} gepardů!` + document.getElementById('dispyt').innerHTML=`Právě máš ${fornum(items.pythons)} kober!` + document.getElementById('disgir').innerHTML=`Právě máš ${fornum(items.girrafes)} žiraf!` + document.getElementById('disoth').innerHTML=`Právě máš ${fornum(items.otters)} vyder!` + document.getElementById('dismee').innerHTML=`Právě máš ${fornum(items.meerkat)} surikat!` + document.getElementById('disrac').innerHTML=`Právě máš ${fornum(items.raccoon)} mývalů!` + document.getElementById('disowl').innerHTML=`Právě máš ${fornum(items.owl)} sov!` + + + + + document.getElementById('dislem').innerHTML=`Právě máš ${fornum(items.lemons)} citrónů!` + document.getElementById('dislt3').innerHTML=`Právě máš ${fornum(items.lt3)} citronovníků!` + + + document.getElementById('disdgmake').innerHTML=`Generují ${fornum((items.dogs*1)*items.pres)} kliků za sekundu!` + document.getElementById('disctmake').innerHTML=`Generují ${fornum((items.cats*12)*items.pres)} kliků za sekundu!` + document.getElementById('disfxmake').innerHTML=`Generují ${fornum((items.foxes*18)*items.pres)} kliků za sekundu!` + document.getElementById('diswlmake').innerHTML=`Generují ${fornum((items.wolfs*100)*items.pres)} kliků za sekundu!` + document.getElementById('dishmmake').innerHTML=`Generují ${fornum((items.hamsters*130)*items.pres)} kliků za sekundu!` + document.getElementById('diswhmake').innerHTML=`Generují ${fornum((items.whales*220)*items.pres)} kliků za sekundu!` + document.getElementById('discpmake').innerHTML=`Generují ${fornum((items.capybaras*280)*items.pres)} kliků za sekundu!` + document.getElementById('displmake').innerHTML=`Generují ${fornum((items.platapuses*400)*items.pres)} kliků za sekundu!` + document.getElementById('disprmake').innerHTML=`Generují ${fornum((items.porcupines*650)*items.pres)} kliků za sekundu!` + document.getElementById('dishimake').innerHTML=`Generují ${fornum((items.hippos*950)*items.pres)} kliků za sekundu!` + document.getElementById('dissnmake').innerHTML=`Generují ${fornum((items.snakes*1000)*items.pres)} kliků za sekundu!` + document.getElementById('dischmake').innerHTML=`Generují ${fornum((items.cheetahs*3000)*items.pres)} kliků za sekundu!` + document.getElementById('dispymake').innerHTML=`Generují ${fornum((items.pythons*7800)*items.pres)} kliků za sekundu!` + document.getElementById('disgimake').innerHTML=`Generují ${fornum((items.girrafes*8400)*items.pres)} kliků za sekundu!` + document.getElementById('disotmake').innerHTML=`Generují ${fornum((items.otters*9000)*items.pres)} kliků za sekundu!` + document.getElementById('dismeemake').innerHTML=`Generují ${fornum((items.meerkat*9800)*items.pres)} kliků za sekundu!` + document.getElementById('disramake').innerHTML=`Generují ${fornum((items.raccoon*14500)*items.pres)} kliků za sekundu!` + document.getElementById('disowmake').innerHTML=`Generují ${fornum((items.owl*16000)*items.pres)} kliků za sekundu!` + + + dg1.innerHTML = 'Kup Psa za 100 kliků' + ct1.innerHTML = 'Kup Kočku za 10 psů' + fx1.innerHTML = 'Kup Lišku za 15 psů' + wl1.innerHTML = 'Kup Vlka za
6 psů a 5 lišek' + hm1.innerHTML = 'Kup Křečka za
1 vlka a 2 kočky' + wh1.innerHTML = 'Kup Velrybu za 2 vlky' + cp1.innerHTML = 'Kup Kapybaru za
1 velrybu a 4 kočky' + pl1.innerHTML = 'Kup Ptakopyska za
1 capybaru a 1 vlka' + pr1.innerHTML = 'Kup Dikobraza za
1 ptakopyska a 1 velrybu' + hi1.innerHTML = 'Kup Hrocha za
1 dikobraza a 2 křečků' + sn1.innerHTML = 'Kup Hada za
2 velryby a 4 křečky' + ch1.innerHTML = 'Kup Geparda za
2 hady a 2 ptakopysky' + py1.innerHTML = 'Kup Kobru za
1 geparda a 5 hrochů' + gi1.innerHTML = 'Kup Žirafu za
1 kobru a 20 lišek' + ot1.innerHTML = 'Kup Vydru za
1 žirafu a 20 lišek' + me1.innerHTML = 'Kup Surikatu za
1 kobru a 20 lišek' + ra1.innerHTML = 'Kup Mývala za
1 kobru a 20 lišek' + ow1.innerHTML = 'Kup Sovu za
1 kobru a 20 lišek' + + lm1.innerHTML = 'Kup Citrón za pár koček' + lt1.innerHTML = 'Kup Citrónovník za 5 citrónů' + + // Buying for clicks + Cct1.innerHTML = 'Kup Kočku za
1,2 k kliků' + Cfx1.innerHTML = 'Kup Lišku za
1,8 k kliků' + Cwl1.innerHTML = 'Kup Vlka za
10 k kliků' + Chm1.innerHTML = 'Kup Křečka za
13 k kliků' + Cwh1.innerHTML = 'Kup Velrybu za
22 k kliků' + Ccp1.innerHTML = 'Kup Kapybaru za
28 k kliků' + Cpl1.innerHTML = 'Kup Ptakopyska za
42 k kliků' + Cpr1.innerHTML = 'Kup Dikobraza za
70 k kliků' + Chi1.innerHTML = 'Kup Hrocha za
100 k kliků' + Csn1.innerHTML = 'Kup Hada za
150 k kliků' + Cch1.innerHTML = 'Kup Geparda za
350 k kliků' + Cpy1.innerHTML = 'Kup Kobru za
820 k kliků' + Cgi1.innerHTML = 'Kup Žirafu za
880 k kliků' + Cot1.innerHTML = 'Kup Vydru za
950 k kliků' + Cme1.innerHTML = 'Kup Surikatu za
1 mil kliků' + Cra1.innerHTML = 'Kup Mývala za
1,5 mil kliků' + Cow1.innerHTML = 'Kup Sovu za
1,8 mil kliků' + } +} +load(); + +// Upload +function upload(){update();load();} + +function cash(){ + setTimeout (function money(){ + items.clicks += cs*items.pres; + upload(); + cash();click(); + },1000) +} +cash(); + +function click(){ + setTimeout(function decoration(){ + document.getElementById('imgcli').src = './img/icons8-clicked.png' + },500); + setTimeout(function decoration(){ + document.getElementById('imgcli').src = './img/icons8-rest.svg' + },1000) +} + +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); + click() +} +function buycat(){ + if(items.dogs>=10){ + items.dogs-=10; + items.cats+=1; + } + upload(); +} +function buyfox(){ + if(items.dogs>=15){ + items.dogs-=15; + items.foxes+=1; + } + upload(); +} +function buywol(){ + if(items.dogs>=6 && items.foxes>=5){ + items.dogs-=6; + items.foxes-=5; + items.wolfs+=1; + } + upload(); +} +function buyham(){ + if(items.wolfs>=1 && items.cats>=2){ + items.wolfs-=1; + items.cats-=2; + items.hamsters+=1; + } + upload(); +} +function buywha(){ + if(items.wolfs>=2){ + items.wolfs-=2; + items.whales+=1; + } + upload(); +} +function buycap(){ + if(items.whales>=1 && items.cats>=4){ + items.whales-=1; + items.cats-=4; + items.capybaras+=1; + } + upload(); +} +function buypla(){ + if(items.capybaras>=1 && items.wolfs>=1){ + items.capybaras-=1; + items.wolfs-=1; + items.platapuses+=1; + } + upload(); +} +function buypor(){ + if(items.platapuses>=1 && items.whales>=1){ + items.platapuses-=1; + items.whales-=1; + items.porcupines++; + } + upload(); +} +function buyhip(){ + if(items.porcupines>=1 && items.hamsters>=2){ + items.porcupines-=1; + items.hamsters-=2; + items.hippos++; + } + upload(); +} +function buysna(){ + if(items.whales>=2 && items.hamsters>=4){ + items.whales-=2; + items.hamsters-=4; + items.snakes++; + } + upload(); +} +function buyche(){ + if(items.snakes>=2 && items.platapuses>=2){ + items.snakes-=2; + items.platapuses-=2; + items.cheetahs++; + } + upload(); +} +function buypyt(){ + if(items.cheetahs>=1 && items.hippos>=5){ + items.cheetahs-=1; + items.hippos-=5; + items.pythons++; + } + upload(); +} +function buygir(){ + if(items.pythons>=1 && items.foxes>=20){ + items.pythons-=1; + items.foxes-=20; + items.girrafes++; + } + upload(); +} +function buyoth(){ + if(items.girrafes>=1 && items.capybaras>=2){ + items.girrafes-=1; + items.capybaras-=2; + items.otters++; + } + upload(); +} +function buymee(){ + if(items.otters>=1 && items.whales>=3){ + items.otters-=1; + items.whales-=3; + items.meerkat++; + } + upload(); +} +function buyrac(){ + if(items.meerkat>=1 && items.porcupines>=7){ + items.meerkat-=1; + items.porcupines-=7; + items.raccoon++; + } + upload(); +} +function buyowl(){ + if(items.raccoon>=1 && items.snakes>=1){ + items.pythons-=1; + items.snakes-=1; + items.owl++; + } + upload(); +} + + + + + + +function buylem(){ + let RanLemCost = Math.floor(Math.random()*100); + if(items.cats>=RanLemCost){ + items.cats-=RanLemCost; + items.lemons+=1; + } + upload(); +} +function buylt3(){ + if (items.lemons>=5) { + items.lemons-=5; + items.lt3+=1; + } + upload(); +} + + + + + + +/* Max Shop */ +function mxdg(){ + one = Math.floor(items.clicks / 100) + + items.clicks -= one * 100 + items.dogs += one + upload(); +} +function mxct(){ + one = Math.floor(items.dogs / 10) + + items.dogs -= one * 10 + items.cats += one + upload(); +} +function mxfx(){ + one = Math.floor(items.dogs/15) + + items.dogs -= one*15 + items.foxes += one + upload(); +} +/* +function lemmvalue(){ + mdog = items.cats/20; + maxdog = Math.floor(mdog); + floordog = maxdog*20 + items.cats -= floordog + items.lemons += maxdog + upload(); +}*/ +function mxlm(){ + let RanLemCost = Math.floor(Math.random()*100); + one = Math.floor(items.cats/RanLemCost) + + items.cats -= one*RanLemCost + items.lemons += one + upload(); +} +function mxlt(){ + one = Math.floor(items.lemons/5) + + items.lemons -= one*5 + items.lt3 += one + upload() +} +function mxwh(){ + one = Math.floor(items.wolfs/2) + + items.wolfs -= one*2 + items.whales += one + upload() +} +let one,two,val + +// Max Wolf + +function mxwl(){ + one = Math.floor(items.foxes/5) + two = Math.floor(items.dogs/6) + + if(one<=two){ + items.foxes -= one*5 + items.dogs -= one*6 + items.wolfs += one + }else if(one>=two){ + items.foxes -= two*5 + items.dogs -= two*6 + items.wolfs += two + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} + +function mxhm(){ + one = Math.floor(items.wolfs/1) + two = Math.floor(items.cats/2) + + if(one<=two){ + items.wolfs -= one*1 + items.cats -= one*2 + items.hamsters += one + }else if(one>=two){ + items.wolfs -= two*1 + items.cats -= two*2 + items.hamsters += two + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} +function mxcp(){ + one = Math.floor(items.whales/1) + two = Math.floor(items.cats/4) + + if(one<=two){ + items.whales -= one*1 + items.cats -= one*4 + items.capybaras += one + }else if(one>=two){ + items.whales -= two*1 + items.cats -= two*4 + items.capybaras += two + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} +function mxpl(){ + one = Math.floor(items.capybaras/1) + two = Math.floor(items.wolfs/1) + + if(one<=two){ + items.capybaras -= one*1 + items.wolfs -= one*1 + items.platapuses += one + }else if(one>=two){ + items.capybaras -= two*1 + items.wolfs -= two*1 + items.platapuses += two + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} +function mxpr(){ + one = Math.floor(items.platapuses/1) + two = Math.floor(items.whales/1) + + if(one<=two){ + items.platapuses -= one*1 + items.whales -= one*1 + items.porcupines += one + }else if(one>=two){ + items.platapuses -= two*1 + items.whales -= two*1 + items.porcupines += two + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} +function mxhi(){ + one = Math.floor(items.porcupines/1) + two = Math.floor(items.hamsters/2) + + if(one<=two){ + items.porcupines -= one*1 + items.hamsters -= one*2 + items.hippos += one + }else if(one>=two){ + items.porcupines -= two*1 + items.hamsters -= two*2 + items.hippos += two + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} +function mxsn(){ + one = Math.floor(items.whales/2); + two = Math.floor(items.hamsters/4); + + if(one<=two){ + items.whales -= one*2; + items.hamsters -= one*4; + items.snakes += one; + }else if(one>=two){ + items.whales -= two*2; + items.hamsters -= two*4; + items.snakes += two; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxch(){ + one = Math.floor(items.snakes/2); + two = Math.floor(items.platapuses/2); + + if(one<=two){ + items.snakes -= one*2; + items.platapuses -= one*2; + items.cheetahs += one; + }else if(one>=two){ + items.snakes -= two*2; + items.platapuses -= two*2; + items.cheetahs += two; + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} +function mxpy(){ + one = Math.floor(items.cheetahs/1); + two = Math.floor(items.hippos/5); + + if(one<=two){ + items.cheetahs -= one*1; + items.hippos -= one*5; + items.pythons += one; + }else if(one>=two){ + items.cheetahs -= two*1; + items.hippos -= two*5; + items.pythons += two; + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} +function mxgi(){ + one = Math.floor(items.pythons/1); + two = Math.floor(items.foxes/20); + + if(one<=two){ + items.pythons -= one*1; + items.foxes -= one*20; + items.girrafes += one; + }else if(one>=two){ + items.pythons -= two*1; + items.foxes -= two*20; + items.girrafes += two; + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} +function mxot(){ + one = Math.floor(items.girrafes/1); + two = Math.floor(items.capybaras/2); + + if(one<=two){ + items.girrafes -= one*1; + items.capybaras -= one*2; + items.otters += one; + }else if(one>=two){ + items.girrafes -= two*1; + items.capybaras -= two*2; + items.otters += two; + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} +function mxme(){ + one = Math.floor(items.otters/1); + two = Math.floor(items.whales/3); + + if(one<=two){ + items.otters -= one*1; + items.whales -= one*3; + items.meerkat += one; + }else if(one>=two){ + items.otters -= two*1; + items.whales -= two*3; + items.meerkat += two; + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} +function mxra(){ + one = Math.floor(items.meerkat/1); + two = Math.floor(items.porcupines/7); + + if(one<=two){ + items.meerkat -= one*1; + items.porcupines -= one*7; + items.raccoon += one; + }else if(one>=two){ + items.meerkat -= two*1; + items.porcupines -= two*7; + items.raccoon += two; + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} +function mxow(){ + one = Math.floor(items.raccoon/1); + two = Math.floor(items.snakes/1); + + if(one<=two){ + items.raccoon -= one*1; + items.snakes -= one*1; + items.owl += one; + }else if(one>=two){ + items.raccoon -= two*1; + items.snakes -= two*1; + items.owl += two; + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} + +// Dark || Light Mode +function SLDmodes(){ + if(items.mode == 0){ + items.mode = 1; + }else if(items.mode == 1){ + items.mode = 0; + } + LDmodes() + console.log(items.mode); +} +function LDmodes(){ + let Bimts = document.querySelectorAll('.item'); + if((items.mode||0) == 0){// Light Mode + body.style.background = '#ddd'; + body.style.color = '#000'; + jonathan.style.background = 'linear-gradient(#11ABFF, #ccccccab)'; + Bimts.forEach((e) => { + e.style.background = '#ffefd5'; + }); + logclick.style.background = '#ffefd5'; + logclick.style.border = '5px dashed #00f'; + logclick.style.filter = 'drop-shadow(10px 8px 6px #222)'; + }else if(items.mode == 1){// Dark Mode + body.style.background = '#333'; + body.style.color = '#fff'; + jonathan.style.background = 'linear-gradient(#11ABFF, #333333ab)'; + Bimts.forEach((e) => { + e.style.background = '#666055'; + }); + logclick.style.background = '#666055'; + logclick.style.border = '5px dashed #006'; + logclick.style.filter = 'drop-shadow(10px 8px 6px #222)'; + } +} + + +// Function to convert a number into a more readable format +function fornum(num) { + // Define the suffixes for thousands and millions + const suffixes = ['', ' k', ' mil', ' mld', ' bil', ' bld', ' tri', ' tld', ' qua', ' qld', ' kvi', ' kld', ' sex', ' sld', ' sep', ' spld', ' okt', ' okld', ' non', ' nld', ' dec', ' dld']; + + // Divide the number by 1000 until it is less than 1000 + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + + // Round the number to one decimal place + num = Math.floor(num * 10) / 10; + + // Concatenate the number with the appropriate suffix + return num + suffixes[i]; +} + + + + + + +/* SHOPPING WITH ONLY CLICKS */ + +// cat +function buyCcat(){ + if(items.clicks >= 1200){ + items.cats++; + items.clicks -= 1200; + upload(); + } +} +function mxCct(){ + one = Math.floor(items.clicks / 1200) + + items.clicks -= one * 1200 + items.cats += one + upload(); +} + +// fox +function buyCfox(){ + if(items.clicks >= 1800){ + items.foxes++; + items.clicks -= 1800; + upload(); + } +} +function mxCfx(){ + one = Math.floor(items.clicks / 1800) + + items.clicks -= one * 1800 + items.foxes += one + upload(); +} + +// wolf +function buyCwol(){ + if(items.clicks >= 10000){ + items.wolfs++; + items.clicks -= 10000; + upload(); + } +} +function mxCwl(){ + one = Math.floor(items.clicks / 10000) + + items.clicks -= one * 10000 + items.wolfs += one + upload(); +} + +// hamster +function buyCham(){ + if(items.clicks >= 13000){ + items.hamsters++; + items.clicks -= 13000; + upload(); + } +} +function mxChm(){ + one = Math.floor(items.clicks / 13000) + + items.clicks -= one * 13000 + items.hamsters += one + upload(); +} + +// whale +function buyCwha(){ + if(items.clicks >= 22000){ + items.whales++; + items.clicks -= 22000; + upload(); + } +} +function mxCwh(){ + one = Math.floor(items.clicks / 22000) + + items.clicks -= one * 22000 + items.whales += one + upload(); +} + +// cappybarra +function buyCcap(){ + if(items.clicks >= 28000){ + items.capybaras++; + items.clicks -= 28000; + upload(); + } +} +function mxCcp(){ + one = Math.floor(items.clicks / 28000) + + items.clicks -= one * 28000 + items.capybaras += one + upload(); +} + +// platypussy +function buyCpla(){ + if(items.clicks >= 42000){ + items.platapuses++; + items.clicks -= 42000; + upload(); + } +} +function mxCpl(){ + one = Math.floor(items.clicks / 42000) + + items.clicks -= one * 42000 + items.platapuses += one + upload(); +} + +// porcupine +function buyCpor(){ + if(items.clicks >= 70000){ + items.porcupines++; + items.clicks -= 70000; + upload(); + } +} +function mxCpr(){ + one = Math.floor(items.clicks / 70000) + + items.clicks -= one * 70000 + items.porcupines += one + upload(); +} + +// hippopopopotamusss +function buyChip(){ + if(items.clicks >= 100000){ + items.hippos++; + items.clicks -= 100000; + upload(); + } +} +function mxChi(){ + one = Math.floor(items.clicks / 100000) + + items.clicks -= one * 100000 + items.hippos += one + upload(); +} + +// Snuk +function buyCsna(){ + if(items.clicks >= 150000){ + items.snakes++; + items.clicks -= 150000; + upload(); + } +} +function mxCsn(){ + one = Math.floor(items.clicks / 150000) + + items.clicks -= one * 150000 + items.snakes += one + upload(); +} + +// Chetuch +function buyCche(){ + if(items.clicks >= 350000){ + items.cheetahs++; + items.clicks -= 350000; + upload(); + } +} +function mxCch(){ + one = Math.floor(items.clicks / 350000) + + items.clicks -= one * 350000 + items.cheetahs += one + upload(); +} + +// .py +function buyCpyt(){ + if(items.clicks >= 820000){ + items.pythons++; + items.clicks -= 820000; + upload(); + } +} +function mxCpy(){ + one = Math.floor(items.clicks / 820000) + + items.clicks -= one * 820000 + items.pythons += one + upload(); +} + +// Gurllaf +function buyCgir(){ + if(items.clicks >= 880000){ + items.girrafes++; + items.clicks -= 880000; + upload(); + } +} +function mxCgi(){ + one = Math.floor(items.clicks / 880000) + + items.clicks -= one * 880000 + items.girrafes += one + upload(); +} + +// Other space +function buyCoth(){ + if(items.clicks >= 950000){ + items.otters++; + items.clicks -= 950000; + upload(); + } +} +function mxCot(){ + one = Math.floor(items.clicks / 950000) + + items.clicks -= one * 950000 + items.otters += one + upload(); +} + +// Mii Cat +function buyCmee(){ + if(items.clicks >= 1000000){ + items.meerkat++; + items.clicks -= 1000000; + upload(); + } +} +function mxCme(){ + one = Math.floor(items.clicks / 1000000) + + items.clicks -= one * 1000000 + items.meerkat += one + upload(); +} + +// C rac +function buyCrac(){ + if(items.clicks >= 1500000){ + items.raccoon++; + items.clicks -= 1500000; + upload(); + } +} +function mxCra(){ + one = Math.floor(items.clicks / 1500000) + + items.clicks -= one * 1500000 + items.raccoon += one + upload(); +} + +// O +function buyCowl(){ + if(items.clicks >= 1800000){ + items.owl++; + items.clicks -= 1800000; + upload(); + } +} +function mxCow(){ + one = Math.floor(items.clicks / 1800000) + + items.clicks -= one * 1800000 + items.owl += one + upload(); +} diff --git a/Version - 40/js/upgr.js b/Version - 40/js/upgr.js new file mode 100644 index 0000000..32229e3 --- /dev/null +++ b/Version - 40/js/upgr.js @@ -0,0 +1,299 @@ +let items; +let cs; + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + if(items.token >= 1000*items.pres){ + prog.style.display = 'none'; + presBT1.style.display = 'none'; + presBT10.style.display = 'none'; + presBTmax.style.display = 'none'; + progva.style.display = 'none'; + ItsTime.style.display = 'block'; + } + +} + +function load(){ + if (localStorage.getItem('items')!=null){ + items = JSON.parse(localStorage.getItem('items')); + LDmodes() + prog.max = 1000*items.pres; + + } + if(items.lang == 0){ // CZ + document.documentElement.setAttribute('lang', 'cz'); + if((items.mode||0) == 0){ + modes.innerHTML = 'Změn do Temného módu'; + }else if((items.mode||0) == 1){ + modes.innerHTML = 'Změn do Světlého módu'; + } + dislm.innerHTML = `Právě máš ${fornum(items.lemons)} citrónů!`; + disMcmake.innerHTML = `Zatím ti každý klik dává ${fornum((items.Mclick||1)*items.pres)} kliků!`; + Mc1.innerHTML = `Kup si vylepšení na kliky za
${fornum(20+(items.Mclick||1)*(items.Mclick||1))} citrónů`; + progva.innerHTML = `Zatím máš jen ${items.token} lístků z ${1000*items.pres}!` + + + + + presBT1.innerHTML = `1 Lístek za
pár Citrónů` + presBT10.innerHTML = `10 Lístků za
10 párů Citrónů` + presBTmax.innerHTML = `Max lístků za
několik Citrónů` + ItsTime.innerHTML = `Pojďme jít!`; + if(items.pres > 1){ + got.innerHTML = `Právě máš ${items.pres-1} Prestiž bodů` + } + + + }else if(items.lang == 1){ // En + document.documentElement.setAttribute('lang', 'en'); + if((items.mode||0) == 0){ + modes.innerHTML = 'Switch into Dark Mode'; + }else if((items.mode||0) == 1){ + modes.innerHTML = 'Switch into Light Mode'; + } + dislm.innerHTML = `You've got ${fornum(items.lemons)} lemons!`; + disMcmake.innerHTML = `So far every click gives you ${fornum((items.Mclick||1)*items.pres)} clicks!`; + Mc1.innerHTML = `Buy an upgrade for your clicks
for ${fornum(20+(items.Mclick||1)*(items.Mclick||1))} lemons`; + progva.innerHTML = `So far you got ${items.token} token out of ${1000*items.pres}!` + + + + + presBT1.innerHTML = `1 Ticket for
some Lemons` + presBT10.innerHTML = `10 Tickets for
some more Lemons` + presBTmax.innerHTML = `Buy all Ticket for
some Lemons` + ItsTime.innerHTML = `Let's do this!`; + if(items.pres > 1){ + got.innerHTML = `You've got ${items.pres-1} Prestige points` + } + } + + +} + +// Upload +function upload(){update();load();} + +function cash(){ + setTimeout (function money(){ + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000; + items.clicks += cs*items.pres; + update();cash(); + },1000) +} + +function fornum(num) { + // Define the suffixes for thousands and millions + const suffixes = ['', ' k', ' mil', ' mld', ' bil', ' bld', ' tri', ' tld', ' qua', ' qld', ' kvi', ' kld', ' sex', ' sld', ' sep', ' spld', ' okt', ' okld', ' non', ' nld', ' dec', ' dld']; + + // Divide the number by 1000 until it is less than 1000 + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + num = Math.floor(num * 10) / 10; + return num + suffixes[i]; +} + +window.onload = function(){ + load();cash();progress(); + if((items.token != 0)&&(items.token < 1)){ + items.token = 0; + } +} + +/* U P G R A D E S */ + +function buyMcc(){ + if(items.lemons>=20+(items.Mclick||1)*(items.Mclick||1)){ + items.lemons -= 20+(items.Mclick||1)*(items.Mclick||1); + if((items.Mclick != 1)&&(items.Mclick < 2)){ + items.Mclick = 1; + } + items.Mclick += 4; + console.log(items.Mclick); + upload(); + } +} + +function tblb(){ // Token Basic Lemon Buy + if(items.lemons >= 2000){ + items.lemons -= 2000; + items.token++; + console.log(items.token); + } + progress(); + upload(); +} + +function tmlm(){ // Token More Lemon Buy + if(items.lemons >= 20000){ + items.lemons -= 20000; + items.token += 10; + console.log(items.token); + } + progress(); + upload(); +} + +function talb(){ // Token All Lemon Buy + let C = ((1000*items.pres) - items.token) + for(let i = 0; i= 2000){ + items.lemons -= 2000; + items.token++; + console.log(items.token); + } + progress(); + upload(); + } +} + +function progress(){ + prog.value = `${items.token}` + prog.title = `${items.token}/${1000*items.pres}` + upload(); +} + + + + +function TheThing(){ + if(items.lang == 0 && items.token >= (1000*items.pres) && confirm(`Za Prestiže budeš získávat více kliků, ale tvůj postup se vynuluje (až na Prestiž body). Chceš se 'Znovuzrodit'?`)){ // CZ + alert(`Získal jsi 0.5 prestiže bodů!`); + items.pres += 0.5; + upload(); + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + hamsters:0, + whales:0, + capybaras:0, + platapuses:0, + porcupines:0, + hippos:0, + snakes:0, + cheetahs:0, + pythons:0, + girrafes:0, + lions:0, + otters:0, + meerkat:0, + raccoon:0, + owl:0, + badger:0, + squirrel:0, + chameleon:0, + chicken:0, + wombat:0, + panther:0, + coyote:0, + frog:0, + bear:0, + pig:0, + + + + lemons:0, + lt3:0, + lang:items.lang, + pres:items.pres, + mode:items.mode, + Mclick:1, + token:0, + } + location.href = './index.html'; + + + + }else if(items.lang == 1 && items.token >= (1000*items.pres) && confirm(`For Prestige You'll earn more clicks, but your progress resets (except prestige points). Do you wish to 'Rebirth'?`)){ // En + alert(`You've earn 0.5 prestige points!`); + items.pres += 0.5; + upload(); + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + hamsters:0, + whales:0, + capybaras:0, + platapuses:0, + porcupines:0, + hippos:0, + snakes:0, + cheetahs:0, + pythons:0, + girrafes:0, + lions:0, + otters:0, + meerkat:0, + raccoon:0, + owl:0, + badger:0, + squirrel:0, + chameleon:0, + chicken:0, + wombat:0, + panther:0, + coyote:0, + frog:0, + bear:0, + pig:0, + + + + lemons:0, + lt3:0, + lang:items.lang, + pres:items.pres, + mode:items.mode, + Mclick:1, + token:0, + } + location.href = './index.html'; + } + } + + +// Dark || Light Mode +function SLDmodes(){ + if(items.mode == 0){ + items.mode = 1; + }else if(items.mode == 1){ + items.mode = 0; + } + LDmodes(); + upload(); + console.log(items.mode); +} +function LDmodes(){ + let Bimts = document.querySelectorAll('.item'); + if((items.mode||0) == 0){// Light Mode + body.style.background = '#ddd'; + body.style.color = '#000'; + jonathan.style.background = 'linear-gradient(#11ABFF, #ccccccab)'; + Bimts.forEach((e) => { + e.style.background = '#ffefd5'; + }); + loglm.style.background = '#ffefd5'; + loglm.style.filter = 'drop-shadow(10px 8px 6px #222)'; + }else if(items.mode == 1){// Dark Mode + body.style.background = '#333'; + body.style.color = '#fff'; + jonathan.style.background = 'linear-gradient(#11ABFF, #333333ab)'; + Bimts.forEach((e) => { + e.style.background = '#666055'; + }); + loglm.style.background = '#666055'; // effd5f66 + loglm.style.filter = 'drop-shadow(10px 8px 6px #222)'; + } +} \ No newline at end of file diff --git a/Version - 40/shop.html b/Version - 40/shop.html new file mode 100644 index 0000000..39837f7 --- /dev/null +++ b/Version - 40/shop.html @@ -0,0 +1,512 @@ + + + + + + + + + + + BRB - Shop + + + + + + + + + + +
+
+ +

+
+
+ + + + +
+
+ +
+ +
+ + +
+ +

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ +
+ + + +
+ +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+
+ +
+ + + + + + + + + \ No newline at end of file diff --git a/Version - 40/upgrade.html b/Version - 40/upgrade.html new file mode 100644 index 0000000..fd02c22 --- /dev/null +++ b/Version - 40/upgrade.html @@ -0,0 +1,100 @@ + + + + + + + + + + BRB - Upgrades + + + + + + + +
+ +
+
+ +

+
+
+ +
+
+ +
+

BRB

+ +
+ +
+ +

+
+ + +
+

Prestige

+ +
+ +
+
+ + + +
+ +

+

+
+
+ + + + + + + \ No newline at end of file diff --git a/Version - 41/CNAME b/Version - 41/CNAME new file mode 100644 index 0000000..31e4b89 --- /dev/null +++ b/Version - 41/CNAME @@ -0,0 +1 @@ +www.mreidam-brb.com \ No newline at end of file diff --git a/Version - 41/add.txt b/Version - 41/add.txt new file mode 100644 index 0000000..fc19a2d --- /dev/null +++ b/Version - 41/add.txt @@ -0,0 +1,80 @@ +click.offline.make +max 5 hour + + name gen com.cost cost +1 dog = 1 clicks/s = 100 | 100 clicks +1 cat = 12 c/s = 1 000 | 10 dogs +1 fox = 18 c/s = 1 500 | 15 dogs +1 wolf = 100 c/s = 8 100 | 5 foxes + 6 dogs +1 hamster = 130 c/s = 10 100 | 1 wolf + 2 cats +1 whale = 220 c/s = 16 200 | 2 wolf +1 capybara = 280 c/s = 20 200 | 1 whale + 4 cats +1 platypus = 400 c/s = 28 300 | 1 cappy + 1 wolf +1 porcupine = 650 c/s = 44 500 | 1 pussy + 1 whale (Dikobraz) +1 hippo = 950 c/s = 64 700 | 1 porcupine + 2 hamsters +1 snake = 1 000 c/s = 72 800 | 2 whales + 4 hamsters +1 cheetah = 3 000 c/s = 202 200 | 2 snakes + 2 pussy +1 python = 7 800 c/s = 525 700 | 1 cheetah + 5 hippo +1 giraffe = 8 400 c/s = 555 700 | 1 python + 20 foxes +1 otter = 9 000 c/s = 596 100 | 1 giraffe + 2 cappy +1 meerkat = 9 800 c/s = 644 700 | 1 otter + 3 whale +1 raccoon = 14 500 c/s = 956 200 | 1 meerkat + 7 porcupine +1 owl = 16 000 c/s = 1 029 000 | 1 raccoon + 1 snuk +1 badger = +1 squirrel = +1 chameleon = +1 chicken = +1 wombat = +1 panther = +1 coyote = +1 frog = +1 bear = +1 pig = + +1 citronovník = 30 lemons/h + + + +36,7% k 10 citronum že vyroste citronovník + +compile to .exe and add it to the play store + +add complete history of clicks, dogs, cats, lemons, ... + + + + + + Upgrades! + +Button +Green button - 2.5 clicks per clicks +Yellow button - 4 clicks/click + random Chance for a lemon +Purple button - 6 c/c +Cyan button - 10 c/c + random chance for ______ + + Dog +R collar - 1.5 cs +G collar - 2 cs +Y collar - 5 cs +P collar - 8.2 cs +C collar - 15 cs + + Cat +R collar - 150 cs +G collar - 200 cs +Y collar - 500 cs +P collar - 750 cs +C collar - 1 000 cs + + Fox +R fur - 225 cs +G fur - 300 cs +Y fur - 666 cs +P fur - 1 125 cs +C fur - 1 500 cs + +lemon + +Help - CZ +Help - En \ No newline at end of file diff --git a/Version - 41/changelog b/Version - 41/changelog new file mode 100644 index 0000000..dfd8d34 --- /dev/null +++ b/Version - 41/changelog @@ -0,0 +1,134 @@ + v41 + Added: Settings + Into every menu transportation only to BRB, Shop, Upgrades, Settings + Prettier design of the colored 'topbar' aka Jonathan + + Fixed: nothing (I think) + + Removed: Things from BRB that are in Settings + v40.5.3 + Added: https://www.mreidam-brb.com/fun + + v40.5.2 + Added: Metatags for BRB + + Fixed: Buying Single Owls causing deleting pythons not snakes + in the "cool" menu + flashbang (loading window were always white at the start (now great with my eys)) + text color in main brb + text shadow! + v40.5 + Added: Edited scrollbar + + Fixed: Shop buttons for Czech + v40 + Added: Otters + Meerkats + Raccoons + Owls + Prestige! + !!!DARK_MODE!!! + Upgrades: - More Click per Click + Links to videos for help() + better clicks counter in BRB + NEW Lemons buying system (pain for user) from 1 (maybe 0) to 99 + new bigger numbers (sextillion, quintillion, ext...) + cursor: pointer; for buttons + + Removed: Lang Missing button + PNG files for some animals (now using SVG!) + + Fixed: Upgrades section + My mentality + For new thing adding || + + Note: NOW Promote in Wallpaper engine AND Instagram + Add Complete history page + Sounds? + + + + v39 + Added: Pythons + Giraffes + New Nav. bar for Shop + New Navigation bar for BRB + Setting in the nav bar (mostly in BRB) + + Removed: From BRB: + Go to Shop btn + Flag for lang + Reset + Help + From Shop: + Go to BRB + Go to Shop + + Fixed: Clicks number in Shop + + Note: please add Dark mode and into Wall. eng + + v38 + Added: Snakes + Cheetas + new UI design for Shop Goer buttons and click displayer + new UI for flags + !!FIXED_BUTTONS_AND_CLICKS_IN_SHOP + Animated clicking for click displayer + + Removed: Nothing + + Fixed: Nothing + + Note: FIRST VERSION ON DA NEEEW DOMAIN + + onto wallpaper engine :D // no + + v37 + Added: Better Language + Porcupines + Hippos + Buy Option - Clicks for E V E R Y T H I N G* + *exept Lemonds + L. Trees (Upgrades) + into local.storage almost 20 new animals (I HOPE) + Hidden Prestige multiplier (¯\_(ツ)_/¯) + 'Coming soon...' to Upgrade menu + + Removed: Nothing + + Fixed: !!!!BRAND_NEW_SHOP_USER_INteRFACE!!!! + Shop I fixed shop (hapines) + - Shop.pain + -wanna cry + + Note: Make the game harder (To eazy) + Main.js - 274 lines + Shop.js - 631 lines + + + v36 + Added: Better Czech version + Buy Option - Clicks for Cats + + Fixed: BRB now still + + v35 + Added: Platapuses + Better Ui + Now Czech Version + + Fixed: Items not loading propebly + + + v34 + Added: New Button to Upgrades menu + Shop UI + + Fixed: Finally fixed NaN, Undefined, Null error + + v33 + Added: New UI for shop + + v32 /* 18.4. 2023 */ + Added: max value shop for wolfs, whales, hamsters, capybaras + icons for said animals + new interface for BRB clicking + + Removed: scrolling in BRB clicking + + Fixed: button to get to the shop was updated + + v31 + undefined and NaN fix for adding new animals \ No newline at end of file diff --git a/Version - 41/css/brb.css b/Version - 41/css/brb.css new file mode 100644 index 0000000..6b0c72e --- /dev/null +++ b/Version - 41/css/brb.css @@ -0,0 +1,149 @@ +@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap'); +body{ + user-select: none; + padding: 0; + margin: 0; + background-color: #333; + box-sizing: border-box; +} +#tycoon{ + position: absolute; + width: 100%; + height: 200px; + background: #333; + font-size: 15pt; +} +#logclick{ + position: absolute; + width: 100%; + top: 60px; + left: 50%; + text-align: center; + transform: translate(-50%,0); + font-size: 17.5pt; +} +@media only screen and (max-width: 700px){ + #logclick{font-size: 15pt;} +} +#disclick{ + position: absolute; + width: 100%; +} + +/*BRB*/ +#unpressed{ + position: absolute; + width: 300px; + height: 300px; + border-radius: 150px; +} +#pressed{ + position: absolute; + width: 300px; + height: 300px; + visibility: hidden; + border-radius: 150px; +} +#button{ + user-select: none; + position: absolute; + top: 50%; + left: 50%; + margin: -150px 0 0 -150px; + border-radius: 150px; + cursor: pointer; +} +/* Other BTNS */ +.Yt{ + position: absolute; + bottom: 0px; + margin: 0.5rem; + left: 0; +} + +.menu-container{ + position: absolute; + top: 50px; + left: 50%; + transform: translate(-50%, -50%); + width: 300px; + display: flex; + align-items: center; + justify-content: center; + font-family: 'Poppins'; +} +.button{ + position: relative; + background: #1b1b1b; + color: #fff; + font-size: 20px; + padding: 8px 20px; + width: 150px;/* 100% */ + line-height: 30px; + display: flex; + align-items: center; + justify-content: space-between; + border-radius: 25px; + cursor: pointer; + transition: width .4s; +} +.button.expand{ + width: 100%; +} +.fas.expand:before{ + content: '\f00d'; +} +ul{ + list-style: none; + position: absolute; + top: 65px; + display: block; + background: #1b1b1b; + width: 100%; + text-align: center; + border-radius: 5px; + display: none; + box-shadow: 0 3px 6px rgba(0,0,0,.3); + padding-inline-start: 0px; +} +ul:before{ + position: absolute; + content: ''; + width: 20px; + height: 20px; + background: #1b1b1b; + top: -10px; + right: 15px; + transform: rotate(45deg); + z-index: -1; +} +ul li{ + line-height: 35px; + padding: 8px 20px; + cursor: pointer; + border-bottom: 1px solid rgba(255,255,255,.1); +} +ul li:hover:first-child{ + border-radius: 5px 5px 0 0; +} +ul li:hover:last-child{ + border-radius: 0 0 5px 5px; +} +ul li:hover{ + box-shadow: inset 0 0 5px #33ff33, + inset 0 0 10px #66ff66; +} +ul li:last-child{ + border-bottom: none; +} +ul li a{ + display: block; + width: 100%; + height: 100%; + color: #fff; + font-size: 18px; + text-decoration: none; +} +ul li:hover a{ + color: #44dd44; +} \ No newline at end of file diff --git a/Version - 41/css/sett.css b/Version - 41/css/sett.css new file mode 100644 index 0000000..5801d04 --- /dev/null +++ b/Version - 41/css/sett.css @@ -0,0 +1,152 @@ +@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap'); +*{ + margin: 0; + padding: 0; + box-sizing: border-box; + text-align: center; +} +body{ + user-select: none; + background-color: #333; +} +#jonathan{ + position: fixed; + top: 0%; + width: 100%; + height: 200px; + background: radial-gradient(125% 100% at 50% 0%,#fa552c 20%,transparent 70%); +} +.main{ + display: flex; + flex-wrap: wrap; + justify-content: center; +} +.item{ + position: relative; + /* border: none; */ + top: 5px; + margin: 2rem 3vw 2rem 3vw; + padding: 1rem 2rem; + border-radius: 6.9px; + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; + width: 350px; + height: 100px; + filter: drop-shadow(0px 20px 14px #444); +} +button{ + width: 32px; + height: 32px; + border-radius: 0.5rem; + border: none; + filter: drop-shadow(10px 10px 14px #444); +} + + + + + + + +/* Menu */ + +.menu-container{ + position: fixed; + top: 50px; + left: 50%; + transform: translate(-50%, -50%); + width: 300px; + display: flex; + align-items: center; + justify-content: center; + font-family: 'Poppins'; + z-index: 500; +} +.button{ + position: relative; + background: #1b1b1b; + color: #fff; + font-size: 20px; + padding: 8px 20px; + width: 150px;/* 100% */ + line-height: 30px; + display: flex; + align-items: center; + justify-content: space-between; + border-radius: 25px; + cursor: pointer; + transition: width .4s; + /* By MrEidam */ +} +.button.expand{ + width: 100%; +} +.fas.expand:before{ + content: '\f00d'; +} +ul{ + list-style: none; + position: absolute; + top: 65px; + display: block; + background: #1b1b1b; + width: 100%; + text-align: center; + border-radius: 5px; + display: none; + box-shadow: 0 3px 6px rgba(0,0,0,.3); + padding-inline-start: 0px; +} +ul:before{ + position: absolute; + content: ''; + width: 20px; + height: 20px; + background: #1b1b1b; + top: -10px; + right: 15px; + transform: rotate(45deg); + z-index: -1; +} +ul li{ + line-height: 35px; + padding: 8px 20px; + cursor: pointer; + border-bottom: 1px solid rgba(255,255,255,.1); +} +ul li:hover:first-child{ + border-radius: 5px 5px 0 0; +} +ul li:hover:last-child{ + border-radius: 0 0 5px 5px; +} +ul li:hover{ + box-shadow: inset 0 0 5px #33ff33, + inset 0 0 10px #66ff66; +} +ul li:last-child{ + border-bottom: none; +} +ul li a{ + display: block; + width: 100%; + height: 100%; + /* By MrEidam */ + color: #fff; + font-size: 18px; + text-decoration: none; +} +ul li:hover a{ + color: #44dd44; +} + +::-webkit-scrollbar{ + background: transparent; + width: 5px; +} +::-webkit-scrollbar-thumb{ + background: linear-gradient(transparent, #00ec00); + border-radius: 0 0 0.5rem 0.5rem; +} \ No newline at end of file diff --git a/Version - 41/css/shop.css b/Version - 41/css/shop.css new file mode 100644 index 0000000..8ba3bc0 --- /dev/null +++ b/Version - 41/css/shop.css @@ -0,0 +1,251 @@ +@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap'); +*{ + /* By MrEidam */ + margin: 0; + padding: 0; + user-select: none; + box-sizing: border-box; + scroll-behavior: smooth; +} + +body { + font-size: 15pt; + background-color: #333; +} + +/* Clisks */ +#jonathan{ + position: fixed; + z-index: 1; + display: flex; + justify-content: center; + align-items: center; + height: 200px; + width: 100%; + margin: 0; + top: 0; + background: radial-gradient(125% 100% at 50% 0%,#11ABFF 20%,transparent 70%); +/* By MrEidam */ +} +#logclick{ + position: relative; + display: flex; + align-items: center; + justify-content: center; + gap: 5ch; + margin: 0 5vw 0 5vw; + padding: 1rem; + border-radius: 1rem; + z-index: 69; + width: auto; + top: 30px; + height: 85px; + filter: drop-shadow(10px 8px 6px #333); +} + +#imgcli{ + width: 50px; + height: 50px; + margin: 0.1rem; + width: 100px; + aspect-ratio: 1/1; + margin: 0.5rem; + object-fit: contain; + pointer-events: none; +} + +.backtop{ + height: 230px; + max-width: auto; + margin: 0 1.5vw 0 1.5vw; + border-radius: 0 0 90px 90px; + background: linear-gradient(#11ABFF, #ccccccab); +} + +.main{ + display: flex; + flex-wrap: wrap; + justify-content: center; +} + + +/* By MrEidam */ +.item{ + border: none; + top: 5px; + margin: 2rem 3vw 2rem 3vw; + padding: 1rem; + border-radius: 6.9px; + display: flex; + flex-direction: column; + justify-content: space-evenly; + align-items: center; + width: 500px; + height: 340px; + filter: drop-shadow(0px 20px 14px #444); +} + +.item img{ + width: 100px; + aspect-ratio: 1/1; + margin: 0.5rem; + object-fit: contain; + filter: drop-shadow(10px 8px 6px #333); + pointer-events: none +} +.buttons{ + display: flex; + justify-content: space-around; +} +/* By MrEidam */ +.buttons button{ + background-color: var(--Bcolor); + border-radius: 8px; + margin: 1rem; +} + +.buyone{ + width: 200px; + height: 50px; + cursor: pointer; +} + +.buymax{ + width: 50px; + height: 50px; + cursor: pointer; +} + +/* By MrEidam */ + +.clickbtn{ + display: flex; + justify-content: space-around; +} +.clickbtn button{ + background-color: var(--Bcolor); + border-radius: 8px; + margin: 0 1rem 0.5rem 1rem; +} + +.row{ + display: flex; + flex-direction: row; + justify-content: center; +} +button{ + border: none; + filter: drop-shadow(8px 6px 4px #555); +} +@media only screen and (max-width: 555px){ + .row{ + flex-direction: column; + justify-content: center; + } + .item{ + width: auto; + margin: 2rem 10vw 2rem 10vw; + } +} + + +/* Menu */ + +.menu-container{ + position: fixed; + top: 50px; + left: 50%; + transform: translate(-50%, -50%); + width: 300px; + display: flex; + align-items: center; + justify-content: center; + font-family: 'Poppins'; + z-index: 500; +} +.button{ + position: relative; + background: #1b1b1b; + color: #fff; + font-size: 20px; + padding: 8px 20px; + width: 150px;/* 100% */ + line-height: 30px; + display: flex; + align-items: center; + justify-content: space-between; + border-radius: 25px; + cursor: pointer; + transition: width .4s; +/* By MrEidam */ +} +.button.expand{ + width: 100%; +} +.fas.expand:before{ + content: '\f00d'; +} +ul{ + list-style: none; + position: absolute; + top: 65px; + display: block; + background: #1b1b1b; + width: 100%; + text-align: center; + border-radius: 5px; + display: none; + box-shadow: 0 3px 6px rgba(0,0,0,.3); + padding-inline-start: 0px; +} +ul:before{ + position: absolute; + content: ''; + width: 20px; + height: 20px; + background: #1b1b1b; + top: -10px; + right: 15px; + transform: rotate(45deg); + z-index: -1; +} +ul li{ + line-height: 35px; + padding: 8px 20px; + cursor: pointer; + border-bottom: 1px solid rgba(255,255,255,.1); +} +ul li:hover:first-child{ + border-radius: 5px 5px 0 0; +} +ul li:hover:last-child{ + border-radius: 0 0 5px 5px; +} +ul li:hover{ + box-shadow: inset 0 0 5px #33ff33, + inset 0 0 10px #66ff66; +} +ul li:last-child{ + border-bottom: none; +} +ul li a{ + display: block; + width: 100%; + height: 100%; +/* By MrEidam */ + color: #fff; + font-size: 18px; + text-decoration: none; +} +ul li:hover a{ + color: #44dd44; +} + +::-webkit-scrollbar{ + background: transparent; + width: 5px; +} +::-webkit-scrollbar-thumb{ + background: linear-gradient(transparent, #00ec00); + border-radius: 0 0 0.5rem 0.5rem; +} \ No newline at end of file diff --git a/Version - 41/css/upgr.css b/Version - 41/css/upgr.css new file mode 100644 index 0000000..70107ca --- /dev/null +++ b/Version - 41/css/upgr.css @@ -0,0 +1,282 @@ +@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap'); +*{ + margin: 0; + padding: 0; + user-select: none; + box-sizing: border-box; +} + +body { + font-size: 15pt; + background-color: #333; +} +#jonathan{ + position: fixed; + z-index: 1; + display: flex; + justify-content: center; + align-items: center; + height: 200px; + width: 100%; + margin: 0; + top: 0; + background: radial-gradient(125% 100% at 50% 0%,#efff11 20%,transparent 70%); +} + +/* By MrEidam */ + +/* Lemons */ +#loglm{ + position: relative; + display: flex; + align-items: center; + justify-content: center; + gap: 5ch; + margin: 0 5vw 0 5vw; + padding: 1rem; + border: 5px dashed #d3e418e1; + border-radius: 1rem; + z-index: 69; + width: auto; + top: 30px; + height: 85px; + filter: drop-shadow(10px 8px 6px #333); +} + +#imglm{ + width: 50px; + height: 50px; + margin: 0.1rem; + width: 100px; + aspect-ratio: 1/1; + margin: 0.1rem; + object-fit: contain; + pointer-events: none; +} +/* By MrEidam */ + +main{ + display: flex; + flex-wrap: wrap; + justify-content: center; +} + + +/* By MrEidam */ +.item{ + border: none; + top: 5px; + margin: 2rem 3vw 2rem 3vw; + padding: 1rem; + border-radius: 6.9px; + display: flex; + flex-direction: column; + justify-content: space-evenly; + align-items: center; + width: 500px; + height: 390px; + filter: drop-shadow(0px 20px 14px #444); +} + +.item img{ + width: 100px; + aspect-ratio: 1/1; + margin: 0.5rem; + object-fit: contain; + + filter: drop-shadow(10px 8px 6px #333); + pointer-events: none +} +.buttons{ + display: flex; + justify-content: space-around; +} +/* By MrEidam */ +.buttons button{ + background-color: var(--Bcolor); + border-radius: 8px; + margin: 1rem; +} + +.buyone{ + width: 200px; + height: 50px; +} + +.buyTone{ + width: 100px; + height: 50px; +} + +.buymax{ + width: 50px; + height: 50px; +} + +/* By MrEidam */ + +.clickbtn{ + display: flex; + justify-content: space-around; +} +.clickbtn button{ + background-color: var(--Bcolor); + border-radius: 8px; + margin: 0 1rem 0.5rem 1rem; +} + +.row{ + display: flex; + flex-direction: row; + justify-content: center; +} +button{ + border: none; + cursor: pointer; + filter: drop-shadow(8px 6px 4px #555); +} + +@media only screen and (max-width: 550px){ + .row{ + flex-direction: column; + justify-content: center; + } + .item{ + width: auto; + margin: 2rem 10vw 2rem 10vw; + } +} + + +#prog{ + appearance: none; + width: 200px; +} + +h2{ + text-transform: uppercase; + letter-spacing: 5px; + font-weight: 900; + word-spacing: 10px; +} + +#ItsTime{ + position: relative; + margin: 1rem; + width: 69%; + height: 69px; + display: none; + border-radius: 6.9px; + transition: 0.5s; + animation: time 1s linear infinite; + background-color: #3d3; + text-transform: uppercase; + letter-spacing: 5px; + font-weight: 900; + word-spacing: 10px; + font-family: 'Poppins', sans-serif; + cursor: cell; +} + +@keyframes time{ + from{filter: hue-rotate(0deg);} + to{filter: hue-rotate(360deg);} +} + + +.menu-container{ + position: fixed; + top: 50px; + left: 50%; + transform: translate(-50%, -50%); + width: 300px; + display: flex; + align-items: center; + justify-content: center; + font-family: 'Poppins'; + z-index: 500; +} +.button{ + position: relative; + background: #1b1b1b; + color: #fff; + font-size: 20px; + padding: 8px 20px; + width: 150px;/* 100% */ + line-height: 30px; + display: flex; + align-items: center; + justify-content: space-between; + border-radius: 25px; + cursor: pointer; + transition: width .4s; +} +.button.expand{ + width: 100%; +} +.fas.expand:before{ + content: '\f00d'; +} +ul{ + list-style: none; + position: absolute; + top: 65px; + display: block; + background: #1b1b1b; + width: 100%; + text-align: center; + border-radius: 5px; + display: none; + box-shadow: 0 3px 6px rgba(0,0,0,.3); + padding-inline-start: 0px; +} +ul:before{ + position: absolute; + content: ''; + width: 20px; + height: 20px; + background: #1b1b1b; + top: -10px; + right: 15px; + transform: rotate(45deg); + z-index: -1; +} +ul li{ + line-height: 35px; + padding: 8px 20px; + cursor: pointer; + border-bottom: 1px solid rgba(255,255,255,.1); +} +ul li:hover:first-child{ + border-radius: 5px 5px 0 0; +} +ul li:hover:last-child{ + border-radius: 0 0 5px 5px; +} +ul li:hover{ + box-shadow: inset 0 0 5px #33ff33, + inset 0 0 10px #66ff66; +} +ul li:last-child{ + border-bottom: none; +} +ul li a{ + display: block; + width: 100%; + height: 100%; + color: #fff; + font-size: 18px; + text-decoration: none; +} +ul li:hover a{ + color: #44dd44; +} + +::-webkit-scrollbar{ + background: transparent; + width: 10px; +} +::-webkit-scrollbar-thumb{ + background: linear-gradient(transparent, #00ec00); + border-radius: 0 0 0.5rem 0.5rem; +} \ No newline at end of file diff --git a/Version - 41/fun/fun.gif b/Version - 41/fun/fun.gif new file mode 100644 index 0000000..bb876fd Binary files /dev/null and b/Version - 41/fun/fun.gif differ diff --git a/Version - 41/fun/fun.mp4 b/Version - 41/fun/fun.mp4 new file mode 100644 index 0000000..b734c33 Binary files /dev/null and b/Version - 41/fun/fun.mp4 differ diff --git a/Version - 41/fun/index.html b/Version - 41/fun/index.html new file mode 100644 index 0000000..e45130f --- /dev/null +++ b/Version - 41/fun/index.html @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 41/img/Porcupine.png b/Version - 41/img/Porcupine.png new file mode 100644 index 0000000..3dc2007 Binary files /dev/null and b/Version - 41/img/Porcupine.png differ diff --git a/Version - 41/img/YT.png b/Version - 41/img/YT.png new file mode 100644 index 0000000..dc7bcad Binary files /dev/null and b/Version - 41/img/YT.png differ diff --git a/Version - 41/img/angel-wings.svg b/Version - 41/img/angel-wings.svg new file mode 100644 index 0000000..a4a8b0c --- /dev/null +++ b/Version - 41/img/angel-wings.svg @@ -0,0 +1,5 @@ + + +angel-wings + + diff --git a/Version - 41/img/brb-pressed.png b/Version - 41/img/brb-pressed.png new file mode 100644 index 0000000..71f01ab Binary files /dev/null and b/Version - 41/img/brb-pressed.png differ diff --git a/Version - 41/img/brb-still.png b/Version - 41/img/brb-still.png new file mode 100644 index 0000000..ad1141d Binary files /dev/null and b/Version - 41/img/brb-still.png differ diff --git a/Version - 41/img/capybara.svg b/Version - 41/img/capybara.svg new file mode 100644 index 0000000..5f6a283 --- /dev/null +++ b/Version - 41/img/capybara.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 41/img/cat-body.svg b/Version - 41/img/cat-body.svg new file mode 100644 index 0000000..abce513 --- /dev/null +++ b/Version - 41/img/cat-body.svg @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 41/img/cat-head.svg b/Version - 41/img/cat-head.svg new file mode 100644 index 0000000..8591d06 --- /dev/null +++ b/Version - 41/img/cat-head.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 41/img/cheetah.svg b/Version - 41/img/cheetah.svg new file mode 100644 index 0000000..ec5c2eb --- /dev/null +++ b/Version - 41/img/cheetah.svg @@ -0,0 +1,506 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 41/img/click-click.svg b/Version - 41/img/click-click.svg new file mode 100644 index 0000000..6b91a3a --- /dev/null +++ b/Version - 41/img/click-click.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 41/img/click-rest.svg b/Version - 41/img/click-rest.svg new file mode 100644 index 0000000..0521add --- /dev/null +++ b/Version - 41/img/click-rest.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + diff --git a/Version - 41/img/dog.svg b/Version - 41/img/dog.svg new file mode 100644 index 0000000..51c2b4f --- /dev/null +++ b/Version - 41/img/dog.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 41/img/fox.svg b/Version - 41/img/fox.svg new file mode 100644 index 0000000..13704a4 --- /dev/null +++ b/Version - 41/img/fox.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 41/img/girafe.svg b/Version - 41/img/girafe.svg new file mode 100644 index 0000000..82a0d8a --- /dev/null +++ b/Version - 41/img/girafe.svg @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 41/img/hamster.svg b/Version - 41/img/hamster.svg new file mode 100644 index 0000000..9e33099 --- /dev/null +++ b/Version - 41/img/hamster.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 41/img/hippopotamus.png b/Version - 41/img/hippopotamus.png new file mode 100644 index 0000000..2df7046 Binary files /dev/null and b/Version - 41/img/hippopotamus.png differ diff --git a/Version - 41/img/icons8-clicked.png b/Version - 41/img/icons8-clicked.png new file mode 100644 index 0000000..8a4b40f Binary files /dev/null and b/Version - 41/img/icons8-clicked.png differ diff --git a/Version - 41/img/icons8-rest.svg b/Version - 41/img/icons8-rest.svg new file mode 100644 index 0000000..6d7d9a9 --- /dev/null +++ b/Version - 41/img/icons8-rest.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 41/img/lemon-tree.svg b/Version - 41/img/lemon-tree.svg new file mode 100644 index 0000000..15e28da --- /dev/null +++ b/Version - 41/img/lemon-tree.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 41/img/lemon.svg b/Version - 41/img/lemon.svg new file mode 100644 index 0000000..e6dafd4 --- /dev/null +++ b/Version - 41/img/lemon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 41/img/meerkat.svg b/Version - 41/img/meerkat.svg new file mode 100644 index 0000000..e41fb8f --- /dev/null +++ b/Version - 41/img/meerkat.svg @@ -0,0 +1,1644 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 41/img/otter.svg b/Version - 41/img/otter.svg new file mode 100644 index 0000000..5ea0173 --- /dev/null +++ b/Version - 41/img/otter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 41/img/owl.svg b/Version - 41/img/owl.svg new file mode 100644 index 0000000..8bbb16c --- /dev/null +++ b/Version - 41/img/owl.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 41/img/platapus.png b/Version - 41/img/platapus.png new file mode 100644 index 0000000..928bbc4 Binary files /dev/null and b/Version - 41/img/platapus.png differ diff --git a/Version - 41/img/python.svg b/Version - 41/img/python.svg new file mode 100644 index 0000000..141be08 --- /dev/null +++ b/Version - 41/img/python.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 41/img/racoon.svg b/Version - 41/img/racoon.svg new file mode 100644 index 0000000..30c8872 --- /dev/null +++ b/Version - 41/img/racoon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 41/img/settings.svg b/Version - 41/img/settings.svg new file mode 100644 index 0000000..52bfffd --- /dev/null +++ b/Version - 41/img/settings.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 41/img/shop.png b/Version - 41/img/shop.png new file mode 100644 index 0000000..7dadb79 Binary files /dev/null and b/Version - 41/img/shop.png differ diff --git a/Version - 41/img/snake.svg b/Version - 41/img/snake.svg new file mode 100644 index 0000000..1753178 --- /dev/null +++ b/Version - 41/img/snake.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 41/img/svg.svg b/Version - 41/img/svg.svg new file mode 100644 index 0000000..50119a7 --- /dev/null +++ b/Version - 41/img/svg.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 41/img/upgrade-icon-png-12.jpg b/Version - 41/img/upgrade-icon-png-12.jpg new file mode 100644 index 0000000..4306888 Binary files /dev/null and b/Version - 41/img/upgrade-icon-png-12.jpg differ diff --git a/Version - 41/img/whale.svg b/Version - 41/img/whale.svg new file mode 100644 index 0000000..5d76311 --- /dev/null +++ b/Version - 41/img/whale.svg @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 41/img/wolf.svg b/Version - 41/img/wolf.svg new file mode 100644 index 0000000..af40205 --- /dev/null +++ b/Version - 41/img/wolf.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 41/index.html b/Version - 41/index.html new file mode 100644 index 0000000..47455e5 --- /dev/null +++ b/Version - 41/index.html @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + BRB - Clicking + + + + + + + + +
+ +
+

+

+ + +
+ + +
+ +
+ +
+ + +
+ + + + + + \ No newline at end of file diff --git a/Version - 41/js/main.js b/Version - 41/js/main.js new file mode 100644 index 0000000..86e04b0 --- /dev/null +++ b/Version - 41/js/main.js @@ -0,0 +1,187 @@ +// Items +let items; +let cs = 0; +let anime = false; + +function load(){ + if (localStorage.getItem('items')!=null){ + items = JSON.parse(localStorage.getItem('items')); + } +} + +window.onload = function(){ + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + hamsters:0, + whales:0, + capybaras:0, + platapuses:0, + porcupines:0, + hippos:0, + snakes:0, + cheetahs:0, + pythons:0, + girrafes:0, + lions:0, + otters:0, + meerkat:0, + raccoon:0, + owl:0, + badger:0, + squirrel:0, + chameleon:0, + chicken:0, + wombat:0, + panther:0, + coyote:0, + frog:0, + bear:0, + pig:0, + + + + lemons:0, + lt3:0, + lang:0, + pres:1, + mode:0, + Mclick:1, + token:0, + } + load(); + update(); + for(let item in items){ + if(!items.item){ + items.item = 0; + } + } + cash(); + checklang() + LDmodes() +} + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + if(items.lang == 1){ + document.getElementById('disclick').innerHTML=`You've got ${fornum(items.clicks)} clicks, and generating ${fornum(cs*items.pres)} c/s!` + } + if(items.lang == 0){ + document.getElementById('disclick').innerHTML=`Právě máš ${fornum(items.clicks)} kliků a generuješ ${fornum(cs*items.pres)} k/s!` + } + if((items.mode != 0)&&(items.mode != 1)){ + items.mode = 0; + } + checklang(); +} + +// Upload +function upload(){update();load();} + +// BRB +function beriba(){ + document.getElementById('unpressed').style.visibility='visible' + document.getElementById('pressed').style.visibility='hidden' + anime=true; +} + +function clicking(){ + items.clicks += 1*(items.Mclick||1)*items.pres; + update(); + + document.getElementById('unpressed').style.visibility='hidden' + document.getElementById('pressed').style.visibility='visible' + anime=false; + + setTimeout(beriba, 75); +} + +function cash(){ + setTimeout (function money(){ + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000; + items.clicks += cs*items.pres; + update();cash(); + },1000) +} + +// Languages Cz || Uk +function language(){ + if(items.lang == 0){ /* CZ */ + items.lang = 1; + console.log(items.lang); + document.documentElement.setAttribute('lang', 'cz'); + shop.innerHTML = 'Obchod'; + upg.innerHTML = 'Vylepšení'; + sett.innerHTML = 'Nastavení'; + del.innerHTML = 'Reset'; + sos.innerHTML = 'Pomoc'; + modes.innerHTML = 'Změn do Temného módu'; + langs.innerHTML = 'Switch into English'; + + }else if(items.lang == 1){ /* UK */ + items.lang = 0; + console.log(items.lang); + document.documentElement.setAttribute('lang', 'en'); + shop.innerHTML = 'Shop'; + upg.innerHTML = 'Upgrades'; + sett.innerHTML = 'Settings'; + del.innerHTML = 'Reset'; + sos.innerHTML = 'Help'; + modes.innerHTML = 'Switch into Dark Mode'; + langs.innerHTML = 'Změň si jazyk do Češtiny'; + } + upload(); +} + +function checklang(){ + if(items.lang == 0){ /* CZ */ + document.documentElement.setAttribute('lang', 'cz'); + shop.innerHTML = 'Obchod'; + upg.innerHTML = 'Vylepšení'; + sett.innerHTML = 'Nastavení'; + }else if(items.lang == 1){ /* UK */ + document.documentElement.setAttribute('lang', 'en'); + shop.innerHTML = 'Shop'; + upg.innerHTML = 'Upgrades'; + sett.innerHTML = 'Settings'; + +} +} +// Dark || Light Mode +function LDmodes(){ + if((items.mode||0) == 0){// Light Mode + body.style.background = '#fff'; + tycoon.style.background = 'radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#fff 70%)'; + disclick.style.color = '#000'; + disclick.style.textShadow = ""; + yt.style.filter = 'drop-shadow(10px 8px 6px #333)'; + }else if(items.mode == 1){// Dark Mode + body.style.background = '#333'; + tycoon.style.background = 'radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#333 70%)'; + disclick.style.color = '#f5f5f5'; + disclick.style.textShadow = "2px 2px 4px #000"; + yt.style.filter = 'drop-shadow(10px 8px 6px #666)'; + } + upload(); +} + + +// Function to convert a number into a more readable format +function fornum(num) { + // Define the suffixes for thousands and millions + const suffixes = ['', ' k', ' mil', ' mld', ' bil', ' bld', ' tri', ' tld', ' qua', ' qld', ' kvi', ' kld', ' sex', ' sld', ' sep', ' spld', ' okt', ' okld', ' non', ' nld', ' dec', ' dld']; + + // Divide the number by 1000 until it is less than 1000 + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + num = Math.floor(num * 10) / 10; + return num + suffixes[i]; +} \ No newline at end of file diff --git a/Version - 41/js/menu.js b/Version - 41/js/menu.js new file mode 100644 index 0000000..342fbe0 --- /dev/null +++ b/Version - 41/js/menu.js @@ -0,0 +1,16 @@ +$(document).ready(function(){ + $('.button').click(function(){ + if($(this).hasClass('expand')){ + $('ul').slideUp(function(){ + $('.button').removeClass('expand'); + $('.fas').removeClass('expand'); + }) + }else{ + $(this).addClass('expand'); + setTimeout(function(){ + $('.fas').addClass('expand'); + $('ul').stop().slideDown(); + },200); + } + }) +}) \ No newline at end of file diff --git a/Version - 41/js/sett.js b/Version - 41/js/sett.js new file mode 100644 index 0000000..c4df88a --- /dev/null +++ b/Version - 41/js/sett.js @@ -0,0 +1,210 @@ +let cs; +let items + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000; +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + LDmodes(); + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000; + let Btns = document.querySelectorAll('.change'); + if(items.lang == 1){ // EN + document.documentElement.setAttribute('lang', 'en'); + shop.innerHTML = 'Shop'; + upg.innerHTML = 'Upgrades'; + sett.innerHTML = 'Settings'; + if(items.mode == 0){ld.innerHTML = 'Do you want to
switch to Dark mode?'; + }else if(items.mode == 1){ld.innerHTML = 'Do you want to
switch to Light mode?';} + lg.innerHTML = 'Do you want to
switch to Czech?'; + hl.innerHTML = 'Do you want to
wantch a video for help?'; + rs.innerHTML = 'Do you want to
completely reset?' + Btns.forEach((e) => { + e.innerHTML = 'Yes!'; + }); + } + if(items.lang == 0){ // CZ + document.documentElement.setAttribute('lang', 'cz'); + shop.innerHTML = 'Obchod'; + upg.innerHTML = 'Vylepšení'; + sett.innerHTML = 'Nastavení'; + if(items.mode == 0){ld.innerHTML = 'Chceš si zapnout
Tmavý mód?'; + }else if(items.mode == 1){ld.innerHTML = 'Chceš si zapnout
Světlý mód?';} + lg.innerHTML = 'Chceš si přepnout
jazyk do Angličtiny?'; + hl.innerHTML = 'Chceš si pustit
video pro pomoc?'; + rs.innerHTML = 'Chceš kompletně
resetovat postup?' + Btns.forEach((e) => { + e.innerHTML = 'Ano!'; + }); +} +} +load(); + +// Upload +function upload(){update();load();} + +function cash(){ + setTimeout (function money(){ + items.clicks += cs*items.pres; + upload(); + cash(); + },1000); +} +cash(); + +// Dark || Light Mode +function SLDmodes(){ + if(items.mode==0){items.mode=1;upload();} + else if(items.mode==1){items.mode=0;upload();} + LDmodes(); +} +function LDmodes(){ + let Bimts = document.querySelectorAll('.item'); + let Btns = document.querySelectorAll('.change'); + let hhh = document.querySelectorAll('h3'); + if((items.mode||0) == 0){// Light Mode + body.style.background = '#ddd'; + Bimts.forEach((e) => { + e.style.background = '#ffefd5'; + }); + Btns.forEach((e) => { + e.style.background = '#8FBC8F'; + e.style.color = '#ccc'; + e.style.textShadow = "2px 2px 4px #000"; + }); + hhh.forEach((e) => { + e.style.color = '#000'; + e.style.textShadow = "2px 2px 4px #000"; + }); + }else if(items.mode == 1){// Dark Mode + body.style.background = '#333'; + Bimts.forEach((e) => { + e.style.background = '#666055'; + e.style.color = '#000'; + }); + Btns.forEach((e) => { + e.style.background = '#008B8B'; + e.style.color = '#ccc'; + e.style.textShadow = "2px 2px 4px #000"; + }); + hhh.forEach((e) => { + e.style.color = '#eee'; + e.style.textShadow = "2px 2px 4px #000"; + }); + } +} + +function language(){ + if(items.lang == 0){ /* CZ */ + items.lang = 1; + }else if(items.lang == 1){ /* UK */ + items.lang = 0; + } + upload(); +} + +// HELP +function help(){ + if(items.lang == 1){ /* EN */ + window.open('https://youtu.be/G0fP-l-05dM'); + }else if(items.lang == 0){ /* CZ */ + window.open('https://youtu.be/XhmETe4MSVI'); + } +} + +// Reset +function reset(){ + if((items.lang == 1) && confirm('Do you really want to reset everything?') && confirm('Are you sure?')){ + alert('Everything Reseted'); + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + hamsters:0, + whales:0, + capybaras:0, + platapuses:0, + porcupines:0, + hippos:0, + snakes:0, + cheetahs:0, + pythons:0, + girrafes:0, + lions:0, + otters:0, + meerkat:0, + raccoon:0, + owl:0, + badger:0, + squirrel:0, + chameleon:0, + chicken:0, + wombat:0, + panther:0, + coyote:0, + frog:0, + bear:0, + pig:0, + + + + lemons:0, + lt3:0, + lang:items.lang, + pres:1, + mode:items.mode, + Mclick:1, + token:0, + } + } + if((items.lang == 0) && confirm('Vážně chceš všechno resetovat?') && confirm('Seš si jistý?')){ + alert('Vše resetováno'); + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + hamsters:0, + whales:0, + capybaras:0, + platapuses:0, + porcupines:0, + hippos:0, + snakes:0, + cheetahs:0, + pythons:0, + girrafes:0, + lions:0, + otters:0, + meerkat:0, + raccoon:0, + owl:0, + badger:0, + squirrel:0, + chameleon:0, + chicken:0, + wombat:0, + panther:0, + coyote:0, + frog:0, + bear:0, + pig:0, + + lemons:0, + lt3:0, + lang:items.lang, + pres:1, + mode:items.mode, + Mclick:1, + token:0, + } + } +} diff --git a/Version - 41/js/shop.js b/Version - 41/js/shop.js new file mode 100644 index 0000000..30ec9af --- /dev/null +++ b/Version - 41/js/shop.js @@ -0,0 +1,963 @@ +let cs + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000; +} +function c(x){ + items.clicks += x; + console.log(x + ' clicks added!'); + upload(); +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + LDmodes() + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000; + + if(items.lang == 1){ + document.documentElement.setAttribute('lang', 'en'); + shop.innerHTML = 'Shop'; + upg.innerHTML = 'Upgrades'; + sett.innerHTML = 'Settings'; + disclick.innerHTML=`You've got ${fornum(items.clicks)} clicks, and making ${fornum(cs*items.pres)} per second!` + disdog.innerHTML=`You've got ${fornum(items.dogs)} dogs!` + discat.innerHTML=`You've got ${fornum(items.cats)} cats!` + disfox.innerHTML=`You've got ${fornum(items.foxes)} foxes!` + diswol.innerHTML=`You've got ${fornum(items.wolfs)} wolfs!` + disham.innerHTML=`You've got ${fornum(items.hamsters)} hamsters!` + diswha.innerHTML=`You've got ${fornum(items.whales)} whales!` + discap.innerHTML=`You've got ${fornum(items.capybaras)} capybaras!` + displa.innerHTML=`You've got ${fornum(items.platapuses)} platypuses!` + dispor.innerHTML=`You've got ${fornum(items.porcupines)} porcupines!` + diship.innerHTML=`You've got ${fornum(items.hippos)} hippopotamuses!` + dissna.innerHTML=`You've got ${fornum(items.snakes)} snakes!` + dische.innerHTML=`You've got ${fornum(items.cheetahs)} cheetahs!` + dispyt.innerHTML=`You've got ${fornum(items.pythons)} pythons!` + disgir.innerHTML=`You've got ${fornum(items.girrafes)} giraffes!` + disoth.innerHTML=`You've got ${fornum(items.otters)} otters!` + dismee.innerHTML=`You've got ${fornum(items.meerkat)} meerkats!` + disrac.innerHTML=`You've got ${fornum(items.raccoon)} racoons!` + disowl.innerHTML=`You've got ${fornum(items.owl)} owls!` + + + + + document.getElementById('dislem').innerHTML=`You've got ${fornum(items.lemons)} lemons!` + document.getElementById('dislt3').innerHTML=`You've got ${fornum(items.lt3)} lemon trees!` + + + disdgmake.innerHTML=`They're generating ${fornum((items.dogs*1)*items.pres)} clicks per second!` + disctmake.innerHTML=`They're generating ${fornum((items.cats*12)*items.pres)} clicks per second!` + disfxmake.innerHTML=`They're generating ${fornum((items.foxes*18)*items.pres)} clicks per second!` + diswlmake.innerHTML=`They're generating ${fornum((items.wolfs*100)*items.pres)} clicks per second!` + dishmmake.innerHTML=`They're generating ${fornum((items.hamsters*130)*items.pres)} clicks per second!` + diswhmake.innerHTML=`They're generating ${fornum((items.whales*220)*items.pres)} clicks per second!` + discpmake.innerHTML=`They're generating ${fornum((items.capybaras*280)*items.pres)} clicks per second!` + displmake.innerHTML=`They're generating ${fornum((items.platapuses*400)*items.pres)} clicks per second!` + disprmake.innerHTML=`They're generating ${fornum((items.porcupines*650)*items.pres)} clicks per second!` + dishimake.innerHTML=`They're generating ${fornum((items.hippos*950)*items.pres)} clicks per second!` + dissnmake.innerHTML=`They're generating ${fornum((items.snakes*1000)*items.pres)} clicks per second!` + dischmake.innerHTML=`They're generating ${fornum((items.cheetahs*3000)*items.pres)} clicks per second!` + dispymake.innerHTML=`They're generating ${fornum((items.pythons*7800)*items.pres)} clicks per second!` + disgimake.innerHTML=`They're generating ${fornum((items.girrafes*8400)*items.pres)} clicks per second!` + disotmake.innerHTML=`They're generating ${fornum((items.otters*9000)*items.pres)} clicks per second!` + dismeemake.innerHTML=`They're generating ${fornum((items.meerkat*9800)*items.pres)} clicks per second!` + disramake.innerHTML=`They're generating ${fornum((items.raccoon*14500)*items.pres)} clicks per second!` + disowmake.innerHTML=`They're generating ${fornum((items.owl*16000)*items.pres)} clicks per second!` + + dg1.innerHTML = 'Buy a Dog for 100 clicks' + ct1.innerHTML = 'Buy a Cat for 10 dogs' + fx1.innerHTML = 'Buy a Fox for 15 dogs' + wl1.innerHTML = 'Buy a Wolf for
6 dogs and 5 foxes' + hm1.innerHTML = 'Buy a Hamster for
1 wolf and 2 cats' + wh1.innerHTML = 'Buy a Whale for 2 wolfs' + cp1.innerHTML = 'Buy a Capybara for
1 whale and 4 cats' + pl1.innerHTML = 'Buy a Platypus for
1 capybara and 1 wolf' + pr1.innerHTML = 'Buy a Porcupine for
1 platypus and 1 whale' + hi1.innerHTML = 'Buy a Hippopotamus for
1 porcupine and 2 hamsters' + sn1.innerHTML = 'Buy a Snake for
2 whales and 4 hamsters' + ch1.innerHTML = 'Buy a Cheetah for
2 snakes and 2 platypuses' + py1.innerHTML = 'Buy a Python for
1 cheetah and 5 hippos' + gi1.innerHTML = 'Buy a Giraffe for
1 python and 20 foxes' + ot1.innerHTML = 'Buy a Otter for
1 giraffe and 2 capybaras' + me1.innerHTML = 'Buy a Meerkat for
1 otter and 3 whales' + ra1.innerHTML = 'Buy a Raccoon for
1 meerkat and 7 porcupines' + ow1.innerHTML = 'Buy a Owl for
1 racoon and 1 snake' + + lm1.innerHTML = 'Buy a Lemon for some cats' + lt1.innerHTML = 'Buy a Lemon Tree for 5 lemons' + + // Buying for clicks + Cct1.innerHTML = 'Buy a Cat for
1,2 k clicks' + Cfx1.innerHTML = 'Buy a Fox for
1,8 k clicks' + Cwl1.innerHTML = 'Buy a Wolf for
10 k clicks' + Chm1.innerHTML = 'Buy a Hamster for
13 k clicks' + Cwh1.innerHTML = 'Buy a Whale for
22 k clicks' + Ccp1.innerHTML = 'Buy a Capybara for
28 k clicks' + Cpl1.innerHTML = 'Buy a Platypus for
42 k clicks' + Cpr1.innerHTML = 'Buy a Porcupine for
70 k clicks' + Chi1.innerHTML = 'Buy a Hippopotamus for
100 k clicks' + Csn1.innerHTML = 'Buy a Snake for
150 k clicks' + Cch1.innerHTML = 'Buy a Cheetah for
350 k clicks' + Cpy1.innerHTML = 'Buy a Python for
820 k clicks' + Cgi1.innerHTML = 'Buy a Giraffe for
880 k clicks' + Cot1.innerHTML = 'Buy a Otter for
950 k clicks' + Cme1.innerHTML = 'Buy a Meerkat for
1 mil clicks' + Cra1.innerHTML = 'Buy a Raccoon for
1.5 mil clicks' + Cow1.innerHTML = 'Buy a Owl for
1.8 mil clicks' + } + if(items.lang == 0){ + document.documentElement.setAttribute('lang', 'cz'); + shop.innerHTML = 'Obchod'; + upg.innerHTML = 'Vylepšení'; + sett.innerHTML = 'Nastavení'; + document.getElementById('disclick').innerHTML=`Právě máš ${fornum(items.clicks)} kliků a děláš ${fornum(cs*items.pres)} za sekundu!` + document.getElementById('disdog').innerHTML=`Právě máš ${fornum(items.dogs)} psů!` + document.getElementById('discat').innerHTML=`Právě máš ${fornum(items.cats)} koček!` + document.getElementById('disfox').innerHTML=`Právě máš ${fornum(items.foxes)} lišek!` + document.getElementById('diswol').innerHTML=`Právě máš ${fornum(items.wolfs)} vlků!` + document.getElementById('disham').innerHTML=`Právě máš ${fornum(items.hamsters)} křečků!` + document.getElementById('diswha').innerHTML=`Právě máš ${fornum(items.whales)} velryb!` + document.getElementById('discap').innerHTML=`Právě máš ${fornum(items.capybaras)} kapybar!` + document.getElementById('displa').innerHTML=`Právě máš ${fornum(items.platapuses)} ptakopysků!` + document.getElementById('dispor').innerHTML=`Právě máš ${fornum(items.porcupines)} dikobrazů!` + document.getElementById('diship').innerHTML=`Právě máš ${fornum(items.hippos)} hrochů!` + document.getElementById('dissna').innerHTML=`Právě máš ${fornum(items.snakes)} hadů!` + document.getElementById('dische').innerHTML=`Právě máš ${fornum(items.cheetahs)} gepardů!` + document.getElementById('dispyt').innerHTML=`Právě máš ${fornum(items.pythons)} kober!` + document.getElementById('disgir').innerHTML=`Právě máš ${fornum(items.girrafes)} žiraf!` + document.getElementById('disoth').innerHTML=`Právě máš ${fornum(items.otters)} vyder!` + document.getElementById('dismee').innerHTML=`Právě máš ${fornum(items.meerkat)} surikat!` + document.getElementById('disrac').innerHTML=`Právě máš ${fornum(items.raccoon)} mývalů!` + document.getElementById('disowl').innerHTML=`Právě máš ${fornum(items.owl)} sov!` + + + + + document.getElementById('dislem').innerHTML=`Právě máš ${fornum(items.lemons)} citrónů!` + document.getElementById('dislt3').innerHTML=`Právě máš ${fornum(items.lt3)} citronovníků!` + + + document.getElementById('disdgmake').innerHTML=`Generují ${fornum((items.dogs*1)*items.pres)} kliků za sekundu!` + document.getElementById('disctmake').innerHTML=`Generují ${fornum((items.cats*12)*items.pres)} kliků za sekundu!` + document.getElementById('disfxmake').innerHTML=`Generují ${fornum((items.foxes*18)*items.pres)} kliků za sekundu!` + document.getElementById('diswlmake').innerHTML=`Generují ${fornum((items.wolfs*100)*items.pres)} kliků za sekundu!` + document.getElementById('dishmmake').innerHTML=`Generují ${fornum((items.hamsters*130)*items.pres)} kliků za sekundu!` + document.getElementById('diswhmake').innerHTML=`Generují ${fornum((items.whales*220)*items.pres)} kliků za sekundu!` + document.getElementById('discpmake').innerHTML=`Generují ${fornum((items.capybaras*280)*items.pres)} kliků za sekundu!` + document.getElementById('displmake').innerHTML=`Generují ${fornum((items.platapuses*400)*items.pres)} kliků za sekundu!` + document.getElementById('disprmake').innerHTML=`Generují ${fornum((items.porcupines*650)*items.pres)} kliků za sekundu!` + document.getElementById('dishimake').innerHTML=`Generují ${fornum((items.hippos*950)*items.pres)} kliků za sekundu!` + document.getElementById('dissnmake').innerHTML=`Generují ${fornum((items.snakes*1000)*items.pres)} kliků za sekundu!` + document.getElementById('dischmake').innerHTML=`Generují ${fornum((items.cheetahs*3000)*items.pres)} kliků za sekundu!` + document.getElementById('dispymake').innerHTML=`Generují ${fornum((items.pythons*7800)*items.pres)} kliků za sekundu!` + document.getElementById('disgimake').innerHTML=`Generují ${fornum((items.girrafes*8400)*items.pres)} kliků za sekundu!` + document.getElementById('disotmake').innerHTML=`Generují ${fornum((items.otters*9000)*items.pres)} kliků za sekundu!` + document.getElementById('dismeemake').innerHTML=`Generují ${fornum((items.meerkat*9800)*items.pres)} kliků za sekundu!` + document.getElementById('disramake').innerHTML=`Generují ${fornum((items.raccoon*14500)*items.pres)} kliků za sekundu!` + document.getElementById('disowmake').innerHTML=`Generují ${fornum((items.owl*16000)*items.pres)} kliků za sekundu!` + + + dg1.innerHTML = 'Kup Psa za 100 kliků' + ct1.innerHTML = 'Kup Kočku za 10 psů' + fx1.innerHTML = 'Kup Lišku za 15 psů' + wl1.innerHTML = 'Kup Vlka za
6 psů a 5 lišek' + hm1.innerHTML = 'Kup Křečka za
1 vlka a 2 kočky' + wh1.innerHTML = 'Kup Velrybu za 2 vlky' + cp1.innerHTML = 'Kup Kapybaru za
1 velrybu a 4 kočky' + pl1.innerHTML = 'Kup Ptakopyska za
1 kapybaru a 1 vlka' + pr1.innerHTML = 'Kup Dikobraza za
1 ptakopyska a 1 velrybu' + hi1.innerHTML = 'Kup Hrocha za
1 dikobraza a 2 křečků' + sn1.innerHTML = 'Kup Hada za
2 velryby a 4 křečky' + ch1.innerHTML = 'Kup Geparda za
2 hady a 2 ptakopysky' + py1.innerHTML = 'Kup Kobru za
1 geparda a 5 hrochů' + gi1.innerHTML = 'Kup Žirafu za
1 kobru a 20 lišek' + ot1.innerHTML = 'Kup Vydru za
1 žirafu a 2 kapybary' + me1.innerHTML = 'Kup Surikatu za
1 vydru a 3 velryby' + ra1.innerHTML = 'Kup Mývala za
1 surikatu a 7 dikobrazů' + ow1.innerHTML = 'Kup Sovu za
1 mývala a 1 hada' + + lm1.innerHTML = 'Kup Citrón za pár koček' + lt1.innerHTML = 'Kup Citrónovník za 5 citrónů' + + // Buying for clicks + Cct1.innerHTML = 'Kup Kočku za
1,2 k kliků' + Cfx1.innerHTML = 'Kup Lišku za
1,8 k kliků' + Cwl1.innerHTML = 'Kup Vlka za
10 k kliků' + Chm1.innerHTML = 'Kup Křečka za
13 k kliků' + Cwh1.innerHTML = 'Kup Velrybu za
22 k kliků' + Ccp1.innerHTML = 'Kup Kapybaru za
28 k kliků' + Cpl1.innerHTML = 'Kup Ptakopyska za
42 k kliků' + Cpr1.innerHTML = 'Kup Dikobraza za
70 k kliků' + Chi1.innerHTML = 'Kup Hrocha za
100 k kliků' + Csn1.innerHTML = 'Kup Hada za
150 k kliků' + Cch1.innerHTML = 'Kup Geparda za
350 k kliků' + Cpy1.innerHTML = 'Kup Kobru za
820 k kliků' + Cgi1.innerHTML = 'Kup Žirafu za
880 k kliků' + Cot1.innerHTML = 'Kup Vydru za
950 k kliků' + Cme1.innerHTML = 'Kup Surikatu za
1 mil kliků' + Cra1.innerHTML = 'Kup Mývala za
1,5 mil kliků' + Cow1.innerHTML = 'Kup Sovu za
1,8 mil kliků' + } +} +load(); + +// Upload +function upload(){update();load();} + +function cash(){ + setTimeout (function money(){ + items.clicks += cs*items.pres; + upload(); + cash();click(); + },1000) +} +cash(); + +function click(){ + setTimeout(function decoration(){ + document.getElementById('imgcli').src = './img/icons8-clicked.png' + },500); + setTimeout(function decoration(){ + document.getElementById('imgcli').src = './img/icons8-rest.svg' + },1000) +} + +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); + click() +} +function buycat(){ + if(items.dogs>=10){ + items.dogs-=10; + items.cats+=1; + } + upload(); +} +function buyfox(){ + if(items.dogs>=15){ + items.dogs-=15; + items.foxes+=1; + } + upload(); +} +function buywol(){ + if(items.dogs>=6 && items.foxes>=5){ + items.dogs-=6; + items.foxes-=5; + items.wolfs+=1; + } + upload(); +} +function buyham(){ + if(items.wolfs>=1 && items.cats>=2){ + items.wolfs-=1; + items.cats-=2; + items.hamsters+=1; + } + upload(); +} +function buywha(){ + if(items.wolfs>=2){ + items.wolfs-=2; + items.whales+=1; + } + upload(); +} +function buycap(){ + if(items.whales>=1 && items.cats>=4){ + items.whales-=1; + items.cats-=4; + items.capybaras+=1; + } + upload(); +} +function buypla(){ + if(items.capybaras>=1 && items.wolfs>=1){ + items.capybaras-=1; + items.wolfs-=1; + items.platapuses+=1; + } + upload(); +} +function buypor(){ + if(items.platapuses>=1 && items.whales>=1){ + items.platapuses-=1; + items.whales-=1; + items.porcupines++; + } + upload(); +} +function buyhip(){ + if(items.porcupines>=1 && items.hamsters>=2){ + items.porcupines-=1; + items.hamsters-=2; + items.hippos++; + } + upload(); +} +function buysna(){ + if(items.whales>=2 && items.hamsters>=4){ + items.whales-=2; + items.hamsters-=4; + items.snakes++; + } + upload(); +} +function buyche(){ + if(items.snakes>=2 && items.platapuses>=2){ + items.snakes-=2; + items.platapuses-=2; + items.cheetahs++; + } + upload(); +} +function buypyt(){ + if(items.cheetahs>=1 && items.hippos>=5){ + items.cheetahs-=1; + items.hippos-=5; + items.pythons++; + } + upload(); +} +function buygir(){ + if(items.pythons>=1 && items.foxes>=20){ + items.pythons-=1; + items.foxes-=20; + items.girrafes++; + } + upload(); +} +function buyoth(){ + if(items.girrafes>=1 && items.capybaras>=2){ + items.girrafes-=1; + items.capybaras-=2; + items.otters++; + } + upload(); +} +function buymee(){ + if(items.otters>=1 && items.whales>=3){ + items.otters-=1; + items.whales-=3; + items.meerkat++; + } + upload(); +} +function buyrac(){ + if(items.meerkat>=1 && items.porcupines>=7){ + items.meerkat-=1; + items.porcupines-=7; + items.raccoon++; + } + upload(); +} +function buyowl(){ + if(items.raccoon>=1 && items.snakes>=1){ + items.raccoon-=1; + items.snakes-=1; + items.owl++; + } + upload(); +} + + + + + + +function buylem(){ + let RanLemCost = Math.floor(Math.random()*100); + if(items.cats>=RanLemCost){ + items.cats-=RanLemCost; + items.lemons+=1; + } + upload(); +} +function buylt3(){ + if (items.lemons>=5) { + items.lemons-=5; + items.lt3+=1; + } + upload(); +} + + + + + + +/* Max Shop */ +function mxdg(){ + one = Math.floor(items.clicks / 100) + + items.clicks -= one * 100 + items.dogs += one + upload(); +} +function mxct(){ + one = Math.floor(items.dogs / 10) + + items.dogs -= one * 10 + items.cats += one + upload(); +} +function mxfx(){ + one = Math.floor(items.dogs/15) + + items.dogs -= one*15 + items.foxes += one + upload(); +} +/* +function lemmvalue(){ + mdog = items.cats/20; + maxdog = Math.floor(mdog); + floordog = maxdog*20 + items.cats -= floordog + items.lemons += maxdog + upload(); +}*/ +function mxlm(){ + let RanLemCost = Math.floor(Math.random()*100); + one = Math.floor(items.cats/RanLemCost) + + items.cats -= one*RanLemCost + items.lemons += one + upload(); +} +function mxlt(){ + one = Math.floor(items.lemons/5) + + items.lemons -= one*5 + items.lt3 += one + upload() +} +function mxwh(){ + let amount = Math.floor(items.wolfs/2); + + items.wolfs -= amount*2; + items.whales += amount; + upload(); +} +let one,two,val + +// Max Shop + +function mxwl(){ + let amount = Math.min(Math.floor(items.foxes/5), Math.floor(items.dogs/6)); + + if(amount > 0){ + items.foxes -= amount*5 + items.dogs -= amount*6 + items.wolfs += amount + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxhm(){ + let amount = Math.min(Math.floor(items.wolfs/1), Math.floor(items.cats/2)); + + if(amount > 0){ + items.wolfs -= amount*1; + items.cats -= amount*2; + items.hamsters += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxcp(){ + let amount = Math.min(Math.floor(items.whales/1), Math.floor(items.cats/4)); + + if(amount > 0){ + items.whales -= amount*1; + items.cats -= amount*4; + items.capybaras += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxpl(){ + let amount = Math.min(Math.floor(items.capybaras/1), Math.floor(items.wolfs/1)); + + if(amount > 0){ + items.capybaras -= amount*1; + items.wolfs -= amount*1; + items.platapuses += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxpr(){ + let amount = Math.min(Math.floor(items.platapuses/1), Math.floor(items.whales/1)); + + if(amount > 0){ + items.platapuses -= amount*1; + items.whales -= amount*1; + items.porcupines += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxhi(){ + let amount = Math.min(Math.floor(items.porcupines/1), Math.floor(items.hamsters/2)); + + if(amount > 0){ + items.porcupines -= amount*1; + items.hamsters -= amount*2; + items.hippos += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxsn(){ + let amount = Math.min(Math.floor(items.whales/2), Math.floor(items.hamsters/4)); + + if(amount > 0){ + items.whales -= amount*2; + items.hamsters -= amount*4; + items.snakes += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxch(){ + let amount = Math.min(Math.floor(items.snakes/2), Math.floor(items.platapuses/2)); + + if(amount > 0){ + items.snakes -= amount*2; + items.platapuses -= amount*2; + items.cheetahs += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxpy(){ + let amount = Math.min(Math.floor(items.cheetahs/1), Math.floor(items.hippos/5)); + + if(amount > 0){ + items.cheetahs -= amount*1; + items.hippos -= amount*5; + items.pythons += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxgi(){ + let amount = Math.min(Math.floor(items.pythons/1), Math.floor(items.foxes/20)); + + if(amount){ + items.pythons -= amount*1; + items.foxes -= amount*20; + items.girrafes += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxot(){ + let amount = Math.min(Math.floor(items.girrafes/1), Math.floor(items.capybaras/2)); + + if(amount > 0){ + items.girrafes -= amount*1; + items.capybaras -= amount*2; + items.otters += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxme(){ + let amount = Math.min(Math.floor(items.otters/1), Math.floor(items.whales/3)); + + if(amount > 0){ + items.otters -= amount*1; + items.whales -= amount*3; + items.meerkat += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxra(){ + let amount = Math.min(Math.floor(items.meerkat/1), Math.floor(items.porcupines/7)); + + if(amount > 0){ + items.meerkat -= amount*1; + items.porcupines -= amount*7; + items.raccoon += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxow(){ + let amount = Math.min(Math.floor(items.raccoon/1), Math.floor(items.snakes/1)); + + if(amount > 0){ + items.raccoon -= amount*1; + items.snakes -= amount*1; + items.owl += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} + +// Dark || Light Mode +function LDmodes(){ + let Bimts = document.querySelectorAll('.item'); + if((items.mode||0) == 0){// Light Mode + body.style.background = '#ddd'; + body.style.color = '#000'; + Bimts.forEach((e) => { + e.style.background = '#ffefd5'; + }); + logclick.style.background = '#ffefd5'; + disclick.style.textShadow = ""; + logclick.style.border = '5px dashed #00f'; + logclick.style.filter = 'drop-shadow(10px 8px 6px #222)'; + }else if(items.mode == 1){// Dark Mode + body.style.background = '#333'; + body.style.color = '#fff'; + Bimts.forEach((e) => { + e.style.background = '#666055'; + }); + logclick.style.background = '#666055'; + disclick.style.textShadow = "2px 2px 4px #000"; + logclick.style.border = '5px dashed #006'; + logclick.style.filter = 'drop-shadow(10px 8px 6px #222)'; + } +} + + +// Function to convert a number into a more readable format +function fornum(num) { + // Define the suffixes for thousands and millions + const suffixes = ['', ' k', ' mil', ' mld', ' bil', ' bld', ' tri', ' tld', ' qua', ' qld', ' kvi', ' kld', ' sex', ' sld', ' sep', ' spld', ' okt', ' okld', ' non', ' nld', ' dec', ' dld']; + + // Divide the number by 1000 until it is less than 1000 + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + + // Round the number to one decimal place + num = Math.floor(num * 10) / 10; + + // Concatenate the number with the appropriate suffix + return num + suffixes[i]; +} + + + + + + +/* SHOPPING WITH ONLY CLICKS */ + +function buyAnimal(animal, cost) { + const quantity = Math.floor(items.clicks / cost); + + if (quantity > 0) { + items[animal] += quantity; + items.clicks -= quantity * cost; + upload(); + } +} + +// Example usage for buying cats +function buyCat() { + buyAnimal('cats', 1200); +} + +// cat +function buyCcat(){ + if(items.clicks >= 1200){ + items.cats++; + items.clicks -= 1200; + upload(); + } +} +function mxCct(){ + one = Math.floor(items.clicks / 1200) + + items.clicks -= one * 1200 + items.cats += one + upload(); +} + +// fox +function buyCfox(){ + if(items.clicks >= 1800){ + items.foxes++; + items.clicks -= 1800; + upload(); + } +} +function mxCfx(){ + one = Math.floor(items.clicks / 1800) + + items.clicks -= one * 1800 + items.foxes += one + upload(); +} + +// wolf +function buyCwol(){ + if(items.clicks >= 10000){ + items.wolfs++; + items.clicks -= 10000; + upload(); + } +} +function mxCwl(){ + one = Math.floor(items.clicks / 10000) + + items.clicks -= one * 10000 + items.wolfs += one + upload(); +} + +// hamster +function buyCham(){ + if(items.clicks >= 13000){ + items.hamsters++; + items.clicks -= 13000; + upload(); + } +} +function mxChm(){ + one = Math.floor(items.clicks / 13000) + + items.clicks -= one * 13000 + items.hamsters += one + upload(); +} + +// whale +function buyCwha(){ + if(items.clicks >= 22000){ + items.whales++; + items.clicks -= 22000; + upload(); + } +} +function mxCwh(){ + one = Math.floor(items.clicks / 22000) + + items.clicks -= one * 22000 + items.whales += one + upload(); +} + +// cappybarra +function buyCcap(){ + if(items.clicks >= 28000){ + items.capybaras++; + items.clicks -= 28000; + upload(); + } +} +function mxCcp(){ + one = Math.floor(items.clicks / 28000) + + items.clicks -= one * 28000 + items.capybaras += one + upload(); +} + +// platypussy +function buyCpla(){ + if(items.clicks >= 42000){ + items.platapuses++; + items.clicks -= 42000; + upload(); + } +} +function mxCpl(){ + one = Math.floor(items.clicks / 42000) + + items.clicks -= one * 42000 + items.platapuses += one + upload(); +} + +// porcupine +function buyCpor(){ + if(items.clicks >= 70000){ + items.porcupines++; + items.clicks -= 70000; + upload(); + } +} +function mxCpr(){ + one = Math.floor(items.clicks / 70000) + + items.clicks -= one * 70000 + items.porcupines += one + upload(); +} + +// hippopopopotamusss +function buyChip(){ + if(items.clicks >= 100000){ + items.hippos++; + items.clicks -= 100000; + upload(); + } +} +function mxChi(){ + one = Math.floor(items.clicks / 100000) + + items.clicks -= one * 100000 + items.hippos += one + upload(); +} + +// Snuk +function buyCsna(){ + if(items.clicks >= 150000){ + items.snakes++; + items.clicks -= 150000; + upload(); + } +} +function mxCsn(){ + one = Math.floor(items.clicks / 150000) + + items.clicks -= one * 150000 + items.snakes += one + upload(); +} + +// Chetuch +function buyCche(){ + if(items.clicks >= 350000){ + items.cheetahs++; + items.clicks -= 350000; + upload(); + } +} +function mxCch(){ + one = Math.floor(items.clicks / 350000) + + items.clicks -= one * 350000 + items.cheetahs += one + upload(); +} + +// .py +function buyCpyt(){ + if(items.clicks >= 820000){ + items.pythons++; + items.clicks -= 820000; + upload(); + } +} +function mxCpy(){ + one = Math.floor(items.clicks / 820000) + + items.clicks -= one * 820000 + items.pythons += one + upload(); +} + +// Gurllaf +function buyCgir(){ + if(items.clicks >= 880000){ + items.girrafes++; + items.clicks -= 880000; + upload(); + } +} +function mxCgi(){ + one = Math.floor(items.clicks / 880000) + + items.clicks -= one * 880000 + items.girrafes += one + upload(); +} + +// Other space +function buyCoth(){ + if(items.clicks >= 950000){ + items.otters++; + items.clicks -= 950000; + upload(); + } +} +function mxCot(){ + one = Math.floor(items.clicks / 950000) + + items.clicks -= one * 950000 + items.otters += one + upload(); +} + +// Mii Cat +function buyCmee(){ + if(items.clicks >= 1000000){ + items.meerkat++; + items.clicks -= 1000000; + upload(); + } +} +function mxCme(){ + one = Math.floor(items.clicks / 1000000) + + items.clicks -= one * 1000000 + items.meerkat += one + upload(); +} + +// C rac +function buyCrac(){ + if(items.clicks >= 1500000){ + items.raccoon++; + items.clicks -= 1500000; + upload(); + } +} +function mxCra(){ + one = Math.floor(items.clicks / 1500000) + + items.clicks -= one * 1500000 + items.raccoon += one + upload(); +} + +// O +function buyCowl(){ + if(items.clicks >= 1800000){ + items.owl++; + items.clicks -= 1800000; + upload(); + } +} +function mxCow(){ + one = Math.floor(items.clicks / 1800000) + + items.clicks -= one * 1800000 + items.owl += one + upload(); +} diff --git a/Version - 41/js/upgr.js b/Version - 41/js/upgr.js new file mode 100644 index 0000000..b881afa --- /dev/null +++ b/Version - 41/js/upgr.js @@ -0,0 +1,280 @@ +let items; +let cs; + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + if(items.token >= 1000*items.pres){ + prog.style.display = 'none'; + presBT1.style.display = 'none'; + presBT10.style.display = 'none'; + presBTmax.style.display = 'none'; + progva.style.display = 'none'; + ItsTime.style.display = 'block'; + } + +} + +function load(){ + if (localStorage.getItem('items')!=null){ + items = JSON.parse(localStorage.getItem('items')); + LDmodes() + prog.max = 1000*items.pres; + + } + if(items.lang == 0){ // CZ + document.documentElement.setAttribute('lang', 'cz'); + shop.innerHTML = 'Obchod'; + upg.innerHTML = 'Vylepšení'; + sett.innerHTML = 'Nastavení'; + dislm.innerHTML = `Právě máš ${fornum(items.lemons)} citrónů!`; + disMcmake.innerHTML = `Zatím ti každý klik dává ${fornum((items.Mclick||1)*items.pres)} kliků!`; + Mc1.innerHTML = `Kup si vylepšení na kliky za
${fornum(20+(items.Mclick||1)*(items.Mclick||1))} citrónů`; + progva.innerHTML = `Zatím máš jen ${items.token} lístků z ${1000*items.pres}!` + + + + + presBT1.innerHTML = `1 Lístek za
pár Citrónů` + presBT10.innerHTML = `10 Lístků za
10 párů Citrónů` + presBTmax.innerHTML = `Max lístků za
několik Citrónů` + ItsTime.innerHTML = `Pojďme jít!`; + if(items.pres > 1){ + got.innerHTML = `Právě máš ${items.pres-1} Prestiž bodů` + } + + + }else if(items.lang == 1){ // En + document.documentElement.setAttribute('lang', 'en'); + shop.innerHTML = 'Shop'; + upg.innerHTML = 'Upgrades'; + sett.innerHTML = 'Settings'; + dislm.innerHTML = `You've got ${fornum(items.lemons)} lemons!`; + disMcmake.innerHTML = `So far every click gives you ${fornum((items.Mclick||1)*items.pres)} clicks!`; + Mc1.innerHTML = `Buy an upgrade for your clicks
for ${fornum(20+(items.Mclick||1)*(items.Mclick||1))} lemons`; + progva.innerHTML = `So far you got ${items.token} token out of ${1000*items.pres}!` + + + + + presBT1.innerHTML = `1 Ticket for
some Lemons` + presBT10.innerHTML = `10 Tickets for
some more Lemons` + presBTmax.innerHTML = `Buy all Ticket for
some Lemons` + ItsTime.innerHTML = `Let's do this!`; + if(items.pres > 1){ + got.innerHTML = `You've got ${items.pres-1} Prestige points` + } + } + + +} + +// Upload +function upload(){update();load();} + +function cash(){ + setTimeout (function money(){ + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000; + items.clicks += cs*items.pres; + update();cash(); + },1000) +} + +function fornum(num) { + // Define the suffixes for thousands and millions + const suffixes = ['', ' k', ' mil', ' mld', ' bil', ' bld', ' tri', ' tld', ' qua', ' qld', ' kvi', ' kld', ' sex', ' sld', ' sep', ' spld', ' okt', ' okld', ' non', ' nld', ' dec', ' dld']; + + // Divide the number by 1000 until it is less than 1000 + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + num = Math.floor(num * 10) / 10; + return num + suffixes[i]; +} + +window.onload = function(){ + load();cash();progress(); + if((items.token != 0)&&(items.token < 1)){ + items.token = 0; + } +} + +/* U P G R A D E S */ + +function buyMcc(){ + if(items.lemons>=20+(items.Mclick||1)*(items.Mclick||1)){ + items.lemons -= 20+(items.Mclick||1)*(items.Mclick||1); + if((items.Mclick != 1)&&(items.Mclick < 2)){ + items.Mclick = 1; + } + items.Mclick += 4; + console.log(items.Mclick); + upload(); + } +} + +function tblb(){ // Token Basic Lemon Buy + if(items.lemons >= 2000){ + items.lemons -= 2000; + items.token++; + console.log(items.token); + } + progress(); + upload(); +} + +function tmlm(){ // Token More Lemon Buy + if(items.lemons >= 20000){ + items.lemons -= 20000; + items.token += 10; + console.log(items.token); + } + progress(); + upload(); +} + +function talb(){ // Token All Lemon Buy + let C = ((1000*items.pres) - items.token) + for(let i = 0; i= 2000){ + items.lemons -= 2000; + items.token++; + console.log(items.token); + } + progress(); + upload(); + } +} + +function progress(){ + prog.value = `${items.token}` + prog.title = `${items.token}/${1000*items.pres}` + upload(); +} + +function TheThing(){ + if(items.lang == 0 && items.token >= (1000*items.pres) && confirm(`Za Prestiže budeš získávat více kliků, ale tvůj postup se vynuluje (až na Prestiž body). Chceš se 'Znovuzrodit'?`)){ // CZ + alert(`Získal jsi 0.5 prestiže bodů!`); + items.pres += 0.5; + upload(); + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + hamsters:0, + whales:0, + capybaras:0, + platapuses:0, + porcupines:0, + hippos:0, + snakes:0, + cheetahs:0, + pythons:0, + girrafes:0, + lions:0, + otters:0, + meerkat:0, + raccoon:0, + owl:0, + badger:0, + squirrel:0, + chameleon:0, + chicken:0, + wombat:0, + panther:0, + coyote:0, + frog:0, + bear:0, + pig:0, + + + + lemons:0, + lt3:0, + lang:items.lang, + pres:items.pres, + mode:items.mode, + Mclick:1, + token:0, + } + location.href = './index.html'; + + + + }else if(items.lang == 1 && items.token >= (1000*items.pres) && confirm(`For Prestige You'll earn more clicks, but your progress resets (except prestige points). Do you wish to 'Rebirth'?`)){ // En + alert(`You've earn 0.5 prestige points!`); + items.pres += 0.5; + upload(); + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + hamsters:0, + whales:0, + capybaras:0, + platapuses:0, + porcupines:0, + hippos:0, + snakes:0, + cheetahs:0, + pythons:0, + girrafes:0, + lions:0, + otters:0, + meerkat:0, + raccoon:0, + owl:0, + badger:0, + squirrel:0, + chameleon:0, + chicken:0, + wombat:0, + panther:0, + coyote:0, + frog:0, + bear:0, + pig:0, + + + + lemons:0, + lt3:0, + lang:items.lang, + pres:items.pres, + mode:items.mode, + Mclick:1, + token:0, + } + location.href = './index.html'; + } + } + + +// Dark || Light Mode +function LDmodes(){ + let Bimts = document.querySelectorAll('.item'); + if((items.mode||0) == 0){// Light Mode + body.style.background = '#ddd'; + body.style.color = '#000'; + Bimts.forEach((e) => { + e.style.background = '#ffefd5'; + }); + loglm.style.background = '#ffefd5'; + loglm.style.filter = 'drop-shadow(10px 8px 6px #222)'; + }else if(items.mode == 1){// Dark Mode + body.style.background = '#333'; + body.style.color = '#fff'; + Bimts.forEach((e) => { + e.style.background = '#666055'; + }); + loglm.style.background = '#666055'; // effd5f66 + loglm.style.filter = 'drop-shadow(10px 8px 6px #222)'; + } +} \ No newline at end of file diff --git a/Version - 41/settings.html b/Version - 41/settings.html new file mode 100644 index 0000000..fdf177a --- /dev/null +++ b/Version - 41/settings.html @@ -0,0 +1,49 @@ + + + + + + + + + + BRB - Settings + + +
+ +
+
+

+ +
+
+

+ +
+
+

+ +
+
+

+ +
+
+ + + + + + + \ No newline at end of file diff --git a/Version - 41/shop.html b/Version - 41/shop.html new file mode 100644 index 0000000..2480667 --- /dev/null +++ b/Version - 41/shop.html @@ -0,0 +1,496 @@ + + + + + + + + + + + BRB - Shop + + + + + + + + + + +
+
+ +

+
+
+ + + + +
+
+ +
+ +
+ + +
+ +

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ + +
+ +
+ + +
+
+ + +
+

+

+
+ +
+ + + +
+ +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+
+ +
+ + + + + + + + + \ No newline at end of file diff --git a/Version - 41/upgrade.html b/Version - 41/upgrade.html new file mode 100644 index 0000000..d6138fb --- /dev/null +++ b/Version - 41/upgrade.html @@ -0,0 +1,84 @@ + + + + + + + + + + BRB - Upgrades + + + + + + + +
+ +
+
+ +

+
+
+ +
+
+ +
+

BRB

+ +
+ +
+ +

+
+ + +
+

Prestige

+ +
+ +
+
+ + + +
+ +

+

+
+
+ + + + + + + \ No newline at end of file diff --git a/Version - 42/CNAME b/Version - 42/CNAME new file mode 100644 index 0000000..31e4b89 --- /dev/null +++ b/Version - 42/CNAME @@ -0,0 +1 @@ +www.mreidam-brb.com \ No newline at end of file diff --git a/Version - 42/changelog b/Version - 42/changelog new file mode 100644 index 0000000..09754a6 --- /dev/null +++ b/Version - 42/changelog @@ -0,0 +1,144 @@ + v42 + Added: Better syntaxes for both of the languages + + Fixed: YT button :D + Shop gen text now aligned to be centered + + Removed: Adds + + Note: button!!! + + v41 + Added: Settings + Into every menu transportation only to BRB, Shop, Upgrades, Settings + Prettier design of the colored 'topbar' aka Jonathan + + Fixed: nothing (I think) + + Removed: Things from BRB that are in Settings + v40.5.3 + Added: https://www.mreidam-brb.com/fun + + v40.5.2 + Added: Metatags for BRB + + Fixed: Buying Single Owls causing deleting pythons not snakes + in the "cool" menu + flashbang (loading window were always white at the start (now great with my eys)) + text color in main brb + text shadow! + v40.5 + Added: Edited scrollbar + + Fixed: Shop buttons for Czech + v40 + Added: Otters + Meerkats + Raccoons + Owls + Prestige! + !!!DARK_MODE!!! + Upgrades: - More Click per Click + Links to videos for help() + better clicks counter in BRB + NEW Lemons buying system (pain for user) from 1 (maybe 0) to 99 + new bigger numbers (sextillion, quintillion, ext...) + cursor: pointer; for buttons + + Removed: Lang Missing button + PNG files for some animals (now using SVG!) + + Fixed: Upgrades section + My mentality + For new thing adding || + + Note: NOW Promote in Wallpaper engine AND Instagram + Add Complete history page + Sounds? + + + + v39 + Added: Pythons + Giraffes + New Nav. bar for Shop + New Navigation bar for BRB + Setting in the nav bar (mostly in BRB) + + Removed: From BRB: + Go to Shop btn + Flag for lang + Reset + Help + From Shop: + Go to BRB + Go to Shop + + Fixed: Clicks number in Shop + + Note: please add Dark mode and into Wall. eng + + v38 + Added: Snakes + Cheetas + new UI design for Shop Goer buttons and click displayer + new UI for flags + !!FIXED_BUTTONS_AND_CLICKS_IN_SHOP + Animated clicking for click displayer + + Removed: Nothing + + Fixed: Nothing + + Note: FIRST VERSION ON DA NEEEW DOMAIN + + onto wallpaper engine :D // no + + v37 + Added: Better Language + Porcupines + Hippos + Buy Option - Clicks for E V E R Y T H I N G* + *exept Lemonds + L. Trees (Upgrades) + into local.storage almost 20 new animals (I HOPE) + Hidden Prestige multiplier (¯\_(ツ)_/¯) + 'Coming soon...' to Upgrade menu + + Removed: Nothing + + Fixed: !!!!BRAND_NEW_SHOP_USER_INteRFACE!!!! + Shop I fixed shop (hapines) + - Shop.pain + -wanna cry + + Note: Make the game harder (To eazy) + Main.js - 274 lines + Shop.js - 631 lines + + + v36 + Added: Better Czech version + Buy Option - Clicks for Cats + + Fixed: BRB now still + + v35 + Added: Platapuses + Better Ui + Now Czech Version + + Fixed: Items not loading propebly + + + v34 + Added: New Button to Upgrades menu + Shop UI + + Fixed: Finally fixed NaN, Undefined, Null error + + v33 + Added: New UI for shop + + v32 /* 18.4. 2023 */ + Added: max value shop for wolfs, whales, hamsters, capybaras + icons for said animals + new interface for BRB clicking + + Removed: scrolling in BRB clicking + + Fixed: button to get to the shop was updated + + v31 + undefined and NaN fix for adding new animals \ No newline at end of file diff --git a/Version - 42/css/brb.css b/Version - 42/css/brb.css new file mode 100644 index 0000000..ff5e655 --- /dev/null +++ b/Version - 42/css/brb.css @@ -0,0 +1,223 @@ +@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap'); +body{ + user-select: none; + padding: 0; + margin: 0; + background-color: #333; + box-sizing: border-box; + overflow: hidden; +} +#tycoon{ + position: absolute; + width: 100%; + height: 200px; + background: #333; + font-size: 15pt; +} +#logclick{ + position: absolute; + width: 100%; + top: 60px; + left: 50%; + text-align: center; + transform: translate(-50%,0); + font-size: 17.5pt; +} +@media only screen and (max-width: 700px){ + #logclick{font-size: 15pt;} +} +#disclick{ + position: absolute; + width: 100%; +} + +/*BRB*/ +#unpressed{ + position: absolute; + width: 300px; + height: 300px; + border-radius: 150px; +} +#pressed{ + position: absolute; + width: 300px; + height: 300px; + visibility: hidden; + border-radius: 150px; +} +#button{ + user-select: none; + position: absolute; + top: 50%; + left: 50%; + margin: -150px 0 0 -150px; + border-radius: 150px; + cursor: pointer; +} +/* Other BTNS */ + +.menu-container{ + position: absolute; + top: 50px; + left: 50%; + transform: translate(-50%, -50%); + width: 300px; + display: flex; + align-items: center; + justify-content: center; + font-family: 'Poppins'; +} +.button{ + position: relative; + background: #1b1b1b; + color: #fff; + font-size: 20px; + padding: 8px 20px; + width: 150px;/* 100% */ + line-height: 30px; + display: flex; + align-items: center; + justify-content: space-between; + border-radius: 25px; + cursor: pointer; + transition: width .4s; +} +.button.expand{ + width: 100%; +} +.fas.expand:before{ + content: '\f00d'; +} +ul{ + list-style: none; + position: absolute; + top: 65px; + display: block; + background: #1b1b1b; + width: 100%; + text-align: center; + border-radius: 5px; + display: none; + box-shadow: 0 3px 6px rgba(0,0,0,.3); + padding-inline-start: 0px; +} +ul:before{ + position: absolute; + content: ''; + width: 20px; + height: 20px; + background: #1b1b1b; + top: -10px; + right: 15px; + transform: rotate(45deg); + z-index: -1; +} +ul li{ + line-height: 35px; + padding: 8px 20px; + cursor: pointer; + border-bottom: 1px solid rgba(255,255,255,.1); +} +ul li:hover:first-child{ + border-radius: 5px 5px 0 0; +} +ul li:hover:last-child{ + border-radius: 0 0 5px 5px; +} +ul li:hover{ + box-shadow: inset 0 0 5px #33ff33, + inset 0 0 10px #66ff66; +} +ul li:last-child{ + border-bottom: none; +} +ul li a{ + display: block; + width: 100%; + height: 100%; + color: #fff; + font-size: 18px; + text-decoration: none; +} +ul li:hover a{ + color: #44dd44; +} + +.socmenu{ + position: absolute; + left: -45px; + bottom: -45px; + width: 220px; + height: 220px; + display: flex; + justify-content: center; + align-items: center; +} +.socmenu .toggle{ + position: relative; + width: 100px; + height: 100px; + border: 1px solid rgba(255,255,255,0.1); + border-radius: 50%; + box-shadow: + 0 25px 15px rgba(0,0,0,0.25), + 0 25px 20px rgba(0,0,0,0.1); + backdrop-filter: blur(10px); + display: flex; + justify-content: center; + align-items: center; + cursor: pointer; + font-size: 3em; + color: #fff; + z-index: 1000000; +} +.socmenu .toggle ion-icon{position:absolute;opacity:0;transition:0.5s;} +.socmenu .toggle ion-icon:nth-child(1){opacity:1;transform:rotate(360deg);} +.socmenu.active .toggle ion-icon:nth-child(1){opacity:0;transform:rotate(0deg);} +.socmenu .toggle ion-icon:nth-child(2){opacity:0;transform:rotate(0deg);} +.socmenu.active .toggle ion-icon:nth-child(2){opacity:1;transform:rotate(360deg);} +.socmenu li{ + position: absolute; + left: 0; + list-style: none; + transform-origin: 110px; + transition: 0.5s; + transition-delay: calc(0.05s*var(--i)); + transform: rotate(calc(360deg/4*var(--i))); + scale: 0; + z-index: 1; + border-radius: 50%; + overflow: hidden; +} +.socmenu li::before{ + content: ''; + position: absolute; + top: 0; + left: -30px; + width: 20px; + height: 100%; + background: #fff; + z-index: 10; + transform: skewX(325deg) translateX(0); + box-shadow: -5px 0 0 #fff5; + transition: 0.5s; +} +.socmenu li:hover::before{ + transform: skewX(325deg) translateX(180px); + box-shadow: -50px 0 0 #fff5; +} +.socmenu.active li{scale:1;} +.socmenu li a{ + position: relative; + display: flex; + justify-content: center; + align-items: center; + width: 80px; + height: 80px; + background: var(--clr); + color: #fff; + font-size: 2.25em; + border-radius: 50%; + transform: rotate(calc(360deg/-4*var(--i))); + box-shadow: 0 3px 4px rgba(0,0,0,0.15) +} \ No newline at end of file diff --git a/Version - 42/css/sett.css b/Version - 42/css/sett.css new file mode 100644 index 0000000..5801d04 --- /dev/null +++ b/Version - 42/css/sett.css @@ -0,0 +1,152 @@ +@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap'); +*{ + margin: 0; + padding: 0; + box-sizing: border-box; + text-align: center; +} +body{ + user-select: none; + background-color: #333; +} +#jonathan{ + position: fixed; + top: 0%; + width: 100%; + height: 200px; + background: radial-gradient(125% 100% at 50% 0%,#fa552c 20%,transparent 70%); +} +.main{ + display: flex; + flex-wrap: wrap; + justify-content: center; +} +.item{ + position: relative; + /* border: none; */ + top: 5px; + margin: 2rem 3vw 2rem 3vw; + padding: 1rem 2rem; + border-radius: 6.9px; + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; + width: 350px; + height: 100px; + filter: drop-shadow(0px 20px 14px #444); +} +button{ + width: 32px; + height: 32px; + border-radius: 0.5rem; + border: none; + filter: drop-shadow(10px 10px 14px #444); +} + + + + + + + +/* Menu */ + +.menu-container{ + position: fixed; + top: 50px; + left: 50%; + transform: translate(-50%, -50%); + width: 300px; + display: flex; + align-items: center; + justify-content: center; + font-family: 'Poppins'; + z-index: 500; +} +.button{ + position: relative; + background: #1b1b1b; + color: #fff; + font-size: 20px; + padding: 8px 20px; + width: 150px;/* 100% */ + line-height: 30px; + display: flex; + align-items: center; + justify-content: space-between; + border-radius: 25px; + cursor: pointer; + transition: width .4s; + /* By MrEidam */ +} +.button.expand{ + width: 100%; +} +.fas.expand:before{ + content: '\f00d'; +} +ul{ + list-style: none; + position: absolute; + top: 65px; + display: block; + background: #1b1b1b; + width: 100%; + text-align: center; + border-radius: 5px; + display: none; + box-shadow: 0 3px 6px rgba(0,0,0,.3); + padding-inline-start: 0px; +} +ul:before{ + position: absolute; + content: ''; + width: 20px; + height: 20px; + background: #1b1b1b; + top: -10px; + right: 15px; + transform: rotate(45deg); + z-index: -1; +} +ul li{ + line-height: 35px; + padding: 8px 20px; + cursor: pointer; + border-bottom: 1px solid rgba(255,255,255,.1); +} +ul li:hover:first-child{ + border-radius: 5px 5px 0 0; +} +ul li:hover:last-child{ + border-radius: 0 0 5px 5px; +} +ul li:hover{ + box-shadow: inset 0 0 5px #33ff33, + inset 0 0 10px #66ff66; +} +ul li:last-child{ + border-bottom: none; +} +ul li a{ + display: block; + width: 100%; + height: 100%; + /* By MrEidam */ + color: #fff; + font-size: 18px; + text-decoration: none; +} +ul li:hover a{ + color: #44dd44; +} + +::-webkit-scrollbar{ + background: transparent; + width: 5px; +} +::-webkit-scrollbar-thumb{ + background: linear-gradient(transparent, #00ec00); + border-radius: 0 0 0.5rem 0.5rem; +} \ No newline at end of file diff --git a/Version - 42/css/shop.css b/Version - 42/css/shop.css new file mode 100644 index 0000000..991ae7e --- /dev/null +++ b/Version - 42/css/shop.css @@ -0,0 +1,252 @@ +@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap'); +*{ + /* By MrEidam */ + margin: 0; + padding: 0; + user-select: none; + box-sizing: border-box; + scroll-behavior: smooth; +} + +body { + font-size: 15pt; + background-color: #333; +} + +/* Clisks */ +#jonathan{ + position: fixed; + z-index: 1; + display: flex; + justify-content: center; + align-items: center; + height: 200px; + width: 100%; + margin: 0; + top: 0; + background: radial-gradient(125% 100% at 50% 0%,#11ABFF 20%,transparent 70%); +/* By MrEidam */ +} +#logclick{ + position: relative; + display: flex; + align-items: center; + justify-content: center; + gap: 5ch; + margin: 0 5vw 0 5vw; + padding: 1rem; + border-radius: 1rem; + z-index: 69; + width: auto; + top: 30px; + height: 85px; + filter: drop-shadow(10px 8px 6px #333); +} + +#imgcli{ + width: 50px; + height: 50px; + margin: 0.1rem; + width: 100px; + aspect-ratio: 1/1; + margin: 0.5rem; + object-fit: contain; + pointer-events: none; +} + +.backtop{ + height: 230px; + max-width: auto; + margin: 0 1.5vw 0 1.5vw; + border-radius: 0 0 90px 90px; + background: linear-gradient(#11ABFF, #ccccccab); +} + +.main{ + display: flex; + flex-wrap: wrap; + justify-content: center; +} + + +/* By MrEidam */ +.item{ + border: none; + top: 5px; + margin: 2rem 3vw 2rem 3vw; + padding: 1rem; + border-radius: 6.9px; + display: flex; + flex-direction: column; + justify-content: space-evenly; + align-items: center; + width: 500px; + height: 340px; + filter: drop-shadow(0px 20px 14px #444); + text-align: center; +} + +.item img{ + width: 100px; + aspect-ratio: 1/1; + margin: 0.5rem; + object-fit: contain; + filter: drop-shadow(10px 8px 6px #333); + pointer-events: none +} +.buttons{ + display: flex; + justify-content: space-around; +} +/* By MrEidam */ +.buttons button{ + background-color: var(--Bcolor); + border-radius: 8px; + margin: 1rem; +} + +.buyone{ + width: 200px; + height: 50px; + cursor: pointer; +} + +.buymax{ + width: 50px; + height: 50px; + cursor: pointer; +} + +/* By MrEidam */ + +.clickbtn{ + display: flex; + justify-content: space-around; +} +.clickbtn button{ + background-color: var(--Bcolor); + border-radius: 8px; + margin: 0 1rem 0.5rem 1rem; +} + +.row{ + display: flex; + flex-direction: row; + justify-content: center; +} +button{ + border: none; + filter: drop-shadow(8px 6px 4px #555); +} +@media only screen and (max-width: 555px){ + .row{ + flex-direction: column; + justify-content: center; + } + .item{ + width: auto; + margin: 2rem 10vw 2rem 10vw; + } +} + + +/* Menu */ + +.menu-container{ + position: fixed; + top: 50px; + left: 50%; + transform: translate(-50%, -50%); + width: 300px; + display: flex; + align-items: center; + justify-content: center; + font-family: 'Poppins'; + z-index: 500; +} +.button{ + position: relative; + background: #1b1b1b; + color: #fff; + font-size: 20px; + padding: 8px 20px; + width: 150px;/* 100% */ + line-height: 30px; + display: flex; + align-items: center; + justify-content: space-between; + border-radius: 25px; + cursor: pointer; + transition: width .4s; +/* By MrEidam */ +} +.button.expand{ + width: 100%; +} +.fas.expand:before{ + content: '\f00d'; +} +ul{ + list-style: none; + position: absolute; + top: 65px; + display: block; + background: #1b1b1b; + width: 100%; + text-align: center; + border-radius: 5px; + display: none; + box-shadow: 0 3px 6px rgba(0,0,0,.3); + padding-inline-start: 0px; +} +ul:before{ + position: absolute; + content: ''; + width: 20px; + height: 20px; + background: #1b1b1b; + top: -10px; + right: 15px; + transform: rotate(45deg); + z-index: -1; +} +ul li{ + line-height: 35px; + padding: 8px 20px; + cursor: pointer; + border-bottom: 1px solid rgba(255,255,255,.1); +} +ul li:hover:first-child{ + border-radius: 5px 5px 0 0; +} +ul li:hover:last-child{ + border-radius: 0 0 5px 5px; +} +ul li:hover{ + box-shadow: inset 0 0 5px #33ff33, + inset 0 0 10px #66ff66; +} +ul li:last-child{ + border-bottom: none; +} +ul li a{ + display: block; + width: 100%; + height: 100%; +/* By MrEidam */ + color: #fff; + font-size: 18px; + text-decoration: none; +} +ul li:hover a{ + color: #44dd44; +} + +::-webkit-scrollbar{ + background: transparent; + width: 5px; +} +::-webkit-scrollbar-thumb{ + background: linear-gradient(transparent, #00ec00); + border-radius: 0 0 0.5rem 0.5rem; +} \ No newline at end of file diff --git a/Version - 42/css/upgr.css b/Version - 42/css/upgr.css new file mode 100644 index 0000000..70107ca --- /dev/null +++ b/Version - 42/css/upgr.css @@ -0,0 +1,282 @@ +@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap'); +*{ + margin: 0; + padding: 0; + user-select: none; + box-sizing: border-box; +} + +body { + font-size: 15pt; + background-color: #333; +} +#jonathan{ + position: fixed; + z-index: 1; + display: flex; + justify-content: center; + align-items: center; + height: 200px; + width: 100%; + margin: 0; + top: 0; + background: radial-gradient(125% 100% at 50% 0%,#efff11 20%,transparent 70%); +} + +/* By MrEidam */ + +/* Lemons */ +#loglm{ + position: relative; + display: flex; + align-items: center; + justify-content: center; + gap: 5ch; + margin: 0 5vw 0 5vw; + padding: 1rem; + border: 5px dashed #d3e418e1; + border-radius: 1rem; + z-index: 69; + width: auto; + top: 30px; + height: 85px; + filter: drop-shadow(10px 8px 6px #333); +} + +#imglm{ + width: 50px; + height: 50px; + margin: 0.1rem; + width: 100px; + aspect-ratio: 1/1; + margin: 0.1rem; + object-fit: contain; + pointer-events: none; +} +/* By MrEidam */ + +main{ + display: flex; + flex-wrap: wrap; + justify-content: center; +} + + +/* By MrEidam */ +.item{ + border: none; + top: 5px; + margin: 2rem 3vw 2rem 3vw; + padding: 1rem; + border-radius: 6.9px; + display: flex; + flex-direction: column; + justify-content: space-evenly; + align-items: center; + width: 500px; + height: 390px; + filter: drop-shadow(0px 20px 14px #444); +} + +.item img{ + width: 100px; + aspect-ratio: 1/1; + margin: 0.5rem; + object-fit: contain; + + filter: drop-shadow(10px 8px 6px #333); + pointer-events: none +} +.buttons{ + display: flex; + justify-content: space-around; +} +/* By MrEidam */ +.buttons button{ + background-color: var(--Bcolor); + border-radius: 8px; + margin: 1rem; +} + +.buyone{ + width: 200px; + height: 50px; +} + +.buyTone{ + width: 100px; + height: 50px; +} + +.buymax{ + width: 50px; + height: 50px; +} + +/* By MrEidam */ + +.clickbtn{ + display: flex; + justify-content: space-around; +} +.clickbtn button{ + background-color: var(--Bcolor); + border-radius: 8px; + margin: 0 1rem 0.5rem 1rem; +} + +.row{ + display: flex; + flex-direction: row; + justify-content: center; +} +button{ + border: none; + cursor: pointer; + filter: drop-shadow(8px 6px 4px #555); +} + +@media only screen and (max-width: 550px){ + .row{ + flex-direction: column; + justify-content: center; + } + .item{ + width: auto; + margin: 2rem 10vw 2rem 10vw; + } +} + + +#prog{ + appearance: none; + width: 200px; +} + +h2{ + text-transform: uppercase; + letter-spacing: 5px; + font-weight: 900; + word-spacing: 10px; +} + +#ItsTime{ + position: relative; + margin: 1rem; + width: 69%; + height: 69px; + display: none; + border-radius: 6.9px; + transition: 0.5s; + animation: time 1s linear infinite; + background-color: #3d3; + text-transform: uppercase; + letter-spacing: 5px; + font-weight: 900; + word-spacing: 10px; + font-family: 'Poppins', sans-serif; + cursor: cell; +} + +@keyframes time{ + from{filter: hue-rotate(0deg);} + to{filter: hue-rotate(360deg);} +} + + +.menu-container{ + position: fixed; + top: 50px; + left: 50%; + transform: translate(-50%, -50%); + width: 300px; + display: flex; + align-items: center; + justify-content: center; + font-family: 'Poppins'; + z-index: 500; +} +.button{ + position: relative; + background: #1b1b1b; + color: #fff; + font-size: 20px; + padding: 8px 20px; + width: 150px;/* 100% */ + line-height: 30px; + display: flex; + align-items: center; + justify-content: space-between; + border-radius: 25px; + cursor: pointer; + transition: width .4s; +} +.button.expand{ + width: 100%; +} +.fas.expand:before{ + content: '\f00d'; +} +ul{ + list-style: none; + position: absolute; + top: 65px; + display: block; + background: #1b1b1b; + width: 100%; + text-align: center; + border-radius: 5px; + display: none; + box-shadow: 0 3px 6px rgba(0,0,0,.3); + padding-inline-start: 0px; +} +ul:before{ + position: absolute; + content: ''; + width: 20px; + height: 20px; + background: #1b1b1b; + top: -10px; + right: 15px; + transform: rotate(45deg); + z-index: -1; +} +ul li{ + line-height: 35px; + padding: 8px 20px; + cursor: pointer; + border-bottom: 1px solid rgba(255,255,255,.1); +} +ul li:hover:first-child{ + border-radius: 5px 5px 0 0; +} +ul li:hover:last-child{ + border-radius: 0 0 5px 5px; +} +ul li:hover{ + box-shadow: inset 0 0 5px #33ff33, + inset 0 0 10px #66ff66; +} +ul li:last-child{ + border-bottom: none; +} +ul li a{ + display: block; + width: 100%; + height: 100%; + color: #fff; + font-size: 18px; + text-decoration: none; +} +ul li:hover a{ + color: #44dd44; +} + +::-webkit-scrollbar{ + background: transparent; + width: 10px; +} +::-webkit-scrollbar-thumb{ + background: linear-gradient(transparent, #00ec00); + border-radius: 0 0 0.5rem 0.5rem; +} \ No newline at end of file diff --git a/Version - 42/fun/fun.gif b/Version - 42/fun/fun.gif new file mode 100644 index 0000000..bb876fd Binary files /dev/null and b/Version - 42/fun/fun.gif differ diff --git a/Version - 42/fun/fun.mp4 b/Version - 42/fun/fun.mp4 new file mode 100644 index 0000000..b734c33 Binary files /dev/null and b/Version - 42/fun/fun.mp4 differ diff --git a/Version - 42/fun/index.html b/Version - 42/fun/index.html new file mode 100644 index 0000000..e45130f --- /dev/null +++ b/Version - 42/fun/index.html @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 42/img/Porcupine.png b/Version - 42/img/Porcupine.png new file mode 100644 index 0000000..3dc2007 Binary files /dev/null and b/Version - 42/img/Porcupine.png differ diff --git a/Version - 42/img/YT.png b/Version - 42/img/YT.png new file mode 100644 index 0000000..dc7bcad Binary files /dev/null and b/Version - 42/img/YT.png differ diff --git a/Version - 42/img/angel-wings.svg b/Version - 42/img/angel-wings.svg new file mode 100644 index 0000000..a4a8b0c --- /dev/null +++ b/Version - 42/img/angel-wings.svg @@ -0,0 +1,5 @@ + + +angel-wings + + diff --git a/Version - 42/img/brb-pressed.png b/Version - 42/img/brb-pressed.png new file mode 100644 index 0000000..71f01ab Binary files /dev/null and b/Version - 42/img/brb-pressed.png differ diff --git a/Version - 42/img/brb-still.png b/Version - 42/img/brb-still.png new file mode 100644 index 0000000..ad1141d Binary files /dev/null and b/Version - 42/img/brb-still.png differ diff --git a/Version - 42/img/capybara.svg b/Version - 42/img/capybara.svg new file mode 100644 index 0000000..5f6a283 --- /dev/null +++ b/Version - 42/img/capybara.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 42/img/cat-body.svg b/Version - 42/img/cat-body.svg new file mode 100644 index 0000000..abce513 --- /dev/null +++ b/Version - 42/img/cat-body.svg @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 42/img/cat-head.svg b/Version - 42/img/cat-head.svg new file mode 100644 index 0000000..8591d06 --- /dev/null +++ b/Version - 42/img/cat-head.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 42/img/cheetah.svg b/Version - 42/img/cheetah.svg new file mode 100644 index 0000000..ec5c2eb --- /dev/null +++ b/Version - 42/img/cheetah.svg @@ -0,0 +1,506 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 42/img/click-click.svg b/Version - 42/img/click-click.svg new file mode 100644 index 0000000..6b91a3a --- /dev/null +++ b/Version - 42/img/click-click.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 42/img/click-rest.svg b/Version - 42/img/click-rest.svg new file mode 100644 index 0000000..0521add --- /dev/null +++ b/Version - 42/img/click-rest.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + diff --git a/Version - 42/img/dog.svg b/Version - 42/img/dog.svg new file mode 100644 index 0000000..51c2b4f --- /dev/null +++ b/Version - 42/img/dog.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 42/img/fox.svg b/Version - 42/img/fox.svg new file mode 100644 index 0000000..13704a4 --- /dev/null +++ b/Version - 42/img/fox.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 42/img/girafe.svg b/Version - 42/img/girafe.svg new file mode 100644 index 0000000..82a0d8a --- /dev/null +++ b/Version - 42/img/girafe.svg @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 42/img/hamster.svg b/Version - 42/img/hamster.svg new file mode 100644 index 0000000..9e33099 --- /dev/null +++ b/Version - 42/img/hamster.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 42/img/help.svg b/Version - 42/img/help.svg new file mode 100644 index 0000000..2b1c970 --- /dev/null +++ b/Version - 42/img/help.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 42/img/hippopotamus.png b/Version - 42/img/hippopotamus.png new file mode 100644 index 0000000..2df7046 Binary files /dev/null and b/Version - 42/img/hippopotamus.png differ diff --git a/Version - 42/img/icons8-clicked.png b/Version - 42/img/icons8-clicked.png new file mode 100644 index 0000000..8a4b40f Binary files /dev/null and b/Version - 42/img/icons8-clicked.png differ diff --git a/Version - 42/img/icons8-rest.svg b/Version - 42/img/icons8-rest.svg new file mode 100644 index 0000000..6d7d9a9 --- /dev/null +++ b/Version - 42/img/icons8-rest.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 42/img/info.svg b/Version - 42/img/info.svg new file mode 100644 index 0000000..9ccf452 --- /dev/null +++ b/Version - 42/img/info.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 42/img/lemon-tree.svg b/Version - 42/img/lemon-tree.svg new file mode 100644 index 0000000..15e28da --- /dev/null +++ b/Version - 42/img/lemon-tree.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 42/img/lemon.svg b/Version - 42/img/lemon.svg new file mode 100644 index 0000000..e6dafd4 --- /dev/null +++ b/Version - 42/img/lemon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 42/img/meerkat.svg b/Version - 42/img/meerkat.svg new file mode 100644 index 0000000..e41fb8f --- /dev/null +++ b/Version - 42/img/meerkat.svg @@ -0,0 +1,1644 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 42/img/otter.svg b/Version - 42/img/otter.svg new file mode 100644 index 0000000..5ea0173 --- /dev/null +++ b/Version - 42/img/otter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 42/img/owl.svg b/Version - 42/img/owl.svg new file mode 100644 index 0000000..8bbb16c --- /dev/null +++ b/Version - 42/img/owl.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 42/img/platapus.png b/Version - 42/img/platapus.png new file mode 100644 index 0000000..928bbc4 Binary files /dev/null and b/Version - 42/img/platapus.png differ diff --git a/Version - 42/img/python.svg b/Version - 42/img/python.svg new file mode 100644 index 0000000..141be08 --- /dev/null +++ b/Version - 42/img/python.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 42/img/racoon.svg b/Version - 42/img/racoon.svg new file mode 100644 index 0000000..30c8872 --- /dev/null +++ b/Version - 42/img/racoon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 42/img/settings.svg b/Version - 42/img/settings.svg new file mode 100644 index 0000000..52bfffd --- /dev/null +++ b/Version - 42/img/settings.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 42/img/shop.png b/Version - 42/img/shop.png new file mode 100644 index 0000000..7dadb79 Binary files /dev/null and b/Version - 42/img/shop.png differ diff --git a/Version - 42/img/snake.svg b/Version - 42/img/snake.svg new file mode 100644 index 0000000..1753178 --- /dev/null +++ b/Version - 42/img/snake.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 42/img/svg.svg b/Version - 42/img/svg.svg new file mode 100644 index 0000000..50119a7 --- /dev/null +++ b/Version - 42/img/svg.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 42/img/upgrade-icon-png-12.jpg b/Version - 42/img/upgrade-icon-png-12.jpg new file mode 100644 index 0000000..4306888 Binary files /dev/null and b/Version - 42/img/upgrade-icon-png-12.jpg differ diff --git a/Version - 42/img/whale.svg b/Version - 42/img/whale.svg new file mode 100644 index 0000000..5d76311 --- /dev/null +++ b/Version - 42/img/whale.svg @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 42/img/wolf.svg b/Version - 42/img/wolf.svg new file mode 100644 index 0000000..af40205 --- /dev/null +++ b/Version - 42/img/wolf.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 42/index.html b/Version - 42/index.html new file mode 100644 index 0000000..e55261b --- /dev/null +++ b/Version - 42/index.html @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + BRB - Clicking + + + + + + + + +
+ + +
+

+

+ + +
+ + +
+ +
+ + +
+
  • + +
  • +
    + + +
    +
    + + + + + + \ No newline at end of file diff --git a/Version - 42/js/main.js b/Version - 42/js/main.js new file mode 100644 index 0000000..f55f01e --- /dev/null +++ b/Version - 42/js/main.js @@ -0,0 +1,178 @@ +// Items +let items; +let cs = 0; +let anime = false; + +function load(){ + if (localStorage.getItem('items')!=null){ + items = JSON.parse(localStorage.getItem('items')); + } +} + +window.onload = function(){ + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + hamsters:0, + whales:0, + capybaras:0, + platapuses:0, + porcupines:0, + hippos:0, + snakes:0, + cheetahs:0, + pythons:0, + girrafes:0, + lions:0, + otters:0, + meerkat:0, + raccoon:0, + owl:0, + badger:0, + squirrel:0, + chameleon:0, + chicken:0, + wombat:0, + panther:0, + coyote:0, + frog:0, + bear:0, + pig:0, + + + + lemons:0, + lt3:0, + lang:0, + pres:1, + mode:0, + Mclick:1, + token:0, + } + load(); + update(); + for(let item in items){ + if(!items.item){ + items.item = 0; + } + } + cash(); + checklang() + LDmodes() +} + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + if(items.lang == 1){ + document.getElementById('disclick').innerHTML=`You've got ${fornum(items.clicks)} clicks, and generating ${fornum(cs*items.pres)} c/s!` + } + if(items.lang == 0){ + document.getElementById('disclick').innerHTML=`Právě máš ${fornum(items.clicks)} kliků a generuješ ${fornum(cs*items.pres)} k/s!` + } + if((items.mode != 0)&&(items.mode != 1)){ + items.mode = 0; + } + checklang(); +} + +// Upload +function upload(){update();load();} + +// BRB +function beriba(){ + document.getElementById('unpressed').style.visibility='visible' + document.getElementById('pressed').style.visibility='hidden' + anime=true; +} + +function clicking(){ + items.clicks += 1*(items.Mclick||1)*items.pres; + update(); + + document.getElementById('unpressed').style.visibility='hidden' + document.getElementById('pressed').style.visibility='visible' + anime=false; + + setTimeout(beriba, 75); +} + +function cash(){ + setTimeout (function money(){ + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000; + items.clicks += cs*items.pres; + update();cash(); + },1000) +} + +// Languages Cz || Uk +function checklang(){ + if(items.lang == 0){ /* CZ */ + document.documentElement.setAttribute('lang', 'cz'); + shop.innerHTML = 'Obchod'; + upg.innerHTML = 'Vylepšení'; + sett.innerHTML = 'Nastavení'; + }else if(items.lang == 1){ /* UK */ + document.documentElement.setAttribute('lang', 'en'); + shop.innerHTML = 'Shop'; + upg.innerHTML = 'Upgrades'; + sett.innerHTML = 'Settings'; + } +} + +// Dark || Light Mode +function LDmodes(){ + if((items.mode||0) == 0){// Light Mode + body.style.background = '#fff'; + tycoon.style.background = 'radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#fff 70%)'; + disclick.style.color = '#000'; + disclick.style.textShadow = ""; + soctog.style.color ='#000'; + }else if(items.mode == 1){// Dark Mode + body.style.background = '#333'; + tycoon.style.background = 'radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#333 70%)'; + disclick.style.color = '#f5f5f5'; + disclick.style.textShadow = "2px 2px 4px #000"; + soctog.style.color = '#fff'; + } + upload(); +} + +// Function to convert a number into a more readable format +function fornum(num){ + if(items.lang == 0){ + const suffixes = ['', ' tis.', ' mil.', ' mld.', ' bil.', ' bld.', ' tril.', ' trild.', ' kvad.', ' kvadld.', ' quint.', ' quintld.', ' sext.', ' sextld.', ' sept.', ' septld.', ' okt.', ' oktld.', ' non.', ' nonld.', ' dec.', ' decld.', ' undec.', ' undecld.', ' duodec.', ' duodecld.', ' tredec.', ' tredecld.', ' kvaddec.', ' kvaddecld.', ' quintdec.', ' quintdecld.', ' sextdec.', ' sextdecld.', ' googol']; + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + num = Math.floor(num * 10) / 10; + return num + suffixes[i]; + }else{ + const suffixes = ['', ' k', ' mil', ' bil', ' tri', ' quad', ' qui', ' sex', ' sep', ' oct', ' non', ' dec', ' und', ' duo', ' tre', ' qua', ' qui', ' sex', ' sep', ' oct', ' nov', ' vig', ' uvi', ' dvi', ' tvi', ' qvi', ' qv', ' svi', ' spv', ' ov', ' nv', ' cen', ' ucn', ' dcn', ' googol']; + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + num = Math.floor(num * 10) / 10; + return num + suffixes[i]; + } +} + +addEventListener("keyup", (event) => { + if(event.key == ' ' || event.key == 'Enter'){ + clicking(); + } +}) + +let toggle = document.querySelector('.toggle'); +let socmenu = document.querySelector('.socmenu'); +toggle.onclick = function(){ + socmenu.classList.toggle('active'); +}; \ No newline at end of file diff --git a/Version - 42/js/menu.js b/Version - 42/js/menu.js new file mode 100644 index 0000000..342fbe0 --- /dev/null +++ b/Version - 42/js/menu.js @@ -0,0 +1,16 @@ +$(document).ready(function(){ + $('.button').click(function(){ + if($(this).hasClass('expand')){ + $('ul').slideUp(function(){ + $('.button').removeClass('expand'); + $('.fas').removeClass('expand'); + }) + }else{ + $(this).addClass('expand'); + setTimeout(function(){ + $('.fas').addClass('expand'); + $('ul').stop().slideDown(); + },200); + } + }) +}) \ No newline at end of file diff --git a/Version - 42/js/sett.js b/Version - 42/js/sett.js new file mode 100644 index 0000000..c4df88a --- /dev/null +++ b/Version - 42/js/sett.js @@ -0,0 +1,210 @@ +let cs; +let items + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000; +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + LDmodes(); + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000; + let Btns = document.querySelectorAll('.change'); + if(items.lang == 1){ // EN + document.documentElement.setAttribute('lang', 'en'); + shop.innerHTML = 'Shop'; + upg.innerHTML = 'Upgrades'; + sett.innerHTML = 'Settings'; + if(items.mode == 0){ld.innerHTML = 'Do you want to
    switch to Dark mode?'; + }else if(items.mode == 1){ld.innerHTML = 'Do you want to
    switch to Light mode?';} + lg.innerHTML = 'Do you want to
    switch to Czech?'; + hl.innerHTML = 'Do you want to
    wantch a video for help?'; + rs.innerHTML = 'Do you want to
    completely reset?' + Btns.forEach((e) => { + e.innerHTML = 'Yes!'; + }); + } + if(items.lang == 0){ // CZ + document.documentElement.setAttribute('lang', 'cz'); + shop.innerHTML = 'Obchod'; + upg.innerHTML = 'Vylepšení'; + sett.innerHTML = 'Nastavení'; + if(items.mode == 0){ld.innerHTML = 'Chceš si zapnout
    Tmavý mód?'; + }else if(items.mode == 1){ld.innerHTML = 'Chceš si zapnout
    Světlý mód?';} + lg.innerHTML = 'Chceš si přepnout
    jazyk do Angličtiny?'; + hl.innerHTML = 'Chceš si pustit
    video pro pomoc?'; + rs.innerHTML = 'Chceš kompletně
    resetovat postup?' + Btns.forEach((e) => { + e.innerHTML = 'Ano!'; + }); +} +} +load(); + +// Upload +function upload(){update();load();} + +function cash(){ + setTimeout (function money(){ + items.clicks += cs*items.pres; + upload(); + cash(); + },1000); +} +cash(); + +// Dark || Light Mode +function SLDmodes(){ + if(items.mode==0){items.mode=1;upload();} + else if(items.mode==1){items.mode=0;upload();} + LDmodes(); +} +function LDmodes(){ + let Bimts = document.querySelectorAll('.item'); + let Btns = document.querySelectorAll('.change'); + let hhh = document.querySelectorAll('h3'); + if((items.mode||0) == 0){// Light Mode + body.style.background = '#ddd'; + Bimts.forEach((e) => { + e.style.background = '#ffefd5'; + }); + Btns.forEach((e) => { + e.style.background = '#8FBC8F'; + e.style.color = '#ccc'; + e.style.textShadow = "2px 2px 4px #000"; + }); + hhh.forEach((e) => { + e.style.color = '#000'; + e.style.textShadow = "2px 2px 4px #000"; + }); + }else if(items.mode == 1){// Dark Mode + body.style.background = '#333'; + Bimts.forEach((e) => { + e.style.background = '#666055'; + e.style.color = '#000'; + }); + Btns.forEach((e) => { + e.style.background = '#008B8B'; + e.style.color = '#ccc'; + e.style.textShadow = "2px 2px 4px #000"; + }); + hhh.forEach((e) => { + e.style.color = '#eee'; + e.style.textShadow = "2px 2px 4px #000"; + }); + } +} + +function language(){ + if(items.lang == 0){ /* CZ */ + items.lang = 1; + }else if(items.lang == 1){ /* UK */ + items.lang = 0; + } + upload(); +} + +// HELP +function help(){ + if(items.lang == 1){ /* EN */ + window.open('https://youtu.be/G0fP-l-05dM'); + }else if(items.lang == 0){ /* CZ */ + window.open('https://youtu.be/XhmETe4MSVI'); + } +} + +// Reset +function reset(){ + if((items.lang == 1) && confirm('Do you really want to reset everything?') && confirm('Are you sure?')){ + alert('Everything Reseted'); + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + hamsters:0, + whales:0, + capybaras:0, + platapuses:0, + porcupines:0, + hippos:0, + snakes:0, + cheetahs:0, + pythons:0, + girrafes:0, + lions:0, + otters:0, + meerkat:0, + raccoon:0, + owl:0, + badger:0, + squirrel:0, + chameleon:0, + chicken:0, + wombat:0, + panther:0, + coyote:0, + frog:0, + bear:0, + pig:0, + + + + lemons:0, + lt3:0, + lang:items.lang, + pres:1, + mode:items.mode, + Mclick:1, + token:0, + } + } + if((items.lang == 0) && confirm('Vážně chceš všechno resetovat?') && confirm('Seš si jistý?')){ + alert('Vše resetováno'); + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + hamsters:0, + whales:0, + capybaras:0, + platapuses:0, + porcupines:0, + hippos:0, + snakes:0, + cheetahs:0, + pythons:0, + girrafes:0, + lions:0, + otters:0, + meerkat:0, + raccoon:0, + owl:0, + badger:0, + squirrel:0, + chameleon:0, + chicken:0, + wombat:0, + panther:0, + coyote:0, + frog:0, + bear:0, + pig:0, + + lemons:0, + lt3:0, + lang:items.lang, + pres:1, + mode:items.mode, + Mclick:1, + token:0, + } + } +} diff --git a/Version - 42/js/shop.js b/Version - 42/js/shop.js new file mode 100644 index 0000000..d001698 --- /dev/null +++ b/Version - 42/js/shop.js @@ -0,0 +1,967 @@ +let cs + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000; +} +function c(x){ + items.clicks += x; + console.log(x + ' clicks added!'); + upload(); +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + LDmodes() + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000; + + if(items.lang == 1){ + document.documentElement.setAttribute('lang', 'en'); + shop.innerHTML = 'Shop'; + upg.innerHTML = 'Upgrades'; + sett.innerHTML = 'Settings'; + disclick.innerHTML=`You've got ${fornum(items.clicks)} clicks, and making ${fornum(cs*items.pres)} per second!` + disdog.innerHTML=`You've got ${fornum(items.dogs)} dogs!` + discat.innerHTML=`You've got ${fornum(items.cats)} cats!` + disfox.innerHTML=`You've got ${fornum(items.foxes)} foxes!` + diswol.innerHTML=`You've got ${fornum(items.wolfs)} wolfs!` + disham.innerHTML=`You've got ${fornum(items.hamsters)} hamsters!` + diswha.innerHTML=`You've got ${fornum(items.whales)} whales!` + discap.innerHTML=`You've got ${fornum(items.capybaras)} capybaras!` + displa.innerHTML=`You've got ${fornum(items.platapuses)} platypuses!` + dispor.innerHTML=`You've got ${fornum(items.porcupines)} porcupines!` + diship.innerHTML=`You've got ${fornum(items.hippos)} hippopotamuses!` + dissna.innerHTML=`You've got ${fornum(items.snakes)} snakes!` + dische.innerHTML=`You've got ${fornum(items.cheetahs)} cheetahs!` + dispyt.innerHTML=`You've got ${fornum(items.pythons)} pythons!` + disgir.innerHTML=`You've got ${fornum(items.girrafes)} giraffes!` + disoth.innerHTML=`You've got ${fornum(items.otters)} otters!` + dismee.innerHTML=`You've got ${fornum(items.meerkat)} meerkats!` + disrac.innerHTML=`You've got ${fornum(items.raccoon)} racoons!` + disowl.innerHTML=`You've got ${fornum(items.owl)} owls!` + + + + + document.getElementById('dislem').innerHTML=`You've got ${fornum(items.lemons)} lemons!` + document.getElementById('dislt3').innerHTML=`You've got ${fornum(items.lt3)} lemon trees!` + + + disdgmake.innerHTML=`They're generating ${fornum((items.dogs*1)*items.pres)} clicks per second!` + disctmake.innerHTML=`They're generating ${fornum((items.cats*12)*items.pres)} clicks per second!` + disfxmake.innerHTML=`They're generating ${fornum((items.foxes*18)*items.pres)} clicks per second!` + diswlmake.innerHTML=`They're generating ${fornum((items.wolfs*100)*items.pres)} clicks per second!` + dishmmake.innerHTML=`They're generating ${fornum((items.hamsters*130)*items.pres)} clicks per second!` + diswhmake.innerHTML=`They're generating ${fornum((items.whales*220)*items.pres)} clicks per second!` + discpmake.innerHTML=`They're generating ${fornum((items.capybaras*280)*items.pres)} clicks per second!` + displmake.innerHTML=`They're generating ${fornum((items.platapuses*400)*items.pres)} clicks per second!` + disprmake.innerHTML=`They're generating ${fornum((items.porcupines*650)*items.pres)} clicks per second!` + dishimake.innerHTML=`They're generating ${fornum((items.hippos*950)*items.pres)} clicks per second!` + dissnmake.innerHTML=`They're generating ${fornum((items.snakes*1000)*items.pres)} clicks per second!` + dischmake.innerHTML=`They're generating ${fornum((items.cheetahs*3000)*items.pres)} clicks per second!` + dispymake.innerHTML=`They're generating ${fornum((items.pythons*7800)*items.pres)} clicks per second!` + disgimake.innerHTML=`They're generating ${fornum((items.girrafes*8400)*items.pres)} clicks per second!` + disotmake.innerHTML=`They're generating ${fornum((items.otters*9000)*items.pres)} clicks per second!` + dismeemake.innerHTML=`They're generating ${fornum((items.meerkat*9800)*items.pres)} clicks per second!` + disramake.innerHTML=`They're generating ${fornum((items.raccoon*14500)*items.pres)} clicks per second!` + disowmake.innerHTML=`They're generating ${fornum((items.owl*16000)*items.pres)} clicks per second!` + + dg1.innerHTML = 'Buy a Dog for 100 clicks' + ct1.innerHTML = 'Buy a Cat for 10 dogs' + fx1.innerHTML = 'Buy a Fox for 15 dogs' + wl1.innerHTML = 'Buy a Wolf for
    6 dogs and 5 foxes' + hm1.innerHTML = 'Buy a Hamster for
    1 wolf and 2 cats' + wh1.innerHTML = 'Buy a Whale for 2 wolfs' + cp1.innerHTML = 'Buy a Capybara for
    1 whale and 4 cats' + pl1.innerHTML = 'Buy a Platypus for
    1 capybara and 1 wolf' + pr1.innerHTML = 'Buy a Porcupine for
    1 platypus and 1 whale' + hi1.innerHTML = 'Buy a Hippopotamus for
    1 porcupine and 2 hamsters' + sn1.innerHTML = 'Buy a Snake for
    2 whales and 4 hamsters' + ch1.innerHTML = 'Buy a Cheetah for
    2 snakes and 2 platypuses' + py1.innerHTML = 'Buy a Python for
    1 cheetah and 5 hippos' + gi1.innerHTML = 'Buy a Giraffe for
    1 python and 20 foxes' + ot1.innerHTML = 'Buy a Otter for
    1 giraffe and 2 capybaras' + me1.innerHTML = 'Buy a Meerkat for
    1 otter and 3 whales' + ra1.innerHTML = 'Buy a Raccoon for
    1 meerkat and 7 porcupines' + ow1.innerHTML = 'Buy a Owl for
    1 racoon and 1 snake' + + lm1.innerHTML = 'Buy a Lemon for some cats' + lt1.innerHTML = 'Buy a Lemon Tree for 5 lemons' + + // Buying for clicks + Cct1.innerHTML = 'Buy a Cat for
    1,2 k clicks' + Cfx1.innerHTML = 'Buy a Fox for
    1,8 k clicks' + Cwl1.innerHTML = 'Buy a Wolf for
    10 k clicks' + Chm1.innerHTML = 'Buy a Hamster for
    13 k clicks' + Cwh1.innerHTML = 'Buy a Whale for
    22 k clicks' + Ccp1.innerHTML = 'Buy a Capybara for
    28 k clicks' + Cpl1.innerHTML = 'Buy a Platypus for
    42 k clicks' + Cpr1.innerHTML = 'Buy a Porcupine for
    70 k clicks' + Chi1.innerHTML = 'Buy a Hippopotamus for
    100 k clicks' + Csn1.innerHTML = 'Buy a Snake for
    150 k clicks' + Cch1.innerHTML = 'Buy a Cheetah for
    350 k clicks' + Cpy1.innerHTML = 'Buy a Python for
    820 k clicks' + Cgi1.innerHTML = 'Buy a Giraffe for
    880 k clicks' + Cot1.innerHTML = 'Buy a Otter for
    950 k clicks' + Cme1.innerHTML = 'Buy a Meerkat for
    1 mil clicks' + Cra1.innerHTML = 'Buy a Raccoon for
    1.5 mil clicks' + Cow1.innerHTML = 'Buy a Owl for
    1.8 mil clicks' + } + if(items.lang == 0){ + document.documentElement.setAttribute('lang', 'cz'); + shop.innerHTML = 'Obchod'; + upg.innerHTML = 'Vylepšení'; + sett.innerHTML = 'Nastavení'; + document.getElementById('disclick').innerHTML=`Právě máš ${fornum(items.clicks)} kliků a děláš ${fornum(cs*items.pres)} za sekundu!` + document.getElementById('disdog').innerHTML=`Právě máš ${fornum(items.dogs)} psů!` + document.getElementById('discat').innerHTML=`Právě máš ${fornum(items.cats)} koček!` + document.getElementById('disfox').innerHTML=`Právě máš ${fornum(items.foxes)} lišek!` + document.getElementById('diswol').innerHTML=`Právě máš ${fornum(items.wolfs)} vlků!` + document.getElementById('disham').innerHTML=`Právě máš ${fornum(items.hamsters)} křečků!` + document.getElementById('diswha').innerHTML=`Právě máš ${fornum(items.whales)} velryb!` + document.getElementById('discap').innerHTML=`Právě máš ${fornum(items.capybaras)} kapybar!` + document.getElementById('displa').innerHTML=`Právě máš ${fornum(items.platapuses)} ptakopysků!` + document.getElementById('dispor').innerHTML=`Právě máš ${fornum(items.porcupines)} dikobrazů!` + document.getElementById('diship').innerHTML=`Právě máš ${fornum(items.hippos)} hrochů!` + document.getElementById('dissna').innerHTML=`Právě máš ${fornum(items.snakes)} hadů!` + document.getElementById('dische').innerHTML=`Právě máš ${fornum(items.cheetahs)} gepardů!` + document.getElementById('dispyt').innerHTML=`Právě máš ${fornum(items.pythons)} kober!` + document.getElementById('disgir').innerHTML=`Právě máš ${fornum(items.girrafes)} žiraf!` + document.getElementById('disoth').innerHTML=`Právě máš ${fornum(items.otters)} vyder!` + document.getElementById('dismee').innerHTML=`Právě máš ${fornum(items.meerkat)} surikat!` + document.getElementById('disrac').innerHTML=`Právě máš ${fornum(items.raccoon)} mývalů!` + document.getElementById('disowl').innerHTML=`Právě máš ${fornum(items.owl)} sov!` + + + + + document.getElementById('dislem').innerHTML=`Právě máš ${fornum(items.lemons)} citrónů!` + document.getElementById('dislt3').innerHTML=`Právě máš ${fornum(items.lt3)} citronovníků!` + + + document.getElementById('disdgmake').innerHTML=`Generují ${fornum((items.dogs*1)*items.pres)} kliků za sekundu!` + document.getElementById('disctmake').innerHTML=`Generují ${fornum((items.cats*12)*items.pres)} kliků za sekundu!` + document.getElementById('disfxmake').innerHTML=`Generují ${fornum((items.foxes*18)*items.pres)} kliků za sekundu!` + document.getElementById('diswlmake').innerHTML=`Generují ${fornum((items.wolfs*100)*items.pres)} kliků za sekundu!` + document.getElementById('dishmmake').innerHTML=`Generují ${fornum((items.hamsters*130)*items.pres)} kliků za sekundu!` + document.getElementById('diswhmake').innerHTML=`Generují ${fornum((items.whales*220)*items.pres)} kliků za sekundu!` + document.getElementById('discpmake').innerHTML=`Generují ${fornum((items.capybaras*280)*items.pres)} kliků za sekundu!` + document.getElementById('displmake').innerHTML=`Generují ${fornum((items.platapuses*400)*items.pres)} kliků za sekundu!` + document.getElementById('disprmake').innerHTML=`Generují ${fornum((items.porcupines*650)*items.pres)} kliků za sekundu!` + document.getElementById('dishimake').innerHTML=`Generují ${fornum((items.hippos*950)*items.pres)} kliků za sekundu!` + document.getElementById('dissnmake').innerHTML=`Generují ${fornum((items.snakes*1000)*items.pres)} kliků za sekundu!` + document.getElementById('dischmake').innerHTML=`Generují ${fornum((items.cheetahs*3000)*items.pres)} kliků za sekundu!` + document.getElementById('dispymake').innerHTML=`Generují ${fornum((items.pythons*7800)*items.pres)} kliků za sekundu!` + document.getElementById('disgimake').innerHTML=`Generují ${fornum((items.girrafes*8400)*items.pres)} kliků za sekundu!` + document.getElementById('disotmake').innerHTML=`Generují ${fornum((items.otters*9000)*items.pres)} kliků za sekundu!` + document.getElementById('dismeemake').innerHTML=`Generují ${fornum((items.meerkat*9800)*items.pres)} kliků za sekundu!` + document.getElementById('disramake').innerHTML=`Generují ${fornum((items.raccoon*14500)*items.pres)} kliků za sekundu!` + document.getElementById('disowmake').innerHTML=`Generují ${fornum((items.owl*16000)*items.pres)} kliků za sekundu!` + + + dg1.innerHTML = 'Kup Psa za 100 kliků' + ct1.innerHTML = 'Kup Kočku za 10 psů' + fx1.innerHTML = 'Kup Lišku za 15 psů' + wl1.innerHTML = 'Kup Vlka za
    6 psů a 5 lišek' + hm1.innerHTML = 'Kup Křečka za
    1 vlka a 2 kočky' + wh1.innerHTML = 'Kup Velrybu za 2 vlky' + cp1.innerHTML = 'Kup Kapybaru za
    1 velrybu a 4 kočky' + pl1.innerHTML = 'Kup Ptakopyska za
    1 kapybaru a 1 vlka' + pr1.innerHTML = 'Kup Dikobraza za
    1 ptakopyska a 1 velrybu' + hi1.innerHTML = 'Kup Hrocha za
    1 dikobraza a 2 křečků' + sn1.innerHTML = 'Kup Hada za
    2 velryby a 4 křečky' + ch1.innerHTML = 'Kup Geparda za
    2 hady a 2 ptakopysky' + py1.innerHTML = 'Kup Kobru za
    1 geparda a 5 hrochů' + gi1.innerHTML = 'Kup Žirafu za
    1 kobru a 20 lišek' + ot1.innerHTML = 'Kup Vydru za
    1 žirafu a 2 kapybary' + me1.innerHTML = 'Kup Surikatu za
    1 vydru a 3 velryby' + ra1.innerHTML = 'Kup Mývala za
    1 surikatu a 7 dikobrazů' + ow1.innerHTML = 'Kup Sovu za
    1 mývala a 1 hada' + + lm1.innerHTML = 'Kup Citrón za pár koček' + lt1.innerHTML = 'Kup Citrónovník za 5 citrónů' + + // Buying for clicks + Cct1.innerHTML = 'Kup Kočku za
    1,2 k kliků' + Cfx1.innerHTML = 'Kup Lišku za
    1,8 k kliků' + Cwl1.innerHTML = 'Kup Vlka za
    10 k kliků' + Chm1.innerHTML = 'Kup Křečka za
    13 k kliků' + Cwh1.innerHTML = 'Kup Velrybu za
    22 k kliků' + Ccp1.innerHTML = 'Kup Kapybaru za
    28 k kliků' + Cpl1.innerHTML = 'Kup Ptakopyska za
    42 k kliků' + Cpr1.innerHTML = 'Kup Dikobraza za
    70 k kliků' + Chi1.innerHTML = 'Kup Hrocha za
    100 k kliků' + Csn1.innerHTML = 'Kup Hada za
    150 k kliků' + Cch1.innerHTML = 'Kup Geparda za
    350 k kliků' + Cpy1.innerHTML = 'Kup Kobru za
    820 k kliků' + Cgi1.innerHTML = 'Kup Žirafu za
    880 k kliků' + Cot1.innerHTML = 'Kup Vydru za
    950 k kliků' + Cme1.innerHTML = 'Kup Surikatu za
    1 mil kliků' + Cra1.innerHTML = 'Kup Mývala za
    1,5 mil kliků' + Cow1.innerHTML = 'Kup Sovu za
    1,8 mil kliků' + } +} +load(); + +// Upload +function upload(){update();load();} + +function cash(){ + setTimeout (function money(){ + items.clicks += cs*items.pres; + upload(); + cash();click(); + },1000) +} +cash(); + +function click(){ + setTimeout(function decoration(){ + document.getElementById('imgcli').src = './img/icons8-clicked.png' + },500); + setTimeout(function decoration(){ + document.getElementById('imgcli').src = './img/icons8-rest.svg' + },1000) +} + +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); + click() +} +function buycat(){ + if(items.dogs>=10){ + items.dogs-=10; + items.cats+=1; + } + upload(); +} +function buyfox(){ + if(items.dogs>=15){ + items.dogs-=15; + items.foxes+=1; + } + upload(); +} +function buywol(){ + if(items.dogs>=6 && items.foxes>=5){ + items.dogs-=6; + items.foxes-=5; + items.wolfs+=1; + } + upload(); +} +function buyham(){ + if(items.wolfs>=1 && items.cats>=2){ + items.wolfs-=1; + items.cats-=2; + items.hamsters+=1; + } + upload(); +} +function buywha(){ + if(items.wolfs>=2){ + items.wolfs-=2; + items.whales+=1; + } + upload(); +} +function buycap(){ + if(items.whales>=1 && items.cats>=4){ + items.whales-=1; + items.cats-=4; + items.capybaras+=1; + } + upload(); +} +function buypla(){ + if(items.capybaras>=1 && items.wolfs>=1){ + items.capybaras-=1; + items.wolfs-=1; + items.platapuses+=1; + } + upload(); +} +function buypor(){ + if(items.platapuses>=1 && items.whales>=1){ + items.platapuses-=1; + items.whales-=1; + items.porcupines++; + } + upload(); +} +function buyhip(){ + if(items.porcupines>=1 && items.hamsters>=2){ + items.porcupines-=1; + items.hamsters-=2; + items.hippos++; + } + upload(); +} +function buysna(){ + if(items.whales>=2 && items.hamsters>=4){ + items.whales-=2; + items.hamsters-=4; + items.snakes++; + } + upload(); +} +function buyche(){ + if(items.snakes>=2 && items.platapuses>=2){ + items.snakes-=2; + items.platapuses-=2; + items.cheetahs++; + } + upload(); +} +function buypyt(){ + if(items.cheetahs>=1 && items.hippos>=5){ + items.cheetahs-=1; + items.hippos-=5; + items.pythons++; + } + upload(); +} +function buygir(){ + if(items.pythons>=1 && items.foxes>=20){ + items.pythons-=1; + items.foxes-=20; + items.girrafes++; + } + upload(); +} +function buyoth(){ + if(items.girrafes>=1 && items.capybaras>=2){ + items.girrafes-=1; + items.capybaras-=2; + items.otters++; + } + upload(); +} +function buymee(){ + if(items.otters>=1 && items.whales>=3){ + items.otters-=1; + items.whales-=3; + items.meerkat++; + } + upload(); +} +function buyrac(){ + if(items.meerkat>=1 && items.porcupines>=7){ + items.meerkat-=1; + items.porcupines-=7; + items.raccoon++; + } + upload(); +} +function buyowl(){ + if(items.raccoon>=1 && items.snakes>=1){ + items.raccoon-=1; + items.snakes-=1; + items.owl++; + } + upload(); +} + + + + + + +function buylem(){ + let RanLemCost = Math.floor(Math.random()*100); + if(items.cats>=RanLemCost){ + items.cats-=RanLemCost; + items.lemons+=1; + } + upload(); +} +function buylt3(){ + if (items.lemons>=5) { + items.lemons-=5; + items.lt3+=1; + } + upload(); +} + + + + + + +/* Max Shop */ +function mxdg(){ + one = Math.floor(items.clicks / 100) + + items.clicks -= one * 100 + items.dogs += one + upload(); +} +function mxct(){ + one = Math.floor(items.dogs / 10) + + items.dogs -= one * 10 + items.cats += one + upload(); +} +function mxfx(){ + one = Math.floor(items.dogs/15) + + items.dogs -= one*15 + items.foxes += one + upload(); +} +/* +function lemmvalue(){ + mdog = items.cats/20; + maxdog = Math.floor(mdog); + floordog = maxdog*20 + items.cats -= floordog + items.lemons += maxdog + upload(); +}*/ +function mxlm(){ + let RanLemCost = Math.floor(Math.random()*100); + one = Math.floor(items.cats/RanLemCost) + + items.cats -= one*RanLemCost + items.lemons += one + upload(); +} +function mxlt(){ + one = Math.floor(items.lemons/5) + + items.lemons -= one*5 + items.lt3 += one + upload() +} +function mxwh(){ + let amount = Math.floor(items.wolfs/2); + + items.wolfs -= amount*2; + items.whales += amount; + upload(); +} +let one,two,val + +// Max Shop + +function mxwl(){ + let amount = Math.min(Math.floor(items.foxes/5), Math.floor(items.dogs/6)); + + if(amount > 0){ + items.foxes -= amount*5 + items.dogs -= amount*6 + items.wolfs += amount + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxhm(){ + let amount = Math.min(Math.floor(items.wolfs/1), Math.floor(items.cats/2)); + + if(amount > 0){ + items.wolfs -= amount*1; + items.cats -= amount*2; + items.hamsters += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxcp(){ + let amount = Math.min(Math.floor(items.whales/1), Math.floor(items.cats/4)); + + if(amount > 0){ + items.whales -= amount*1; + items.cats -= amount*4; + items.capybaras += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxpl(){ + let amount = Math.min(Math.floor(items.capybaras/1), Math.floor(items.wolfs/1)); + + if(amount > 0){ + items.capybaras -= amount*1; + items.wolfs -= amount*1; + items.platapuses += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxpr(){ + let amount = Math.min(Math.floor(items.platapuses/1), Math.floor(items.whales/1)); + + if(amount > 0){ + items.platapuses -= amount*1; + items.whales -= amount*1; + items.porcupines += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxhi(){ + let amount = Math.min(Math.floor(items.porcupines/1), Math.floor(items.hamsters/2)); + + if(amount > 0){ + items.porcupines -= amount*1; + items.hamsters -= amount*2; + items.hippos += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxsn(){ + let amount = Math.min(Math.floor(items.whales/2), Math.floor(items.hamsters/4)); + + if(amount > 0){ + items.whales -= amount*2; + items.hamsters -= amount*4; + items.snakes += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxch(){ + let amount = Math.min(Math.floor(items.snakes/2), Math.floor(items.platapuses/2)); + + if(amount > 0){ + items.snakes -= amount*2; + items.platapuses -= amount*2; + items.cheetahs += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxpy(){ + let amount = Math.min(Math.floor(items.cheetahs/1), Math.floor(items.hippos/5)); + + if(amount > 0){ + items.cheetahs -= amount*1; + items.hippos -= amount*5; + items.pythons += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxgi(){ + let amount = Math.min(Math.floor(items.pythons/1), Math.floor(items.foxes/20)); + + if(amount){ + items.pythons -= amount*1; + items.foxes -= amount*20; + items.girrafes += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxot(){ + let amount = Math.min(Math.floor(items.girrafes/1), Math.floor(items.capybaras/2)); + + if(amount > 0){ + items.girrafes -= amount*1; + items.capybaras -= amount*2; + items.otters += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxme(){ + let amount = Math.min(Math.floor(items.otters/1), Math.floor(items.whales/3)); + + if(amount > 0){ + items.otters -= amount*1; + items.whales -= amount*3; + items.meerkat += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxra(){ + let amount = Math.min(Math.floor(items.meerkat/1), Math.floor(items.porcupines/7)); + + if(amount > 0){ + items.meerkat -= amount*1; + items.porcupines -= amount*7; + items.raccoon += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} +function mxow(){ + let amount = Math.min(Math.floor(items.raccoon/1), Math.floor(items.snakes/1)); + + if(amount > 0){ + items.raccoon -= amount*1; + items.snakes -= amount*1; + items.owl += amount; + }else{ + console.log('You fucked up you stupid bitch'); + } + upload(); +} + +// Dark || Light Mode +function LDmodes(){ + let Bimts = document.querySelectorAll('.item'); + if((items.mode||0) == 0){// Light Mode + body.style.background = '#ddd'; + body.style.color = '#000'; + Bimts.forEach((e) => { + e.style.background = '#ffefd5'; + }); + logclick.style.background = '#ffefd5'; + disclick.style.textShadow = ""; + logclick.style.border = '5px dashed #00f'; + logclick.style.filter = 'drop-shadow(10px 8px 6px #222)'; + }else if(items.mode == 1){// Dark Mode + body.style.background = '#333'; + body.style.color = '#fff'; + Bimts.forEach((e) => { + e.style.background = '#666055'; + }); + logclick.style.background = '#666055'; + disclick.style.textShadow = "2px 2px 4px #000"; + logclick.style.border = '5px dashed #006'; + logclick.style.filter = 'drop-shadow(10px 8px 6px #222)'; + } +} + + +// Function to convert a number into a more readable format +function fornum(num){ + if(items.lang == 0){ + const suffixes = ['', ' tis.', ' mil.', ' mld.', ' bil.', ' bld.', ' tril.', ' trild.', ' kvad.', ' kvadld.', ' quint.', ' quintld.', ' sext.', ' sextld.', ' sept.', ' septld.', ' okt.', ' oktld.', ' non.', ' nonld.', ' dec.', ' decld.', ' undec.', ' undecld.', ' duodec.', ' duodecld.', ' tredec.', ' tredecld.', ' kvaddec.', ' kvaddecld.', ' quintdec.', ' quintdecld.', ' sextdec.', ' sextdecld.', ' googol']; + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + num = Math.floor(num * 10) / 10; + return num + suffixes[i]; + }else{ + const suffixes = ['', ' k', ' mil', ' bil', ' tri', ' quad', ' qui', ' sex', ' sep', ' oct', ' non', ' dec', ' und', ' duo', ' tre', ' qua', ' qui', ' sex', ' sep', ' oct', ' nov', ' vig', ' uvi', ' dvi', ' tvi', ' qvi', ' qv', ' svi', ' spv', ' ov', ' nv', ' cen', ' ucn', ' dcn', ' googol']; + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + num = Math.floor(num * 10) / 10; + return num + suffixes[i]; + } +} + + + + + + +/* SHOPPING WITH ONLY CLICKS */ + +function buyAnimal(animal, cost) { + const quantity = Math.floor(items.clicks / cost); + + if (quantity > 0) { + items[animal] += quantity; + items.clicks -= quantity * cost; + upload(); + } +} + +// Example usage for buying cats +function buyCat() { + buyAnimal('cats', 1200); +} + +// cat +function buyCcat(){ + if(items.clicks >= 1200){ + items.cats++; + items.clicks -= 1200; + upload(); + } +} +function mxCct(){ + one = Math.floor(items.clicks / 1200) + + items.clicks -= one * 1200 + items.cats += one + upload(); +} + +// fox +function buyCfox(){ + if(items.clicks >= 1800){ + items.foxes++; + items.clicks -= 1800; + upload(); + } +} +function mxCfx(){ + one = Math.floor(items.clicks / 1800) + + items.clicks -= one * 1800 + items.foxes += one + upload(); +} + +// wolf +function buyCwol(){ + if(items.clicks >= 10000){ + items.wolfs++; + items.clicks -= 10000; + upload(); + } +} +function mxCwl(){ + one = Math.floor(items.clicks / 10000) + + items.clicks -= one * 10000 + items.wolfs += one + upload(); +} + +// hamster +function buyCham(){ + if(items.clicks >= 13000){ + items.hamsters++; + items.clicks -= 13000; + upload(); + } +} +function mxChm(){ + one = Math.floor(items.clicks / 13000) + + items.clicks -= one * 13000 + items.hamsters += one + upload(); +} + +// whale +function buyCwha(){ + if(items.clicks >= 22000){ + items.whales++; + items.clicks -= 22000; + upload(); + } +} +function mxCwh(){ + one = Math.floor(items.clicks / 22000) + + items.clicks -= one * 22000 + items.whales += one + upload(); +} + +// cappybarra +function buyCcap(){ + if(items.clicks >= 28000){ + items.capybaras++; + items.clicks -= 28000; + upload(); + } +} +function mxCcp(){ + one = Math.floor(items.clicks / 28000) + + items.clicks -= one * 28000 + items.capybaras += one + upload(); +} + +// platypussy +function buyCpla(){ + if(items.clicks >= 42000){ + items.platapuses++; + items.clicks -= 42000; + upload(); + } +} +function mxCpl(){ + one = Math.floor(items.clicks / 42000) + + items.clicks -= one * 42000 + items.platapuses += one + upload(); +} + +// porcupine +function buyCpor(){ + if(items.clicks >= 70000){ + items.porcupines++; + items.clicks -= 70000; + upload(); + } +} +function mxCpr(){ + one = Math.floor(items.clicks / 70000) + + items.clicks -= one * 70000 + items.porcupines += one + upload(); +} + +// hippopopopotamusss +function buyChip(){ + if(items.clicks >= 100000){ + items.hippos++; + items.clicks -= 100000; + upload(); + } +} +function mxChi(){ + one = Math.floor(items.clicks / 100000) + + items.clicks -= one * 100000 + items.hippos += one + upload(); +} + +// Snuk +function buyCsna(){ + if(items.clicks >= 150000){ + items.snakes++; + items.clicks -= 150000; + upload(); + } +} +function mxCsn(){ + one = Math.floor(items.clicks / 150000) + + items.clicks -= one * 150000 + items.snakes += one + upload(); +} + +// Chetuch +function buyCche(){ + if(items.clicks >= 350000){ + items.cheetahs++; + items.clicks -= 350000; + upload(); + } +} +function mxCch(){ + one = Math.floor(items.clicks / 350000) + + items.clicks -= one * 350000 + items.cheetahs += one + upload(); +} + +// .py +function buyCpyt(){ + if(items.clicks >= 820000){ + items.pythons++; + items.clicks -= 820000; + upload(); + } +} +function mxCpy(){ + one = Math.floor(items.clicks / 820000) + + items.clicks -= one * 820000 + items.pythons += one + upload(); +} + +// Gurllaf +function buyCgir(){ + if(items.clicks >= 880000){ + items.girrafes++; + items.clicks -= 880000; + upload(); + } +} +function mxCgi(){ + one = Math.floor(items.clicks / 880000) + + items.clicks -= one * 880000 + items.girrafes += one + upload(); +} + +// Other space +function buyCoth(){ + if(items.clicks >= 950000){ + items.otters++; + items.clicks -= 950000; + upload(); + } +} +function mxCot(){ + one = Math.floor(items.clicks / 950000) + + items.clicks -= one * 950000 + items.otters += one + upload(); +} + +// Mii Cat +function buyCmee(){ + if(items.clicks >= 1000000){ + items.meerkat++; + items.clicks -= 1000000; + upload(); + } +} +function mxCme(){ + one = Math.floor(items.clicks / 1000000) + + items.clicks -= one * 1000000 + items.meerkat += one + upload(); +} + +// C rac +function buyCrac(){ + if(items.clicks >= 1500000){ + items.raccoon++; + items.clicks -= 1500000; + upload(); + } +} +function mxCra(){ + one = Math.floor(items.clicks / 1500000) + + items.clicks -= one * 1500000 + items.raccoon += one + upload(); +} + +// O +function buyCowl(){ + if(items.clicks >= 1800000){ + items.owl++; + items.clicks -= 1800000; + upload(); + } +} +function mxCow(){ + one = Math.floor(items.clicks / 1800000) + + items.clicks -= one * 1800000 + items.owl += one + upload(); +} diff --git a/Version - 42/js/upgr.js b/Version - 42/js/upgr.js new file mode 100644 index 0000000..7c599dc --- /dev/null +++ b/Version - 42/js/upgr.js @@ -0,0 +1,288 @@ +let items; +let cs; + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + if(items.token >= 1000*items.pres){ + prog.style.display = 'none'; + presBT1.style.display = 'none'; + presBT10.style.display = 'none'; + presBTmax.style.display = 'none'; + progva.style.display = 'none'; + ItsTime.style.display = 'block'; + } + +} + +function load(){ + if (localStorage.getItem('items')!=null){ + items = JSON.parse(localStorage.getItem('items')); + LDmodes() + prog.max = 1000*items.pres; + + } + if(items.lang == 0){ // CZ + document.documentElement.setAttribute('lang', 'cz'); + shop.innerHTML = 'Obchod'; + upg.innerHTML = 'Vylepšení'; + sett.innerHTML = 'Nastavení'; + dislm.innerHTML = `Právě máš ${fornum(items.lemons)} citrónů!`; + disMcmake.innerHTML = `Zatím ti každý klik dává ${fornum((items.Mclick||1)*items.pres)} kliků!`; + Mc1.innerHTML = `Kup si vylepšení na kliky za
    ${fornum(20+(items.Mclick||1)*(items.Mclick||1))} citrónů`; + progva.innerHTML = `Zatím máš jen ${items.token} lístků z ${1000*items.pres}!` + + + + + presBT1.innerHTML = `1 Lístek za
    pár Citrónů` + presBT10.innerHTML = `10 Lístků za
    10 párů Citrónů` + presBTmax.innerHTML = `Max lístků za
    několik Citrónů` + ItsTime.innerHTML = `Pojďme jít!`; + if(items.pres > 1){ + got.innerHTML = `Právě máš ${items.pres-1} Prestiž bodů` + } + + + }else if(items.lang == 1){ // En + document.documentElement.setAttribute('lang', 'en'); + shop.innerHTML = 'Shop'; + upg.innerHTML = 'Upgrades'; + sett.innerHTML = 'Settings'; + dislm.innerHTML = `You've got ${fornum(items.lemons)} lemons!`; + disMcmake.innerHTML = `So far every click gives you ${fornum((items.Mclick||1)*items.pres)} clicks!`; + Mc1.innerHTML = `Buy an upgrade for your clicks
    for ${fornum(20+(items.Mclick||1)*(items.Mclick||1))} lemons`; + progva.innerHTML = `So far you got ${items.token} token out of ${1000*items.pres}!` + + + + + presBT1.innerHTML = `1 Ticket for
    some Lemons` + presBT10.innerHTML = `10 Tickets for
    some more Lemons` + presBTmax.innerHTML = `Buy all Ticket for
    some Lemons` + ItsTime.innerHTML = `Let's do this!`; + if(items.pres > 1){ + got.innerHTML = `You've got ${items.pres-1} Prestige points` + } + } + + +} + +// Upload +function upload(){update();load();} + +function cash(){ + setTimeout (function money(){ + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280 + items.platapuses*400 + items.porcupines*650 + items.hippos*950 + items.snakes*1000 + items.cheetahs*3000 + items.pythons*7800 + items.girrafes*8400 + items.otters*9000 + items.meerkat*9800 + items.raccoon*14500 + items.owl*16000; + items.clicks += cs*items.pres; + update();cash(); + },1000) +} + +function fornum(num){ + if(items.lang == 0){ + const suffixes = ['', ' tis.', ' mil.', ' mld.', ' bil.', ' bld.', ' tril.', ' trild.', ' kvad.', ' kvadld.', ' quint.', ' quintld.', ' sext.', ' sextld.', ' sept.', ' septld.', ' okt.', ' oktld.', ' non.', ' nonld.', ' dec.', ' decld.', ' undec.', ' undecld.', ' duodec.', ' duodecld.', ' tredec.', ' tredecld.', ' kvaddec.', ' kvaddecld.', ' quintdec.', ' quintdecld.', ' sextdec.', ' sextdecld.', ' googol']; + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + num = Math.floor(num * 10) / 10; + return num + suffixes[i]; + }else{ + const suffixes = ['', ' k', ' mil', ' bil', ' tri', ' quad', ' qui', ' sex', ' sep', ' oct', ' non', ' dec', ' und', ' duo', ' tre', ' qua', ' qui', ' sex', ' sep', ' oct', ' nov', ' vig', ' uvi', ' dvi', ' tvi', ' qvi', ' qv', ' svi', ' spv', ' ov', ' nv', ' cen', ' ucn', ' dcn', ' googol']; + let i = 0; + while (num >= 1000 && i < suffixes.length - 1) { + num /= 1000; + i++; + } + num = Math.floor(num * 10) / 10; + return num + suffixes[i]; + } +} + +window.onload = function(){ + load();cash();progress(); + if((items.token != 0)&&(items.token < 1)){ + items.token = 0; + } +} + +/* U P G R A D E S */ + +function buyMcc(){ + if(items.lemons>=20+(items.Mclick||1)*(items.Mclick||1)){ + items.lemons -= 20+(items.Mclick||1)*(items.Mclick||1); + if((items.Mclick != 1)&&(items.Mclick < 2)){ + items.Mclick = 1; + } + items.Mclick += 4; + console.log(items.Mclick); + upload(); + } +} + +function tblb(){ // Token Basic Lemon Buy + if(items.lemons >= 2000){ + items.lemons -= 2000; + items.token++; + console.log(items.token); + } + progress(); + upload(); +} + +function tmlm(){ // Token More Lemon Buy + if(items.lemons >= 20000){ + items.lemons -= 20000; + items.token += 10; + console.log(items.token); + } + progress(); + upload(); +} + +function talb(){ // Token All Lemon Buy + let C = ((1000*items.pres) - items.token) + for(let i = 0; i= 2000){ + items.lemons -= 2000; + items.token++; + console.log(items.token); + } + progress(); + upload(); + } +} + +function progress(){ + prog.value = `${items.token}` + prog.title = `${items.token}/${1000*items.pres}` + upload(); +} + +function TheThing(){ + if(items.lang == 0 && items.token >= (1000*items.pres) && confirm(`Za Prestiže budeš získávat více kliků, ale tvůj postup se vynuluje (až na Prestiž body). Chceš se 'Znovuzrodit'?`)){ // CZ + alert(`Získal jsi 0.5 prestiže bodů!`); + items.pres += 0.5; + upload(); + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + hamsters:0, + whales:0, + capybaras:0, + platapuses:0, + porcupines:0, + hippos:0, + snakes:0, + cheetahs:0, + pythons:0, + girrafes:0, + lions:0, + otters:0, + meerkat:0, + raccoon:0, + owl:0, + badger:0, + squirrel:0, + chameleon:0, + chicken:0, + wombat:0, + panther:0, + coyote:0, + frog:0, + bear:0, + pig:0, + + + + lemons:0, + lt3:0, + lang:items.lang, + pres:items.pres, + mode:items.mode, + Mclick:1, + token:0, + } + location.href = './index.html'; + + + + }else if(items.lang == 1 && items.token >= (1000*items.pres) && confirm(`For Prestige You'll earn more clicks, but your progress resets (except prestige points). Do you wish to 'Rebirth'?`)){ // En + alert(`You've earn 0.5 prestige points!`); + items.pres += 0.5; + upload(); + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + hamsters:0, + whales:0, + capybaras:0, + platapuses:0, + porcupines:0, + hippos:0, + snakes:0, + cheetahs:0, + pythons:0, + girrafes:0, + lions:0, + otters:0, + meerkat:0, + raccoon:0, + owl:0, + badger:0, + squirrel:0, + chameleon:0, + chicken:0, + wombat:0, + panther:0, + coyote:0, + frog:0, + bear:0, + pig:0, + + + + lemons:0, + lt3:0, + lang:items.lang, + pres:items.pres, + mode:items.mode, + Mclick:1, + token:0, + } + location.href = './index.html'; + } + } + + +// Dark || Light Mode +function LDmodes(){ + let Bimts = document.querySelectorAll('.item'); + if((items.mode||0) == 0){// Light Mode + body.style.background = '#ddd'; + body.style.color = '#000'; + Bimts.forEach((e) => { + e.style.background = '#ffefd5'; + }); + loglm.style.background = '#ffefd5'; + loglm.style.filter = 'drop-shadow(10px 8px 6px #222)'; + }else if(items.mode == 1){// Dark Mode + body.style.background = '#333'; + body.style.color = '#fff'; + Bimts.forEach((e) => { + e.style.background = '#666055'; + }); + loglm.style.background = '#666055'; // effd5f66 + loglm.style.filter = 'drop-shadow(10px 8px 6px #222)'; + } +} \ No newline at end of file diff --git a/Version - 42/keybinds.html b/Version - 42/keybinds.html new file mode 100644 index 0000000..bc31c3e --- /dev/null +++ b/Version - 42/keybinds.html @@ -0,0 +1,122 @@ + + + + + + + + + Document + + + +
    + + + + + + + + + + + + + + + + +
    + + + + \ No newline at end of file diff --git a/Version - 42/settings.html b/Version - 42/settings.html new file mode 100644 index 0000000..6313168 --- /dev/null +++ b/Version - 42/settings.html @@ -0,0 +1,57 @@ + + + + + + + + + + + + BRB - Settings + + +
    + +
    +
    +

    + +
    +
    +

    + +
    + +
    +

    + +
    +
    +

    + +
    +
    + + + + + + + \ No newline at end of file diff --git a/Version - 42/shop.html b/Version - 42/shop.html new file mode 100644 index 0000000..46e821a --- /dev/null +++ b/Version - 42/shop.html @@ -0,0 +1,502 @@ + + + + + + + + + + + + BRB - Shop + + + + + + + + + + +
    +
    + +

    +
    +
    + + + + +
    +
    + +
    + +
    + + +
    + +

    +

    +
    + + +
    + +
    + + +
    +
    + + +
    +

    +

    +
    + + +
    + +
    + + +
    +
    + + +
    +

    +

    +
    + + +
    + +
    + + +
    +
    + + +
    +

    +

    +
    + + +
    + +
    + + +
    +
    + + +
    +

    +

    +
    + + +
    + +
    + + +
    +
    + + +
    +

    +

    +
    + + +
    + +
    + + +
    +
    + + +
    +

    +

    +
    + + +
    + +
    + + +
    +
    + + +
    +

    +

    +
    + + +
    + +
    + + +
    +
    + + +
    +

    +

    +
    + + +
    + +
    + + +
    +
    + + +
    +

    +

    +
    + + +
    + +
    + + +
    +
    + + +
    +

    +

    +
    + + +
    + +
    + + +
    +
    + + +
    +

    +

    +
    + + +
    + +
    + + +
    +
    + + +
    +

    +

    +
    + + +
    + +
    + + +
    +
    + + +
    +

    +

    +
    + + +
    + +
    + + +
    +
    + + +
    +

    +

    +
    + + +
    + +
    + + +
    +
    + + +
    +

    +

    +
    + + +
    + +
    + + +
    +
    + + +
    +

    +

    +
    + + +
    + +
    + + +
    +
    + + +
    +

    +

    +
    + +
    + + + +
    + +
    + +
    + + +
    +

    +

    +
    + + +
    + +
    + + +
    +

    +

    +
    +
    + +
    + + + + + + + + + \ No newline at end of file diff --git a/Version - 42/txt/BRB - Poem.txt b/Version - 42/txt/BRB - Poem.txt new file mode 100644 index 0000000..22707fd --- /dev/null +++ b/Version - 42/txt/BRB - Poem.txt @@ -0,0 +1,77 @@ +In the realm of clicks, where time is spent, +A world unfolds, a button's scent. +Big and red, a beacon bright, +A game begins, a pure delight. + +Behold the BRB, a simple quest, +A clicker's dream, a boundless zest. +With each tap, a symphony, +Of points that dance, wild and free. + +In pixels vast, a kingdom grows, +From humble starts, the button glows. +Animals emerge, a charming feat, +With every purchase, a rhythmic beat. + +A menagerie of clicks untold, +From bunnies small to dragons bold. +They toil and toil, a tireless crew, +Generating clicks, a joy anew. + +The Big Red Button, a constant call, +A siren's song, a tempting thrall. +Click by click, the numbers rise, +A digital ballet beneath the skies. + +Upgrade the farm, expand the land, +In the clicker's world, everything's planned. +Upgrade, enhance, and then refine, +A cascade of clicks, a grand design. + +The chorus of animals, a lively song, +A melody of progress, a journey long. +With every click, a story unfolds, +In the saga of buttons, a tale foretold. + +Oh, the joy of the BRB's embrace, +In the digital realm, a sacred space. +A clicker's haven, a world of glee, +Where buttons rule, and all is free. + +So tap away, adventurer bold, +In the realm of clicks, a story's told. +The Big Red Button, a path to explore, +In the game of clicks, forevermore. + + + + +Ve virtuálním světě, kde kliky tančí, +BRB hra nám otevírá bránu do ráje. +Klikání je klíč, co otevírá srdce, +kde červené tlačítko zpívá nám píseň tvé. + +Klepání prstu na obrazovce jak tanec, +kliky se množí, jak v pohádce kouzelné. +Zvířátka nám vracejí úsměv na tvář, +v jejich očích svítí klikání tvé vášně. + +Virtuální svět plný zvířecího štěstí, +kliky jsou klíčem k radosti nekonečné. +Srdce se rozkvétá ve hrách a snech, +kde kliky jsou vládcem a my jejich pánem. + +Kupujeme zvířátka, jak hvězdný prach, +jejich kličky a klouzání nám přináší smích. +Generují kliky v rytmu nebeské hudby, +v tomto virtuálním ráji jsme klikání svobodní. + +Brána kouzelná otevírá se dál, +červené tlačítko jak klíč k pohádce krásné. +Klikání nám hraje symfonii vesmírných snů, +v tomto digitálním rajském skvostu. + +Tak klikni, klikni, ať hra pokračuje, +v zvířecím ráji, kde klikání nekončí. +S každým klepnutím nový příběh začíná, +v našem světě BRB, kde klikání zní jak básně. \ No newline at end of file diff --git a/Version - 42/txt/add.txt b/Version - 42/txt/add.txt new file mode 100644 index 0000000..fc19a2d --- /dev/null +++ b/Version - 42/txt/add.txt @@ -0,0 +1,80 @@ +click.offline.make +max 5 hour + + name gen com.cost cost +1 dog = 1 clicks/s = 100 | 100 clicks +1 cat = 12 c/s = 1 000 | 10 dogs +1 fox = 18 c/s = 1 500 | 15 dogs +1 wolf = 100 c/s = 8 100 | 5 foxes + 6 dogs +1 hamster = 130 c/s = 10 100 | 1 wolf + 2 cats +1 whale = 220 c/s = 16 200 | 2 wolf +1 capybara = 280 c/s = 20 200 | 1 whale + 4 cats +1 platypus = 400 c/s = 28 300 | 1 cappy + 1 wolf +1 porcupine = 650 c/s = 44 500 | 1 pussy + 1 whale (Dikobraz) +1 hippo = 950 c/s = 64 700 | 1 porcupine + 2 hamsters +1 snake = 1 000 c/s = 72 800 | 2 whales + 4 hamsters +1 cheetah = 3 000 c/s = 202 200 | 2 snakes + 2 pussy +1 python = 7 800 c/s = 525 700 | 1 cheetah + 5 hippo +1 giraffe = 8 400 c/s = 555 700 | 1 python + 20 foxes +1 otter = 9 000 c/s = 596 100 | 1 giraffe + 2 cappy +1 meerkat = 9 800 c/s = 644 700 | 1 otter + 3 whale +1 raccoon = 14 500 c/s = 956 200 | 1 meerkat + 7 porcupine +1 owl = 16 000 c/s = 1 029 000 | 1 raccoon + 1 snuk +1 badger = +1 squirrel = +1 chameleon = +1 chicken = +1 wombat = +1 panther = +1 coyote = +1 frog = +1 bear = +1 pig = + +1 citronovník = 30 lemons/h + + + +36,7% k 10 citronum že vyroste citronovník + +compile to .exe and add it to the play store + +add complete history of clicks, dogs, cats, lemons, ... + + + + + + Upgrades! + +Button +Green button - 2.5 clicks per clicks +Yellow button - 4 clicks/click + random Chance for a lemon +Purple button - 6 c/c +Cyan button - 10 c/c + random chance for ______ + + Dog +R collar - 1.5 cs +G collar - 2 cs +Y collar - 5 cs +P collar - 8.2 cs +C collar - 15 cs + + Cat +R collar - 150 cs +G collar - 200 cs +Y collar - 500 cs +P collar - 750 cs +C collar - 1 000 cs + + Fox +R fur - 225 cs +G fur - 300 cs +Y fur - 666 cs +P fur - 1 125 cs +C fur - 1 500 cs + +lemon + +Help - CZ +Help - En \ No newline at end of file diff --git a/Version - 42/txt/mail - Cz.txt b/Version - 42/txt/mail - Cz.txt new file mode 100644 index 0000000..80087b8 --- /dev/null +++ b/Version - 42/txt/mail - Cz.txt @@ -0,0 +1,27 @@ +Předmět: Naléhavě: Aktivuj svou klikací sílu PROSÍM a ovládni BRB! + +Vážený/á [Jméno Hráče], + +🚨 Pozor, Mistr Klikání! 🚨 + +Došel čas na fádní klikání. Velké Červené Tlačítko (BRB) vyžaduje tvoji neodkladnou pozornost a nekompromisní oddanost. Nehrajeme si – ovládneme to! O osudu tvé virtuální zoo, plné zvířat produkujících kliky, rozhoduje tvé rozhodnutí. Je čas ukázat světu, co znamená opravdový Klikací Mistr. + +BRB není jen tlačítko; je to brána k nevídané moci a prestiži. Každý klik tě posouvá blíž k vrcholu klikací velikosti. Tvá zvířata netrpělivě čekají, až budou vypuštěna, generujíc armádu kliků, která otřese základy virtuální reality. Ale pamatuj, jejich osud je v TVÝCH rukou. + +Máš to, co je potřeba, abys vystoupil nad ostatní? Budeš se spokojovat s průměrem, nebo chopíš své osudu jako Klikací Velikán? BRB na nikoho nečeká, a ani ty neměl/a bys. + +Tady je tvůj úkol: + +Klikej Jako Nikdy Předtím: Rychlými kliky uveď BRB do varu tvou klikací silou. + +Rozšiř Svoji Zoo: Získej ta nejefektivnější klikací zvířata na trhu. Vylepšuj, evoluuj a ovládej. Tvá zoo není jen sbírka zvířat; je to odraz tvé klikací zručnosti. + +Vyzývej Kolegy Klikátory: Není to osobní; je to klikací svět. Vyzývej své přátele, nepřátele a dokonce i babičku, pokud si myslí, že tě může překlikat. + +Selhání není možnost. Komunita BRB se spoléhá na tebe, abys vedl/a útok. Nezklam je. Velké Červené Tlačítko čeká na tvé neúprosné kliky a tvá zvířata jsou připravena uvolnit klikový chaos do herního světa. + +Čas tiká. Vezmi své zařízení, roztahuj ty klikací svaly a nech začít revoluci BRB! + +Klikni dál, Veličenstvo Klikání! + +S úctou, [Tvé Klikací Přezdívka] \ No newline at end of file diff --git a/Version - 42/txt/mail - En.txt b/Version - 42/txt/mail - En.txt new file mode 100644 index 0000000..352688e --- /dev/null +++ b/Version - 42/txt/mail - En.txt @@ -0,0 +1,27 @@ +Subject: Urgent: Mobilize Your Clicking Power NOW for BRB Domination! + +Dear [Player's Name], + +🚨 Attention Clicker Extraordinaire! 🚨 + +The time for idle clicking is OVER. The Big Red Button (BRB) demands your immediate attention and relentless dedication. We're not playing games; we're conquering them! The fate of your virtual zoo, filled with click-generating animals, hangs in the balance. It's time to show the world what a true Clicker Champion is made of. + +The BRB is not just a button; it's a gateway to unparalleled power and prestige. Every click propels you closer to the summit of clicker greatness. Your animals are eagerly waiting to be unleashed, generating an army of clicks that will shake the foundations of virtual reality. But remember, their fate is in YOUR hands. + +Do you have what it takes to rise above the rest? Are you willing to settle for mediocrity, or will you seize your destiny as the Clicker Commander? The BRB waits for no one, and neither should you. + +Here's your mission: + +1. **Click Like You've Never Clicked Before:** Rapid-fire clicks are your currency. Shower that BRB with an unrelenting barrage of finger power. + +2. **Expand Your Zoo:** Acquire the most click-efficient animals in the market. Upgrade, evolve, and dominate. Your zoo isn't just a collection of animals; it's a testament to your clicking prowess. + +3. **Challenge Fellow Clickers:** It's not personal; it's a clicker's world. Challenge your friends, foes, and even your grandma if she thinks she can outclick you. + +Failure is not an option. The BRB community is counting on you to lead the charge. Do not let them down. The Big Red Button is waiting for your relentless clicks, and your animals are ready to unleash click chaos upon the gaming world. + +Time is of the essence. Grab your device, flex those clicking muscles, and let the BRB revolution begin! + +Click on, Commander! + +Sincerely, [Your Clicker Alias] \ No newline at end of file diff --git a/Version - 42/upgrade.html b/Version - 42/upgrade.html new file mode 100644 index 0000000..934495d --- /dev/null +++ b/Version - 42/upgrade.html @@ -0,0 +1,81 @@ + + + + + + + + + + BRB - Upgrades + + + + + + + +
    +
    + +

    +
    +
    + +
    + +
    +

    BRB

    + +
    + +
    + +

    +
    + + +
    +

    Prestige

    + +
    + +
    +
    + + + +
    + +

    +

    +
    +
    + + + + + + + \ No newline at end of file diff --git a/index.html b/index.html index f75d37a..84935c9 100644 --- a/index.html +++ b/index.html @@ -16,17 +16,17 @@

    Version - 1

    -
    I got the idea (works on mobile)
    +
    I got the idea
    (works on mobile)

    Version - 2

    -
    I added the Images
    +
    I added the Images
    (still not working for PC)

    Version - 3

    -
    I don't know
    +
    I don't know
    (still not working for PC)
    @@ -35,17 +35,17 @@

    Version - 5

    -
    Broken for PC
    +
    Still not working for PC

    Version - 6

    -
    Broken for PC
    +
    Still not working for PC

    Version - 7

    -
    Working + saving your clicks
    +
    Working everywhere + saving your clicks
    @@ -56,7 +56,7 @@

    Version - 9

    -
    +
    Something in backend
    @@ -221,6 +221,26 @@
    Animals and Design
    +
    +

    Version - 39

    +
    New transport button
    + animals and new design
    + +
    +
    +

    Version - 40

    +
    BIGGEST UPDATE EVER
    Dark mode, upgrades, Jonathans and more...
    + +
    +
    +

    Version - 41

    +
    New settings menu & animals
    + +
    +
    +

    Version - 42

    +
    Slow loading because I tried using Google Ads
    Fixed in Version - 43
    + +