commit 2b81a652275839635781cd2c979a239303c72d73 Author: MrEidam Date: Wed Nov 29 22:29:18 2023 +0100 Version - 1 - 1-38 diff --git a/Version - 1/index.html b/Version - 1/index.html new file mode 100644 index 0000000..1623679 --- /dev/null +++ b/Version - 1/index.html @@ -0,0 +1,28 @@ + + + + + + + + HTML + + + + + + + + + +
+
+ red +
+
+ green +
+
+ + + \ No newline at end of file diff --git a/Version - 1/main.js b/Version - 1/main.js new file mode 100644 index 0000000..64f56a8 --- /dev/null +++ b/Version - 1/main.js @@ -0,0 +1,13 @@ +window.onload = function(){ + var red = document.getElementById('red'); + var green = document.getElementById('green'); + var button = document.getElementById('button1'); + button.ontouchstart = function(){ + red.style.visibility='hidden'; + green.style.visibility='visible' + } + button.ontouchend=function(){ + red.style.visibility='visible'; + green.style.visibility='hidden' + } +} diff --git a/Version - 1/style.css b/Version - 1/style.css new file mode 100644 index 0000000..2c497c3 --- /dev/null +++ b/Version - 1/style.css @@ -0,0 +1,24 @@ +body { + font-size: 15pt; + user-select: none; +} +#red{ + position: absolute; + width: 100px; + height: 100px; + background: red; + +} +#green{ + position: absolute; + width: 100px; + height: 100px; + background: green; + visibility: hidden; +} +#button1{ +position: absolute; + top: 50%; + left: 50%; + margin: -50px 0 0 -50px; +} \ No newline at end of file diff --git a/Version - 10/index.html b/Version - 10/index.html new file mode 100644 index 0000000..90d2b4a --- /dev/null +++ b/Version - 10/index.html @@ -0,0 +1,30 @@ + + + + + + + + HTML + + + + + + + + + +
+ + +
+ +

+

+ + + + + + \ No newline at end of file diff --git a/Version - 10/main.js b/Version - 10/main.js new file mode 100644 index 0000000..31ae632 --- /dev/null +++ b/Version - 10/main.js @@ -0,0 +1,96 @@ + +window.onload = function(){ + start(); +} +var count = 0; +function start(){ + if (localStorage.getItem('count')==undefined){ + count=0; + } + else{ + count = localStorage.getItem('count'); + } + + if (localStorage.getItem('dogs')==undefined){ + dogs=0; + } + else{ + dogs = localStorage.getItem('dogs'); + } + + document.getElementById('clicks').innerHTML='Congratulation you\'ve clicked ' + count + ' times!'; + + document.getElementById('dogs').innerHTML='Congratulations you got ' + dogs + ' dogs!'; + + var red = document.getElementById('red'); + var green = document.getElementById('green'); + var button = document.getElementById('button1'); + if (/Android|iPhone/i.test(navigator.userAgent)) { + + button.ontouchstart = function(){ + count++; + localStorage.setItem('count',count); + document.getElementById('clicks').innerHTML='Congratulation you\'ve clicked ' + count + ' times!'; + red.style.visibility='hidden'; + green.style.visibility='visible'; +} + button.ontouchend = function(){ + red.style.visibility='visible'; + green.style.visibility='hidden'; + } +}else{ + button.onmousedown = function(){ + console.log('click'); + count++; + localStorage.setItem('count',count); + document.getElementById('clicks').innerHTML= + 'Congratulation you\'ve clicked ' + count + ' times!'; + + red.style.visibility='hidden'; + green.style.visibility='visible'; + } + button.onmouseup = function(){ + red.style.visibility='visible'; + green.style.visibility='hidden' + } +} + +} + +function reset(){ + localStorage.removeItem('count'); + localStorage.removeItem('dogs') + alert('Clicks and dogs successfully reseted!') + start(); + } + + var dogs=0; + +function dog(){ + if(count>=100){ + count -= 100; + dogs++ + alert('Congratulations you\'ve bought a dog🐕'); + localStorage.setItem('dogs',dogs); + document.getElementById('dogs').innerHTML='Congratulations you got ' + dogs + ' dogs!'; + } + else{ + alert('You don\' have enough clicks!'); + alert('Tip: Click the button') + } +} + +function bigdog(){ + if(count >=1000){ + count -= 1000; + + dogs++ + + alert('Congratulations you\'ve bought 10 dogs!') + localStorage.setItem('dogs' ,dogs); + document.getElementById('dogs').innerHTML='Congratulations you got ' + dogs + ' dogs!'; + } + else{ + alert('You don\'t have enough click! Try clicking the button'); + } +} \ No newline at end of file diff --git a/Version - 10/style.css b/Version - 10/style.css new file mode 100644 index 0000000..f0cf7a8 --- /dev/null +++ b/Version - 10/style.css @@ -0,0 +1,42 @@ +body { + font-size: 15pt; +} +#red{ + position: absolute; + width: 300px; + height: 300px; + + +} +#green{ + position: absolute; + width: 300px; + height: 300px; + visibility: hidden; +} +#button1{ + user-select: none; + position: absolute; + top: 50%; + left: 50%; + margin: -150px 0 0 -150px; +} +#Reset{ + user-select: none; + width: 75px; + height: 50px; + background-color: darkred; + color: #ffffff; +} +#Bog{ + user-select: none; + width: 110px; + height: 50px; + background-color: wheat; +} +#BigBog{ + user-select: none; + width: 135px; + height: 50px; + background-color: wheat; +} \ No newline at end of file diff --git a/Version - 11/index.html b/Version - 11/index.html new file mode 100644 index 0000000..bb4c47c --- /dev/null +++ b/Version - 11/index.html @@ -0,0 +1,29 @@ + + + + + + + + HTML + + + + + + + + + +
+ + +
+ +

+ + + + + + \ No newline at end of file diff --git a/Version - 11/main.js b/Version - 11/main.js new file mode 100644 index 0000000..dac4452 --- /dev/null +++ b/Version - 11/main.js @@ -0,0 +1,59 @@ +var items = { + clicks: 0, + dogs: 0, + cats: 0, + }; + +var user = { + device: function(){return (/Android|iPhone/i.test(navigator.userAgent));},/* true for mobiles */ + + setkeys: function(){ + if(user.device()){ + document.getElementById('button1').ontouchstart=function(){button.press()};document.getElementById('button1').ontouchend=function(){button.unpress()} + }else{document.getElementById('button1').onmousedown=function(){button.press()};document.getElementById('button1').onmouseup=function(){button.unpress()};};}, + +}; + +var button = { + + press: function(){ + game.click(); + document.getElementById('unpressed').style.visibility = 'hidden'; + document.getElementById('pressed').style.visibility = 'visible'; + }, + + unpress: function(){ + document.getElementById('unpressed').style.visibility = 'visible'; + document.getElementById('pressed').style.visibility = 'hidden'; + }, +}; + +var ui = { + updateitems: function(){document.getElementById('clicks').innerHTML='clicks: ' + items.clicks + ', ' + ' dogs: ' + items.dogs + ', ' + 'cats: ' + items.cats; + localStorage.setItem('items',JSON.stringify(items))} + +} + + + +var game = { + loaditems: function(){ + items = JSON.parse(localStorage.getItem('items')); + }, + + reset: function(){if(confirm('are you sure you want to reset all your progress')){items={clicks: 0,dogs: 0,cats: 0,};ui.updateitems();}}, + + click: function(){items.clicks+=1;ui.updateitems();}, + + dog: function(){if(items.clicks>=100){items.dogs+=1;items.clicks-=100;ui.updateitems();}}, + + cat: function(){if(items.dogs>=20){items.cats+=1;items.dogs-=20;ui.updateitems();}}, +}; + +window.onload = function(){ + user.setkeys(); + + if (localStorage.getItem('items')!=null){game.loaditems();}; + + ui.updateitems(); +}; diff --git a/Version - 11/style.css b/Version - 11/style.css new file mode 100644 index 0000000..5511017 --- /dev/null +++ b/Version - 11/style.css @@ -0,0 +1,42 @@ +body { + font-size: 15pt; +} +#unpressed{ + position: absolute; + width: 300px; + height: 300px; + + +} +#pressed{ + position: absolute; + width: 300px; + height: 300px; + visibility: hidden; +} +#button1{ + user-select: none; + position: absolute; + top: 50%; + left: 50%; + margin: -150px 0 0 -150px; +} +#reset{ + user-select: none; + width: 75px; + height: 50px; + background-color: darkred; + color: #ffffff; +} +#buydog{ + user-select: none; + width: 180px; + height: 50px; + background-color: wheat; +} +#buycat{ + user-select: none; + width: 180px; + height: 50px; + background-color: darkgray; +} \ No newline at end of file diff --git a/Version - 14/Add.txt b/Version - 14/Add.txt new file mode 100644 index 0000000..e5460a1 --- /dev/null +++ b/Version - 14/Add.txt @@ -0,0 +1,15 @@ +click.offline.make +max 5 hour + +BuyDog dog.log clicks/s + +1 dog = 0.01 clicks/s +1 cat = 1 clicks/s +1 hamster = 100 c/s +1 girrafe = 10 000 c/s + +1 citronovník = 30 lemons/h + +reset all.clicks + +36,7% k 10 citronum že vyroste citronovník \ No newline at end of file diff --git a/Version - 14/index.html b/Version - 14/index.html new file mode 100644 index 0000000..5a274e3 --- /dev/null +++ b/Version - 14/index.html @@ -0,0 +1,36 @@ + + + + + + + + HTML + + + + + + + +
+

+
+
+ + +
+ +
+

+ +
+
+ +
+
+ +
+ + + \ No newline at end of file diff --git a/Version - 14/main.js b/Version - 14/main.js new file mode 100644 index 0000000..8d7def2 --- /dev/null +++ b/Version - 14/main.js @@ -0,0 +1,64 @@ +var items = { + clicks: 0, + dogs: 0, + cats: 0, + lemons: 0, + }; + +var user = { + device: function(){return (/Android|iPhone/i.test(navigator.userAgent));},/* true for mobiles */ + + setkeys: function(){ + if(user.device()){ + document.getElementById('button1').ontouchstart=function(){button.press()};document.getElementById('button1').ontouchend=function(){button.unpress()} + }else{document.getElementById('button1').onmousedown=function(){button.press()};document.getElementById('button1').onmouseup=function(){button.unpress()};};}, + +}; + +var button = { + + press: function(){ + game.click(); + document.getElementById('unpressed').style.visibility = 'hidden'; + document.getElementById('pressed').style.visibility = 'visible'; + }, + + unpress: function(){ + document.getElementById('unpressed').style.visibility = 'visible'; + document.getElementById('pressed').style.visibility = 'hidden'; + }, +}; + +var ui = { + updateitems: function(){ + document.getElementById('logdog').innerHTML='Dogs: ' + items.dogs; + localStorage.setItem('items',JSON.stringify(items)) + + document.getElementById('logclicks').innerHTML='Clicks: ' + items.clicks; + localStorage.setItem('items',JSON.stringify(items)) + } +} + +var game = { + loaditems: function(){ + items = JSON.parse(localStorage.getItem('items')); + }, + + reset: function(){if(confirm('Are you sure you want to reset all your progress?')){items={clicks: 0,dogs: 0,cats: 0,lemons: 0,};ui.updateitems();}}, + + click: function(){items.clicks+=1;ui.updateitems();}, + + dog: function(){if(items.clicks>=100){items.dogs+=1;items.clicks-=100;ui.updateitems();}}, + + cat: function(){if(items.dogs>=10){items.cats+=1;items.dogs-=10;ui.updateitems();}}, + + lemon: function(){if(items.cats>=5){items.lemons+=1;items.cats-=5;ui.updateitems();}}, +}; + +window.onload = function(){ + user.setkeys(); + + if (localStorage.getItem('items')!=null){game.loaditems();}; + + ui.updateitems(); +}; diff --git a/Version - 14/style.css b/Version - 14/style.css new file mode 100644 index 0000000..d943f25 --- /dev/null +++ b/Version - 14/style.css @@ -0,0 +1,72 @@ +body { + font-size: 15pt; +} +#unpressed{ + position: absolute; + width: 300px; + height: 300px; +} +#pressed{ + position: absolute; + width: 300px; + height: 300px; + visibility: hidden; +} +#button1{ + user-select: none; + position: absolute; + top: 69px; + left: 50%; + margin: 0 0 0 -150px; +} +#reset{ + user-select: none; + width: 75px; + height: 50px; + background-color: darkred; + color: #ffffff; +} +#buydog{ + user-select: none; + width: 180px; + height: 50px; + background-color: wheat; +} +#buycat{ + user-select: none; + width: 180px; + height: 50px; + background-color: darkgray; +} +#dog{ + user-select: none; + position: absolute; + top: 400px +} +#cat{ + user-select: none; + position: absolute; + top: 520px; +} +#delete{ + user-select: none; + position: absolute; + top: 1000px; +} +#percent{ + user-select: none; + width: 30px; + height: 30px; + position: absolute; + top: 10px; +} +#Clicks{ + user-select: none; + position: absolute; + text-align: center; + height: 20px; + width: 200px; + top: 10px; + left: 50%; + margin: 0 0 0 -100px; +} \ No newline at end of file diff --git a/Version - 15/Add.txt b/Version - 15/Add.txt new file mode 100644 index 0000000..e5460a1 --- /dev/null +++ b/Version - 15/Add.txt @@ -0,0 +1,15 @@ +click.offline.make +max 5 hour + +BuyDog dog.log clicks/s + +1 dog = 0.01 clicks/s +1 cat = 1 clicks/s +1 hamster = 100 c/s +1 girrafe = 10 000 c/s + +1 citronovník = 30 lemons/h + +reset all.clicks + +36,7% k 10 citronum že vyroste citronovník \ No newline at end of file diff --git a/Version - 15/devlog.txt b/Version - 15/devlog.txt new file mode 100644 index 0000000..f532e50 --- /dev/null +++ b/Version - 15/devlog.txt @@ -0,0 +1,16 @@ + + + + +v. 15 +- added comments making code more readeble +- id of paragraph showing items must be same as item name in items object if not error can occur +- orgenised code in logic order (as example look at css & html) +- ui.updateitems function made working on every item in items object +- added lemons as new item now four total (including clicks) +- separated buy item functions from game object now are in buy object +- added setup function to game object to clean up window.onload function + + + + diff --git a/Version - 15/index.html b/Version - 15/index.html new file mode 100644 index 0000000..5137bc8 --- /dev/null +++ b/Version - 15/index.html @@ -0,0 +1,68 @@ + + + + BRB clicker + + + + + + + + + + +
+ +
+ + + + + +
+ + +
+ + +
+

+
+ + + +
+

+ +
+ + +
+

+ +
+ + +
+

+ +
+ + + + + + + + + + \ No newline at end of file diff --git a/Version - 15/main.js b/Version - 15/main.js new file mode 100644 index 0000000..b4d36fc --- /dev/null +++ b/Version - 15/main.js @@ -0,0 +1,59 @@ + +window.onload = function(){ + game.setup(); +}; + +// items +var items = { + clicks: 0, + dogs: 0, + cats: 0, + lemons: 0, + }; + +// device +var user = { + device: function(){return (/Android|iPhone/i.test(navigator.userAgent));},/* true for mobiles */ + + setkeys: function(){ + if(user.device()){ + document.getElementById('button').ontouchstart=function(){button.press()};document.getElementById('button').ontouchend=function(){button.unpress()} + }else{document.getElementById('button').onmousedown=function(){button.press()};document.getElementById('button').onmouseup=function(){button.unpress()};};}, + +}; + +//user interface +var ui = { + updateitems: function(){ + for (let name in items) { + document.getElementById('log'+name).innerHTML = name + ': ' + items[name]; + } + localStorage.setItem('items', JSON.stringify(items)) + }, +} + +// BRB +var button = { + press: function(){game.click();document.getElementById('unpressed').style.visibility = 'hidden';document.getElementById('pressed').style.visibility = 'visible';}, + unpress: function(){document.getElementById('unpressed').style.visibility = 'visible';document.getElementById('pressed').style.visibility = 'hidden';}, +}; + +// game functions +var game = { + loaditems: function(){items = JSON.parse(localStorage.getItem('items'));}, + + reset: function(){if(confirm('Are you sure you want to reset all your progress?')){items={clicks: 0,dogs: 0,cats: 0,lemons: 0,};ui.updateitems();}}, + + setup: function(){user.setkeys();if (localStorage.getItem('items')!=null){game.loaditems();};ui.updateitems();}, + + click: function(){items.clicks+=1;ui.updateitems();}, +}; + +// buy item functions +var buy = { + dog: function(){if(items.clicks>=100){items.dogs+=1;items.clicks-=100;ui.updateitems();}}, + + cat: function(){if(items.dogs>=10){items.cats+=1;items.dogs-=10;ui.updateitems();}}, + + lemon: function(){if(items.cats>=5){items.lemons+=1;items.cats-=5;ui.updateitems();}}, +} diff --git a/Version - 15/style.css b/Version - 15/style.css new file mode 100644 index 0000000..2a9838a --- /dev/null +++ b/Version - 15/style.css @@ -0,0 +1,99 @@ +body { + font-size: 15pt; +} +/* reset */ +#reset{ + user-select: none; + width: 75px; + height: 50px; + background-color: darkred; + color: #ffffff; +} +#delete{ + user-select: none; + position: absolute; + top: 1000px; + right: 10px; +} + +/* percent */ +#percent{ + user-select: none; + width: 30px; + height: 30px; + position: absolute; + top: 10px; +} + +/*BRB*/ +#unpressed{ + position: absolute; + width: 300px; + height: 300px; +} +#pressed{ + position: absolute; + width: 300px; + height: 300px; + visibility: hidden; +} +#button{ + user-select: none; + position: absolute; + top: 69px; + left: 50%; + margin: 0 0 0 -150px; +} + +/* items */ + +/* click */ +#clicks{ + user-select: none; + position: absolute; + text-align: center; + height: 20px; + width: 200px; + top: 10px; + left: 50%; + margin: 0 0 0 -100px; +} + +/* dog */ +#dog{ + user-select: none; + position: absolute; + top: 400px; +} +#buydog{ + user-select: none; + width: 180px; + height: 50px; + background-color: wheat; +} + +/* cat */ +#cat{ + user-select: none; + position: absolute; + top: 525px; +} +#buycat{ + user-select: none; + width: 180px; + height: 50px; + background-color: darkgray; +} + +/* lemon */ +#lemon{ + user-select: none; + position: absolute; + top: 650px; +} +#buylemon{ + user-select: none; + width: 180px; + height: 50px; + background-color: yellow; +} \ No newline at end of file diff --git a/Version - 16/Add.txt b/Version - 16/Add.txt new file mode 100644 index 0000000..1dc12c5 --- /dev/null +++ b/Version - 16/Add.txt @@ -0,0 +1,17 @@ +click.offline.make +max 5 hour + +BuyDog dog.log clicks/s + +1 dog = 1 clicks/s +1 cat = 100 clicks/s +1 hamster = 10 000 c/s +1 girrafe = 1 000 000 c/s + +1 citronovník = 30 lemons/h + +reset all.clicks + +36,7% k 10 citronum že vyroste citronovník + +compile to .exe and add it to the play store \ No newline at end of file diff --git a/Version - 16/devlog.txt b/Version - 16/devlog.txt new file mode 100644 index 0000000..f532e50 --- /dev/null +++ b/Version - 16/devlog.txt @@ -0,0 +1,16 @@ + + + + +v. 15 +- added comments making code more readeble +- id of paragraph showing items must be same as item name in items object if not error can occur +- orgenised code in logic order (as example look at css & html) +- ui.updateitems function made working on every item in items object +- added lemons as new item now four total (including clicks) +- separated buy item functions from game object now are in buy object +- added setup function to game object to clean up window.onload function + + + + diff --git a/Version - 16/index.html b/Version - 16/index.html new file mode 100644 index 0000000..5e5bbd1 --- /dev/null +++ b/Version - 16/index.html @@ -0,0 +1,68 @@ + + + + BRB clicker + + + + + + + + + + +
+ +
+ + + + + +
+ + +
+ + +
+

+
+ + + +
+

+ +
+ + +
+

+ +
+ + +
+

+ +
+ + + + + + + + + + \ No newline at end of file diff --git a/Version - 16/main.js b/Version - 16/main.js new file mode 100644 index 0000000..8a70440 --- /dev/null +++ b/Version - 16/main.js @@ -0,0 +1,59 @@ +window.onload = function(){ + game.setup(); +}; + +// items +var items = { + clicks: 0, + dogs: 0, + cats: 0, + lemons: 0, + + }; + +// device +var user = { + device: function(){return (/Android|iPhone/i.test(navigator.userAgent));},/* true for mobiles */ + + setkeys: function(){ + if(user.device()){ + document.getElementById('button').ontouchstart=function(){button.press()};document.getElementById('button').ontouchend=function(){button.unpress()} + }else{document.getElementById('button').onmousedown=function(){button.press()};document.getElementById('button').onmouseup=function(){button.unpress()};};}, + +}; + +//user interface +var ui = { + updateitems: function(){ + for (let name in items) { + document.getElementById('log'+name).innerHTML ='You have ' + name + ': ' + items[name]; + } + localStorage.setItem('items', JSON.stringify(items)) + }, +} + +// BRB +var button = { + press: function(){game.click();document.getElementById('unpressed').style.visibility = 'hidden';document.getElementById('pressed').style.visibility = 'visible';}, + unpress: function(){document.getElementById('unpressed').style.visibility = 'visible';document.getElementById('pressed').style.visibility = 'hidden';}, +}; + +// game functions +var game = { + loaditems: function(){items = JSON.parse(localStorage.getItem('items'));}, + + reset: function(){if(confirm('Are you sure you want to reset all your progress?')){items={clicks: 0,dogs: 0,cats: 0,lemons: 0,};ui.updateitems();}}, + + setup: function(){user.setkeys();if (localStorage.getItem('items')!=null){game.loaditems();};ui.updateitems();}, + + click: function(){items.clicks+=1;ui.updateitems();}, +}; + +// buy item functions +var buy = { + dog: function(){if(items.clicks>=100){items.dogs+=1;items.clicks-=100;ui.updateitems();}}, + + cat: function(){if(items.dogs>=10){items.cats+=1;items.dogs-=10;ui.updateitems();}}, + + lemon: function(){if(items.cats>=5){items.lemons+=1;items.cats-=5;ui.updateitems();}}, +} diff --git a/Version - 16/style.css b/Version - 16/style.css new file mode 100644 index 0000000..ae50cf6 --- /dev/null +++ b/Version - 16/style.css @@ -0,0 +1,117 @@ +body { + font-size: 15pt; +} +/* reset */ +#reset{ + user-select: none; + width: 75px; + height: 50px; + background-color: darkred; + color: #ffffff; +} +#delete{ + user-select: none; + position: absolute; + top: 1000px; + right: 10px; +} + +/* percent */ +#percent{ + user-select: none; + width: 30px; + height: 30px; + position: absolute; + top: 10px; +} + +/*BRB*/ +#unpressed{ + position: absolute; + width: 300px; + height: 300px; +} +#pressed{ + position: absolute; + width: 300px; + height: 300px; + visibility: hidden; +} +#button{ + user-select: none; + position: absolute; + top: 69px; + left: 50%; + margin: 0 0 0 -150px; +} + +/* items */ + + +/* click */ +#clicks{ + user-select: none; + position: absolute; + text-align: center; + height: 20px; + width: 200px; + top: 10px; + left: 50%; + margin: 0 0 0 -100px; +} + +/* dog */ +#dog{ + user-select: none; + position: absolute; + top: 400px; +} +#buydog{ + user-select: none; + width: 180px; + height: 50px; + background-color: wheat; +} +#logdogs{ + position: absolute; + width: 200px; + top: -5px; + left: 190px; +} + +/* cat */ +#cat{ + user-select: none; + position: absolute; + top: 525px; +} +#buycat{ + user-select: none; + width: 180px; + height: 50px; + background-color: darkgray; +} +#logcats{ + position: absolute; + width: 200px; + top: -5px; + left: 190px; +} +/* lemon */ +#lemon{ + user-select: none; + position: absolute; + top: 650px; +} +#buylemon{ + user-select: none; + width: 180px; + height: 50px; + background-color: yellow; +} +#loglemons { + position: absolute; + width: 200px; + top: -5px; + left: 190px; +} \ No newline at end of file diff --git a/Version - 17/Add.txt b/Version - 17/Add.txt new file mode 100644 index 0000000..1dc12c5 --- /dev/null +++ b/Version - 17/Add.txt @@ -0,0 +1,17 @@ +click.offline.make +max 5 hour + +BuyDog dog.log clicks/s + +1 dog = 1 clicks/s +1 cat = 100 clicks/s +1 hamster = 10 000 c/s +1 girrafe = 1 000 000 c/s + +1 citronovník = 30 lemons/h + +reset all.clicks + +36,7% k 10 citronum že vyroste citronovník + +compile to .exe and add it to the play store \ No newline at end of file diff --git a/Version - 17/devlog.txt b/Version - 17/devlog.txt new file mode 100644 index 0000000..f532e50 --- /dev/null +++ b/Version - 17/devlog.txt @@ -0,0 +1,16 @@ + + + + +v. 15 +- added comments making code more readeble +- id of paragraph showing items must be same as item name in items object if not error can occur +- orgenised code in logic order (as example look at css & html) +- ui.updateitems function made working on every item in items object +- added lemons as new item now four total (including clicks) +- separated buy item functions from game object now are in buy object +- added setup function to game object to clean up window.onload function + + + + diff --git a/Version - 17/index.html b/Version - 17/index.html new file mode 100644 index 0000000..5e5bbd1 --- /dev/null +++ b/Version - 17/index.html @@ -0,0 +1,68 @@ + + + + BRB clicker + + + + + + + + + + +
+ +
+ + + + + +
+ + +
+ + +
+

+
+ + + +
+

+ +
+ + +
+

+ +
+ + +
+

+ +
+ + + + + + + + + + \ No newline at end of file diff --git a/Version - 17/main.js b/Version - 17/main.js new file mode 100644 index 0000000..8a70440 --- /dev/null +++ b/Version - 17/main.js @@ -0,0 +1,59 @@ +window.onload = function(){ + game.setup(); +}; + +// items +var items = { + clicks: 0, + dogs: 0, + cats: 0, + lemons: 0, + + }; + +// device +var user = { + device: function(){return (/Android|iPhone/i.test(navigator.userAgent));},/* true for mobiles */ + + setkeys: function(){ + if(user.device()){ + document.getElementById('button').ontouchstart=function(){button.press()};document.getElementById('button').ontouchend=function(){button.unpress()} + }else{document.getElementById('button').onmousedown=function(){button.press()};document.getElementById('button').onmouseup=function(){button.unpress()};};}, + +}; + +//user interface +var ui = { + updateitems: function(){ + for (let name in items) { + document.getElementById('log'+name).innerHTML ='You have ' + name + ': ' + items[name]; + } + localStorage.setItem('items', JSON.stringify(items)) + }, +} + +// BRB +var button = { + press: function(){game.click();document.getElementById('unpressed').style.visibility = 'hidden';document.getElementById('pressed').style.visibility = 'visible';}, + unpress: function(){document.getElementById('unpressed').style.visibility = 'visible';document.getElementById('pressed').style.visibility = 'hidden';}, +}; + +// game functions +var game = { + loaditems: function(){items = JSON.parse(localStorage.getItem('items'));}, + + reset: function(){if(confirm('Are you sure you want to reset all your progress?')){items={clicks: 0,dogs: 0,cats: 0,lemons: 0,};ui.updateitems();}}, + + setup: function(){user.setkeys();if (localStorage.getItem('items')!=null){game.loaditems();};ui.updateitems();}, + + click: function(){items.clicks+=1;ui.updateitems();}, +}; + +// buy item functions +var buy = { + dog: function(){if(items.clicks>=100){items.dogs+=1;items.clicks-=100;ui.updateitems();}}, + + cat: function(){if(items.dogs>=10){items.cats+=1;items.dogs-=10;ui.updateitems();}}, + + lemon: function(){if(items.cats>=5){items.lemons+=1;items.cats-=5;ui.updateitems();}}, +} diff --git a/Version - 17/style.css b/Version - 17/style.css new file mode 100644 index 0000000..47665f5 --- /dev/null +++ b/Version - 17/style.css @@ -0,0 +1,117 @@ +body { + font-size: 15pt; + user-select: none; +} +/* reset */ +#reset{ + user-select: none; + width: 75px; + height: 50px; + background-color: darkred; + color: #ffffff; +} +#delete{ + user-select: none; + position: absolute; + top: 1000px; + right: 10px; +} + +/* percent */ +#percent{ + user-select: none; + width: 30px; + height: 30px; + position: absolute; + top: 10px; +} + +/*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: 69px; + left: 50%; + margin: 0 0 0 -150px; + border-radius: 150px; +} + +/* items */ + + +/* click */ +#clicks{ + position: absolute; + text-align: center; + height: 20px; + width: 400px; + top: 10px; + left: 50%; + margin: 0 0 0 -200px; +} + +/* dog */ +#dog{ + position: absolute; + top: 400px; +} +#buydog{ + width: 180px; + height: 50px; + background-color: wheat; + border-radius: 20px; +} +#logdogs{ + position: absolute; + width: 200px; + top: -5px; + left: 190px; +} + +/* cat */ +#cat{ + position: absolute; + top: 525px; +} +#buycat{ + width: 180px; + height: 50px; + background-color: darkgray; + border-radius: 20px; +} +#logcats{ + position: absolute; + width: 200px; + top: -5px; + left: 190px; +} +/* lemon */ +#lemon{ + position: absolute; + top: 650px; +} +#buylemon{ + width: 180px; + height: 50px; + background-color: yellow; + border-radius: 20px; +} +#loglemons { + position: absolute; + width: 200px; + top: -5px; + left: 190px; +} \ No newline at end of file diff --git a/Version - 18/Add.txt b/Version - 18/Add.txt new file mode 100644 index 0000000..1dc12c5 --- /dev/null +++ b/Version - 18/Add.txt @@ -0,0 +1,17 @@ +click.offline.make +max 5 hour + +BuyDog dog.log clicks/s + +1 dog = 1 clicks/s +1 cat = 100 clicks/s +1 hamster = 10 000 c/s +1 girrafe = 1 000 000 c/s + +1 citronovník = 30 lemons/h + +reset all.clicks + +36,7% k 10 citronum že vyroste citronovník + +compile to .exe and add it to the play store \ No newline at end of file diff --git a/Version - 18/devlog.txt b/Version - 18/devlog.txt new file mode 100644 index 0000000..f532e50 --- /dev/null +++ b/Version - 18/devlog.txt @@ -0,0 +1,16 @@ + + + + +v. 15 +- added comments making code more readeble +- id of paragraph showing items must be same as item name in items object if not error can occur +- orgenised code in logic order (as example look at css & html) +- ui.updateitems function made working on every item in items object +- added lemons as new item now four total (including clicks) +- separated buy item functions from game object now are in buy object +- added setup function to game object to clean up window.onload function + + + + diff --git a/Version - 18/index.html b/Version - 18/index.html new file mode 100644 index 0000000..282fd1a --- /dev/null +++ b/Version - 18/index.html @@ -0,0 +1,75 @@ + + + + BRB clicker + + + + + + + + + + +
+ +
+ + + + + +
+ + +
+ + +
+

+
+ + + + +
+

+ +
+ + +
+

+ +
+ + +
+

+ +
+ + +
+

+ +
+ + + + + + + + \ No newline at end of file diff --git a/Version - 18/main.js b/Version - 18/main.js new file mode 100644 index 0000000..bcd57b8 --- /dev/null +++ b/Version - 18/main.js @@ -0,0 +1,62 @@ +window.onload = function(){ + game.setup(); +}; + +// items +var items = { + clicks: 0, + dogs: 0, + cats: 0, + lemons: 0, + foxes: 0, + + }; + +// device +var user = { + device: function(){return (/Android|iPhone/i.test(navigator.userAgent));},/* true for mobiles */ + + setkeys: function(){ + if(user.device()){ + document.getElementById('button').ontouchstart=function(){button.press()};document.getElementById('button').ontouchend=function(){button.unpress()} + }else{document.getElementById('button').onmousedown=function(){button.press()};document.getElementById('button').onmouseup=function(){button.unpress()};};}, + +}; + +//user interface +var ui = { + updateitems: function(){ + for (let name in items) { + document.getElementById('log'+name).innerHTML ='You have ' + name + ': ' + items[name]; + } + localStorage.setItem('items', JSON.stringify(items)) + }, +} + +// BRB +var button = { + press: function(){game.click();document.getElementById('unpressed').style.visibility = 'hidden';document.getElementById('pressed').style.visibility = 'visible';}, + unpress: function(){document.getElementById('unpressed').style.visibility = 'visible';document.getElementById('pressed').style.visibility = 'hidden';}, +}; + +// game functions +var game = { + loaditems: function(){items = JSON.parse(localStorage.getItem('items'));}, + + reset: function(){if(confirm('Are you sure you want to reset all your progress?')){items={clicks: 0,dogs: 0,cats: 0,lemons: 0,foxes: 0,};ui.updateitems();}}, + + setup: function(){user.setkeys();if (localStorage.getItem('items')!=null){game.loaditems();};ui.updateitems();}, + + click: function(){items.clicks+=1;ui.updateitems();}, +}; + +// buy item functions +var buy = { + dog: function(){if(items.clicks>=100){items.dogs+=1;items.clicks-=100;ui.updateitems();}}, + + cat: function(){if(items.dogs>=10){items.cats+=1;items.dogs-=10;ui.updateitems();}}, + + lemon: function(){if(items.cats>=5){items.lemons+=1;items.cats-=5;ui.updateitems();}}, + + fox: function(){if(items.dogs>=15){items.foxes+=1;items.dogs-=15;ui.updateitems();}}, +} diff --git a/Version - 18/style.css b/Version - 18/style.css new file mode 100644 index 0000000..d510948 --- /dev/null +++ b/Version - 18/style.css @@ -0,0 +1,136 @@ +body { + font-size: 15pt; + user-select: none; +} +/* reset */ +#reset{ + user-select: none; + width: 75px; + height: 50px; + background-color: darkred; + color: #ffffff; +} +#delete{ + user-select: none; + position: absolute; + top: 900px; + right: 10px; +} + +/* percent */ +#percent{ + user-select: none; + width: 30px; + height: 30px; + position: absolute; + top: 10px; +} + +/*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: 69px; + left: 50%; + margin: 0 0 0 -150px; + border-radius: 150px; +} + +/* I T E M S */ + + +/* click */ +#clicks{ + position: absolute; + text-align: center; + height: 20px; + width: 400px; + top: 10px; + left: 50%; + margin: 0 0 0 -200px; +} + +/* dog */ +#dog{ + position: absolute; + top: 400px; +} +#buydog{ + width: 180px; + height: 50px; + background-color: wheat; + border-radius: 20px; +} +#logdogs{ + position: absolute; + width: 200px; + top: -5px; + left: 190px; +} + +/* cat */ +#cat{ + position: absolute; + top: 475px; +} +#buycat{ + width: 180px; + height: 50px; + background-color: darkgray; + border-radius: 20px; +} +#logcats{ + position: absolute; + width: 200px; + top: -5px; + left: 190px; +} + +/* lemon */ +#lemon{ + position: absolute; + top: 550px; +} +#buylemon{ + width: 180px; + height: 50px; + background-color: yellow; + border-radius: 20px; +} +#loglemons{ + position: absolute; + width: 200px; + top: -5px; + left: 190px; +} + +/* fox */ +#fox{ + position: absolute; + top: 625px; +} +#buyfox{ + width: 180px; + height: 50px; + background-color: orange; + border-radius: 20px; +} +#logfoxes{ + position: absolute; + width: 200px; + top: -5px; + left: 190px; +} \ No newline at end of file diff --git a/Version - 19/Add.txt b/Version - 19/Add.txt new file mode 100644 index 0000000..d2d0d8a --- /dev/null +++ b/Version - 19/Add.txt @@ -0,0 +1,26 @@ +click.offline.make +max 5 hour + +BuyDog dog.log clicks/s + +1 dog = 1 clicks/s +1 cat = 100 clicks/s +1 fox = 15 clicks/s + +1 hamster = 10 000 c/s +1 girrafe = 1 000 000 c/s + +1 citronovník = 30 lemons/h + +reset all.clicks + +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, ... +total production + +upgrades! + +more costly stuff + 14% \ No newline at end of file diff --git a/Version - 19/devlog.txt b/Version - 19/devlog.txt new file mode 100644 index 0000000..f532e50 --- /dev/null +++ b/Version - 19/devlog.txt @@ -0,0 +1,16 @@ + + + + +v. 15 +- added comments making code more readeble +- id of paragraph showing items must be same as item name in items object if not error can occur +- orgenised code in logic order (as example look at css & html) +- ui.updateitems function made working on every item in items object +- added lemons as new item now four total (including clicks) +- separated buy item functions from game object now are in buy object +- added setup function to game object to clean up window.onload function + + + + diff --git a/Version - 19/index.html b/Version - 19/index.html new file mode 100644 index 0000000..34bd0fa --- /dev/null +++ b/Version - 19/index.html @@ -0,0 +1,73 @@ + + + + BRB clicker + + + + + + + + + + +
+ +
+ + + + + +
+ + +
+ + +
+

+
+ + + + +
+

+ +
+ + +
+

+ +
+ + +
+

+ +
+ + +
+

+ +
+ + + + + + \ No newline at end of file diff --git a/Version - 19/main.js b/Version - 19/main.js new file mode 100644 index 0000000..bcd57b8 --- /dev/null +++ b/Version - 19/main.js @@ -0,0 +1,62 @@ +window.onload = function(){ + game.setup(); +}; + +// items +var items = { + clicks: 0, + dogs: 0, + cats: 0, + lemons: 0, + foxes: 0, + + }; + +// device +var user = { + device: function(){return (/Android|iPhone/i.test(navigator.userAgent));},/* true for mobiles */ + + setkeys: function(){ + if(user.device()){ + document.getElementById('button').ontouchstart=function(){button.press()};document.getElementById('button').ontouchend=function(){button.unpress()} + }else{document.getElementById('button').onmousedown=function(){button.press()};document.getElementById('button').onmouseup=function(){button.unpress()};};}, + +}; + +//user interface +var ui = { + updateitems: function(){ + for (let name in items) { + document.getElementById('log'+name).innerHTML ='You have ' + name + ': ' + items[name]; + } + localStorage.setItem('items', JSON.stringify(items)) + }, +} + +// BRB +var button = { + press: function(){game.click();document.getElementById('unpressed').style.visibility = 'hidden';document.getElementById('pressed').style.visibility = 'visible';}, + unpress: function(){document.getElementById('unpressed').style.visibility = 'visible';document.getElementById('pressed').style.visibility = 'hidden';}, +}; + +// game functions +var game = { + loaditems: function(){items = JSON.parse(localStorage.getItem('items'));}, + + reset: function(){if(confirm('Are you sure you want to reset all your progress?')){items={clicks: 0,dogs: 0,cats: 0,lemons: 0,foxes: 0,};ui.updateitems();}}, + + setup: function(){user.setkeys();if (localStorage.getItem('items')!=null){game.loaditems();};ui.updateitems();}, + + click: function(){items.clicks+=1;ui.updateitems();}, +}; + +// buy item functions +var buy = { + dog: function(){if(items.clicks>=100){items.dogs+=1;items.clicks-=100;ui.updateitems();}}, + + cat: function(){if(items.dogs>=10){items.cats+=1;items.dogs-=10;ui.updateitems();}}, + + lemon: function(){if(items.cats>=5){items.lemons+=1;items.cats-=5;ui.updateitems();}}, + + fox: function(){if(items.dogs>=15){items.foxes+=1;items.dogs-=15;ui.updateitems();}}, +} diff --git a/Version - 19/style.css b/Version - 19/style.css new file mode 100644 index 0000000..d510948 --- /dev/null +++ b/Version - 19/style.css @@ -0,0 +1,136 @@ +body { + font-size: 15pt; + user-select: none; +} +/* reset */ +#reset{ + user-select: none; + width: 75px; + height: 50px; + background-color: darkred; + color: #ffffff; +} +#delete{ + user-select: none; + position: absolute; + top: 900px; + right: 10px; +} + +/* percent */ +#percent{ + user-select: none; + width: 30px; + height: 30px; + position: absolute; + top: 10px; +} + +/*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: 69px; + left: 50%; + margin: 0 0 0 -150px; + border-radius: 150px; +} + +/* I T E M S */ + + +/* click */ +#clicks{ + position: absolute; + text-align: center; + height: 20px; + width: 400px; + top: 10px; + left: 50%; + margin: 0 0 0 -200px; +} + +/* dog */ +#dog{ + position: absolute; + top: 400px; +} +#buydog{ + width: 180px; + height: 50px; + background-color: wheat; + border-radius: 20px; +} +#logdogs{ + position: absolute; + width: 200px; + top: -5px; + left: 190px; +} + +/* cat */ +#cat{ + position: absolute; + top: 475px; +} +#buycat{ + width: 180px; + height: 50px; + background-color: darkgray; + border-radius: 20px; +} +#logcats{ + position: absolute; + width: 200px; + top: -5px; + left: 190px; +} + +/* lemon */ +#lemon{ + position: absolute; + top: 550px; +} +#buylemon{ + width: 180px; + height: 50px; + background-color: yellow; + border-radius: 20px; +} +#loglemons{ + position: absolute; + width: 200px; + top: -5px; + left: 190px; +} + +/* fox */ +#fox{ + position: absolute; + top: 625px; +} +#buyfox{ + width: 180px; + height: 50px; + background-color: orange; + border-radius: 20px; +} +#logfoxes{ + position: absolute; + width: 200px; + top: -5px; + left: 190px; +} \ No newline at end of file diff --git a/Version - 2/index.html b/Version - 2/index.html new file mode 100644 index 0000000..bad3ba2 --- /dev/null +++ b/Version - 2/index.html @@ -0,0 +1,29 @@ + + + + + + + + HTML + + + + + + + + + +
+
+ +
+
+ +
+
+ +

+ + \ No newline at end of file diff --git a/Version - 2/main.js b/Version - 2/main.js new file mode 100644 index 0000000..66ed1bb --- /dev/null +++ b/Version - 2/main.js @@ -0,0 +1,16 @@ +var count = 0; +window.onload = function(){ + var red = document.getElementById('red'); + var green = document.getElementById('green'); + var button = document.getElementById('button1'); + button.ontouchstart = function(){ + red.style.visibility='hidden'; + green.style.visibility='visible' + count++; + document.getElementById('clicks').innerHTML=count; + } + button.ontouchend=function(){ + red.style.visibility='visible'; + green.style.visibility='hidden' + } +} diff --git a/Version - 2/style.css b/Version - 2/style.css new file mode 100644 index 0000000..32f2b70 --- /dev/null +++ b/Version - 2/style.css @@ -0,0 +1,23 @@ +body { + font-size: 15pt; + user-select: none; +} +#red{ + position: absolute; + width: 100px; + height: 100px; + + +} +#green{ + position: absolute; + width: 100px; + height: 100px; + visibility: hidden; +} +#button1{ +position: absolute; + top: 50%; + left: 50%; + margin: -50px 0 0 -50px; +} \ No newline at end of file diff --git a/Version - 20/Add.txt b/Version - 20/Add.txt new file mode 100644 index 0000000..7a75251 --- /dev/null +++ b/Version - 20/Add.txt @@ -0,0 +1,54 @@ +click.offline.make +max 5 hour + +BuyDog dog.log clicks/s + +1 dog = 1 clicks/s +1 cat = 100 clicks/s +1 fox = 150 clicks/s + +1 hamster = 10 000 c/s +1 girrafe = 1 000 000 c/s + +1 citronovník = 30 lemons/h + +reset all.clicks + +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, ... +total production + +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 + diff --git a/Version - 20/devlog.txt b/Version - 20/devlog.txt new file mode 100644 index 0000000..f532e50 --- /dev/null +++ b/Version - 20/devlog.txt @@ -0,0 +1,16 @@ + + + + +v. 15 +- added comments making code more readeble +- id of paragraph showing items must be same as item name in items object if not error can occur +- orgenised code in logic order (as example look at css & html) +- ui.updateitems function made working on every item in items object +- added lemons as new item now four total (including clicks) +- separated buy item functions from game object now are in buy object +- added setup function to game object to clean up window.onload function + + + + diff --git a/Version - 20/index.html b/Version - 20/index.html new file mode 100644 index 0000000..ddbb395 --- /dev/null +++ b/Version - 20/index.html @@ -0,0 +1,77 @@ + + + + BRB clicker + + + + + + + + + +
+ Go to Shop! +
+ + +
+ +
+ + + + + +
+ + +
+ + +
+

+
+ + + + +
+

+ +
+ + +
+

+ +
+ + +
+

+ +
+ + +
+

+ +
+ + + + + + \ No newline at end of file diff --git a/Version - 20/main.js b/Version - 20/main.js new file mode 100644 index 0000000..bcd57b8 --- /dev/null +++ b/Version - 20/main.js @@ -0,0 +1,62 @@ +window.onload = function(){ + game.setup(); +}; + +// items +var items = { + clicks: 0, + dogs: 0, + cats: 0, + lemons: 0, + foxes: 0, + + }; + +// device +var user = { + device: function(){return (/Android|iPhone/i.test(navigator.userAgent));},/* true for mobiles */ + + setkeys: function(){ + if(user.device()){ + document.getElementById('button').ontouchstart=function(){button.press()};document.getElementById('button').ontouchend=function(){button.unpress()} + }else{document.getElementById('button').onmousedown=function(){button.press()};document.getElementById('button').onmouseup=function(){button.unpress()};};}, + +}; + +//user interface +var ui = { + updateitems: function(){ + for (let name in items) { + document.getElementById('log'+name).innerHTML ='You have ' + name + ': ' + items[name]; + } + localStorage.setItem('items', JSON.stringify(items)) + }, +} + +// BRB +var button = { + press: function(){game.click();document.getElementById('unpressed').style.visibility = 'hidden';document.getElementById('pressed').style.visibility = 'visible';}, + unpress: function(){document.getElementById('unpressed').style.visibility = 'visible';document.getElementById('pressed').style.visibility = 'hidden';}, +}; + +// game functions +var game = { + loaditems: function(){items = JSON.parse(localStorage.getItem('items'));}, + + reset: function(){if(confirm('Are you sure you want to reset all your progress?')){items={clicks: 0,dogs: 0,cats: 0,lemons: 0,foxes: 0,};ui.updateitems();}}, + + setup: function(){user.setkeys();if (localStorage.getItem('items')!=null){game.loaditems();};ui.updateitems();}, + + click: function(){items.clicks+=1;ui.updateitems();}, +}; + +// buy item functions +var buy = { + dog: function(){if(items.clicks>=100){items.dogs+=1;items.clicks-=100;ui.updateitems();}}, + + cat: function(){if(items.dogs>=10){items.cats+=1;items.dogs-=10;ui.updateitems();}}, + + lemon: function(){if(items.cats>=5){items.lemons+=1;items.cats-=5;ui.updateitems();}}, + + fox: function(){if(items.dogs>=15){items.foxes+=1;items.dogs-=15;ui.updateitems();}}, +} diff --git a/Version - 20/shop.html b/Version - 20/shop.html new file mode 100644 index 0000000..081f8d4 --- /dev/null +++ b/Version - 20/shop.html @@ -0,0 +1,64 @@ + + + + + + + Shop + + + + + +
+ Go to the B.R.B.! +
+ + + +
+

+
+ + + + +
+

+ +
+ + +
+

+ +
+ + +
+

+ +
+ + +
+

+ +
+ + + + + + + + + \ No newline at end of file diff --git a/Version - 20/style.css b/Version - 20/style.css new file mode 100644 index 0000000..3150067 --- /dev/null +++ b/Version - 20/style.css @@ -0,0 +1,157 @@ +body { + font-size: 15pt; + user-select: none; +} +/* Shop */ +#shop{ + user-select: none; + position: absolute; + bottom: 8px; + right: 75px; + width: 100px; + height: 50px; + margin: 0 0 0 -100%; +} +#kauf{ + user-select: none; + position: absolute; + width: 75px; + height: 50px; + background-color: darkred; + color: #ffffff; + text-align: center; + +} + +/* reset */ +#reset{ + user-select: none; + width: 75px; + height: 50px; + background-color: darkred; + color: #ffffff; +} +#delete{ + user-select: none; + position: absolute; + top: 900px; + right: 10px; +} + +/* percent */ +#percent{ + user-select: none; + width: 30px; + height: 30px; + position: absolute; + top: 10px; +} + +/*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: 69px; + left: 50%; + margin: 0 0 0 -150px; + border-radius: 150px; +} + +/* I T E M S */ + + +/* click */ +#clicks{ + position: absolute; + text-align: center; + height: 20px; + width: 400px; + top: 10px; + left: 50%; + margin: 0 0 0 -200px; +} + +/* dog */ +#dog{ + position: absolute; + top: 400px; +} +#buydog{ + width: 180px; + height: 50px; + background-color: wheat; + border-radius: 20px; +} +#logdogs{ + position: absolute; + width: 200px; + top: -5px; + left: 190px; +} + +/* cat */ +#cat{ + position: absolute; + top: 475px; +} +#buycat{ + width: 180px; + height: 50px; + background-color: darkgray; + border-radius: 20px; +} +#logcats{ + position: absolute; + width: 200px; + top: -5px; + left: 190px; +} + +/* lemon */ +#lemon{ + position: absolute; + top: 550px; +} +#buylemon{ + width: 180px; + height: 50px; + background-color: yellow; + border-radius: 20px; +} +#loglemons{ + position: absolute; + width: 200px; + top: -5px; + left: 190px; +} + +/* fox */ +#fox{ + position: absolute; + top: 625px; +} +#buyfox{ + width: 180px; + height: 50px; + background-color: orange; + border-radius: 20px; +} +#logfoxes{ + position: absolute; + width: 200px; + top: -5px; + left: 190px; +} \ No newline at end of file diff --git a/Version - 24.1/img/Cat.png b/Version - 24.1/img/Cat.png new file mode 100644 index 0000000..cb28040 Binary files /dev/null and b/Version - 24.1/img/Cat.png differ diff --git a/Version - 24.1/img/Click.png b/Version - 24.1/img/Click.png new file mode 100644 index 0000000..dcb758c Binary files /dev/null and b/Version - 24.1/img/Click.png differ diff --git a/Version - 24.1/img/Dog.png b/Version - 24.1/img/Dog.png new file mode 100644 index 0000000..5580408 Binary files /dev/null and b/Version - 24.1/img/Dog.png differ diff --git a/Version - 24.1/img/Fox.png b/Version - 24.1/img/Fox.png new file mode 100644 index 0000000..7ccf84f Binary files /dev/null and b/Version - 24.1/img/Fox.png differ diff --git a/Version - 24.1/img/Lemons.png b/Version - 24.1/img/Lemons.png new file mode 100644 index 0000000..c5b62a7 Binary files /dev/null and b/Version - 24.1/img/Lemons.png differ diff --git a/Version - 24.1/img/Lemt3.png b/Version - 24.1/img/Lemt3.png new file mode 100644 index 0000000..926add8 Binary files /dev/null and b/Version - 24.1/img/Lemt3.png differ diff --git a/Version - 24.1/img/Wolf.png b/Version - 24.1/img/Wolf.png new file mode 100644 index 0000000..ebf382b Binary files /dev/null and b/Version - 24.1/img/Wolf.png differ diff --git a/Version - 24.1/index.html b/Version - 24.1/index.html new file mode 100644 index 0000000..734a042 --- /dev/null +++ b/Version - 24.1/index.html @@ -0,0 +1,37 @@ + + + + + + + + BRB - Clicking + + + + + + + + + + +
+ Go to Shop! +
+ + +
+

+

+ + +
+ + +
+ + + + + \ No newline at end of file diff --git a/Version - 24.1/main.js b/Version - 24.1/main.js new file mode 100644 index 0000000..9a027b2 --- /dev/null +++ b/Version - 24.1/main.js @@ -0,0 +1,52 @@ +// Items +var items + +var anime = false + +function load(){ + items = JSON.parse(localStorage.getItem('items')); +} + +function beriba(){ + document.getElementById('unpressed').style.visibility='visible' + document.getElementById('pressed').style.visibility='hidden' + anime=true; +} + +window.onload = function(){ + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + lemons:0, + lt3:0, +} + load(); + update(); +} + + + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + document.getElementById('disclick').innerHTML=`You've clicked ${items.clicks} times!` +} + + +// Clicks + +// BRB +function clicking(){ + items.clicks += 1; + update(); + + document.getElementById('unpressed').style.visibility='hidden' + document.getElementById('pressed').style.visibility='visible' + anime=false; + + setTimeout(beriba, 75) +} \ No newline at end of file diff --git a/Version - 24.1/shop.css b/Version - 24.1/shop.css new file mode 100644 index 0000000..260d2b3 --- /dev/null +++ b/Version - 24.1/shop.css @@ -0,0 +1,147 @@ +body{ + font-size: 15pt; + user-select: none; +} + +/* Dog */ +#logdog{ + position: absolute; + width: 100%; + height: 40px; + top: 90px; +} +#imgdog{ + position: absolute; + width: 64px; + height: 64px; +} +#buydog{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: darkorange; +} +#disdog{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Cats */ +#logcat{ + position: absolute; + width: 100%; + height: 40px; + top: 140px; +} +#buycat{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: orange; +} +#discat{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Foxes */ +#logfox{ + position: absolute; + width: 100%; + height: 40px; + top: 190px; +} +#buyfox{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: lightsalmon; +} +#disfox{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Wolfs */ +#logwol{ + position: absolute; + width: 100%; + height: 40px; + top: 240px; +} +#buywol{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: lightgray; +} +#diswol{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Lemons */ +#loglem{ + position: absolute; + width: 100%; + height: 40px; + top: 290px; +} +#buylem{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: yellow; +} +#dislem{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Lemon trees */ +#logLt3{ + position: absolute; + width: 100%; + height: 40px; + top: 340px; +} +#buyLt3{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: lightgoldenrodyellow; +} +#dislt3{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} diff --git a/Version - 24.1/shop.html b/Version - 24.1/shop.html new file mode 100644 index 0000000..f9edea5 --- /dev/null +++ b/Version - 24.1/shop.html @@ -0,0 +1,86 @@ + + + + + + + + BRB - Shop + + + + + + + + + + + + + +
+ Go to BRB! +
+ + +
+

+

+ + + + + +
+ + +

+

+ + +
+ +

+

+ + +
+ +

+

+ + +
+ +

+

+ + +
+ +

+

+ + +
+ +

+

+ + + + + \ No newline at end of file diff --git a/Version - 24.1/shop.js b/Version - 24.1/shop.js new file mode 100644 index 0000000..1aed266 --- /dev/null +++ b/Version - 24.1/shop.js @@ -0,0 +1,71 @@ + + + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + document.getElementById('disclick').innerHTML=`You've clicked ${items.clicks} times!` + document.getElementById('disdog').innerHTML=`You've got ${items.dogs} dogs!` + document.getElementById('discat').innerHTML=`You've got ${items.cats} cats!` + document.getElementById('disfox').innerHTML=`You've got ${items.foxes} foxes!` + document.getElementById('diswol').innerHTML=`You've got ${items.wolfs} wolfs!` + document.getElementById('dislem').innerHTML=`You've got ${items.lemons} lemons!` + document.getElementById('dislt3').innerHTML=`You've got ${items.lt3} L. trees!` + +} +load(); + +function upload(){ + update(); + load(); +} +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); +} +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 buylem(){ + if(items.cats>=10){ + items.cats-=10; + items.lemons+=1; + } + upload(); +} +function buylt3(){ + if (items.lemons>=5) { + items.lemons-=5; + items.lt3+=1; + } + upload(); +} \ No newline at end of file diff --git a/Version - 24.1/style.css b/Version - 24.1/style.css new file mode 100644 index 0000000..6ca62a7 --- /dev/null +++ b/Version - 24.1/style.css @@ -0,0 +1,43 @@ +body { + font-size: 15pt; + user-select: none; +} + +#logclick{ + position: absolute; + width: 100%; + height: 50px; + top: 40px; + left: 50%; + text-align: center; + transform: translate(-50%,0); +} +#disclick{ + position: absolute; + width: 100%; + height: 25px; + transform: translate(0%,0); +} + +/*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; +} diff --git a/Version - 24/img/Cat.png b/Version - 24/img/Cat.png new file mode 100644 index 0000000..cb28040 Binary files /dev/null and b/Version - 24/img/Cat.png differ diff --git a/Version - 24/img/Click.png b/Version - 24/img/Click.png new file mode 100644 index 0000000..dcb758c Binary files /dev/null and b/Version - 24/img/Click.png differ diff --git a/Version - 24/img/Dog.png b/Version - 24/img/Dog.png new file mode 100644 index 0000000..5580408 Binary files /dev/null and b/Version - 24/img/Dog.png differ diff --git a/Version - 24/img/Fox.png b/Version - 24/img/Fox.png new file mode 100644 index 0000000..7ccf84f Binary files /dev/null and b/Version - 24/img/Fox.png differ diff --git a/Version - 24/img/Lemons.png b/Version - 24/img/Lemons.png new file mode 100644 index 0000000..c5b62a7 Binary files /dev/null and b/Version - 24/img/Lemons.png differ diff --git a/Version - 24/img/Lemt3.png b/Version - 24/img/Lemt3.png new file mode 100644 index 0000000..926add8 Binary files /dev/null and b/Version - 24/img/Lemt3.png differ diff --git a/Version - 24/img/Wolf.png b/Version - 24/img/Wolf.png new file mode 100644 index 0000000..ebf382b Binary files /dev/null and b/Version - 24/img/Wolf.png differ diff --git a/Version - 24/index.html b/Version - 24/index.html new file mode 100644 index 0000000..734a042 --- /dev/null +++ b/Version - 24/index.html @@ -0,0 +1,37 @@ + + + + + + + + BRB - Clicking + + + + + + + + + + +
+ Go to Shop! +
+ + +
+

+

+ + +
+ + +
+ + + + + \ No newline at end of file diff --git a/Version - 24/main.js b/Version - 24/main.js new file mode 100644 index 0000000..74fbdc6 --- /dev/null +++ b/Version - 24/main.js @@ -0,0 +1,40 @@ +var items +var anime = false + +function load(){ + items = JSON.parse(localStorage.getItem('items')); +} +load(); + +function beriba(){ + document.getElementById('unpressed').style.visibility='visible' + document.getElementById('pressed').style.visibility='hidden' + anime=true; +} + + + + + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + document.getElementById('disclick').innerHTML=`You've clicked ${items.clicks} times!` +} +update(); + + +// Clicks + +// BRB +function clicking(){ + items.clicks += 1; + update(); + + document.getElementById('unpressed').style.visibility='hidden' + document.getElementById('pressed').style.visibility='visible' + anime=false; + + setTimeout(beriba, 75) +} \ No newline at end of file diff --git a/Version - 24/shop.css b/Version - 24/shop.css new file mode 100644 index 0000000..260d2b3 --- /dev/null +++ b/Version - 24/shop.css @@ -0,0 +1,147 @@ +body{ + font-size: 15pt; + user-select: none; +} + +/* Dog */ +#logdog{ + position: absolute; + width: 100%; + height: 40px; + top: 90px; +} +#imgdog{ + position: absolute; + width: 64px; + height: 64px; +} +#buydog{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: darkorange; +} +#disdog{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Cats */ +#logcat{ + position: absolute; + width: 100%; + height: 40px; + top: 140px; +} +#buycat{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: orange; +} +#discat{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Foxes */ +#logfox{ + position: absolute; + width: 100%; + height: 40px; + top: 190px; +} +#buyfox{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: lightsalmon; +} +#disfox{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Wolfs */ +#logwol{ + position: absolute; + width: 100%; + height: 40px; + top: 240px; +} +#buywol{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: lightgray; +} +#diswol{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Lemons */ +#loglem{ + position: absolute; + width: 100%; + height: 40px; + top: 290px; +} +#buylem{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: yellow; +} +#dislem{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Lemon trees */ +#logLt3{ + position: absolute; + width: 100%; + height: 40px; + top: 340px; +} +#buyLt3{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: lightgoldenrodyellow; +} +#dislt3{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} diff --git a/Version - 24/shop.html b/Version - 24/shop.html new file mode 100644 index 0000000..f9edea5 --- /dev/null +++ b/Version - 24/shop.html @@ -0,0 +1,86 @@ + + + + + + + + BRB - Shop + + + + + + + + + + + + + +
+ Go to BRB! +
+ + +
+

+

+ + + + + +
+ + +

+

+ + +
+ +

+

+ + +
+ +

+

+ + +
+ +

+

+ + +
+ +

+

+ + +
+ +

+

+ + + + + \ No newline at end of file diff --git a/Version - 24/shop.js b/Version - 24/shop.js new file mode 100644 index 0000000..0678bce --- /dev/null +++ b/Version - 24/shop.js @@ -0,0 +1,81 @@ + +// Items +var items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + lemons:0, + lt3:0, +} + + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + document.getElementById('disclick').innerHTML=`You've clicked ${items.clicks} times!` + document.getElementById('disdog').innerHTML=`You've got ${items.dogs} dogs!` + document.getElementById('discat').innerHTML=`You've got ${items.cats} cats!` + document.getElementById('disfox').innerHTML=`You've got ${items.foxes} foxes!` + document.getElementById('diswol').innerHTML=`You've got ${items.wolfs} wolfs!` + document.getElementById('dislem').innerHTML=`You've got ${items.lemons} lemons!` + document.getElementById('dislt3').innerHTML=`You've got ${items.lt3} L. trees!` + +} +load(); + +function upload(){ + update(); + load(); +} +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); +} +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 buylem(){ + if(items.cats>=10){ + items.cats-=10; + items.lemons+=1; + } + upload(); +} +function buylt3(){ + if (items.lemons>=5) { + items.lemons-=5; + items.lt3+=1; + } + upload(); +} \ No newline at end of file diff --git a/Version - 24/style.css b/Version - 24/style.css new file mode 100644 index 0000000..6ca62a7 --- /dev/null +++ b/Version - 24/style.css @@ -0,0 +1,43 @@ +body { + font-size: 15pt; + user-select: none; +} + +#logclick{ + position: absolute; + width: 100%; + height: 50px; + top: 40px; + left: 50%; + text-align: center; + transform: translate(-50%,0); +} +#disclick{ + position: absolute; + width: 100%; + height: 25px; + transform: translate(0%,0); +} + +/*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; +} diff --git a/Version - 25.1/img/Cat.png b/Version - 25.1/img/Cat.png new file mode 100644 index 0000000..cb28040 Binary files /dev/null and b/Version - 25.1/img/Cat.png differ diff --git a/Version - 25.1/img/Click.png b/Version - 25.1/img/Click.png new file mode 100644 index 0000000..dcb758c Binary files /dev/null and b/Version - 25.1/img/Click.png differ diff --git a/Version - 25.1/img/Dog.png b/Version - 25.1/img/Dog.png new file mode 100644 index 0000000..5580408 Binary files /dev/null and b/Version - 25.1/img/Dog.png differ diff --git a/Version - 25.1/img/Fox.png b/Version - 25.1/img/Fox.png new file mode 100644 index 0000000..7ccf84f Binary files /dev/null and b/Version - 25.1/img/Fox.png differ diff --git a/Version - 25.1/img/Lemons.png b/Version - 25.1/img/Lemons.png new file mode 100644 index 0000000..c5b62a7 Binary files /dev/null and b/Version - 25.1/img/Lemons.png differ diff --git a/Version - 25.1/img/Lemt3.png b/Version - 25.1/img/Lemt3.png new file mode 100644 index 0000000..926add8 Binary files /dev/null and b/Version - 25.1/img/Lemt3.png differ diff --git a/Version - 25.1/img/Wolf.png b/Version - 25.1/img/Wolf.png new file mode 100644 index 0000000..ebf382b Binary files /dev/null and b/Version - 25.1/img/Wolf.png differ diff --git a/Version - 25.1/index.html b/Version - 25.1/index.html new file mode 100644 index 0000000..734a042 --- /dev/null +++ b/Version - 25.1/index.html @@ -0,0 +1,37 @@ + + + + + + + + BRB - Clicking + + + + + + + + + + +
+ Go to Shop! +
+ + +
+

+

+ + +
+ + +
+ + + + + \ No newline at end of file diff --git a/Version - 25.1/main.js b/Version - 25.1/main.js new file mode 100644 index 0000000..e24a54b --- /dev/null +++ b/Version - 25.1/main.js @@ -0,0 +1,65 @@ +// Items +var items + +var 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, + lemons:0, + lt3:0, +} + load(); + update(); +} + + +function beriba(){ + document.getElementById('unpressed').style.visibility='visible' + document.getElementById('pressed').style.visibility='hidden' + anime=true; +} + +function reset(){ + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + lemons:0, + lt3:0, +} +} + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + document.getElementById('disclick').innerHTML=`You've clicked ${items.clicks} times!` +} + + +// Clicks + +// BRB +function clicking(){ + items.clicks += 1; + update(); + + document.getElementById('unpressed').style.visibility='hidden' + document.getElementById('pressed').style.visibility='visible' + anime=false; + + setTimeout(beriba, 75) +} \ No newline at end of file diff --git a/Version - 25.1/shop.css b/Version - 25.1/shop.css new file mode 100644 index 0000000..260d2b3 --- /dev/null +++ b/Version - 25.1/shop.css @@ -0,0 +1,147 @@ +body{ + font-size: 15pt; + user-select: none; +} + +/* Dog */ +#logdog{ + position: absolute; + width: 100%; + height: 40px; + top: 90px; +} +#imgdog{ + position: absolute; + width: 64px; + height: 64px; +} +#buydog{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: darkorange; +} +#disdog{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Cats */ +#logcat{ + position: absolute; + width: 100%; + height: 40px; + top: 140px; +} +#buycat{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: orange; +} +#discat{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Foxes */ +#logfox{ + position: absolute; + width: 100%; + height: 40px; + top: 190px; +} +#buyfox{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: lightsalmon; +} +#disfox{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Wolfs */ +#logwol{ + position: absolute; + width: 100%; + height: 40px; + top: 240px; +} +#buywol{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: lightgray; +} +#diswol{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Lemons */ +#loglem{ + position: absolute; + width: 100%; + height: 40px; + top: 290px; +} +#buylem{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: yellow; +} +#dislem{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Lemon trees */ +#logLt3{ + position: absolute; + width: 100%; + height: 40px; + top: 340px; +} +#buyLt3{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: lightgoldenrodyellow; +} +#dislt3{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} diff --git a/Version - 25.1/shop.html b/Version - 25.1/shop.html new file mode 100644 index 0000000..f9edea5 --- /dev/null +++ b/Version - 25.1/shop.html @@ -0,0 +1,86 @@ + + + + + + + + BRB - Shop + + + + + + + + + + + + + +
+ Go to BRB! +
+ + +
+

+

+ + + + + +
+ + +

+

+ + +
+ +

+

+ + +
+ +

+

+ + +
+ +

+

+ + +
+ +

+

+ + +
+ +

+

+ + + + + \ No newline at end of file diff --git a/Version - 25.1/shop.js b/Version - 25.1/shop.js new file mode 100644 index 0000000..1aed266 --- /dev/null +++ b/Version - 25.1/shop.js @@ -0,0 +1,71 @@ + + + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + document.getElementById('disclick').innerHTML=`You've clicked ${items.clicks} times!` + document.getElementById('disdog').innerHTML=`You've got ${items.dogs} dogs!` + document.getElementById('discat').innerHTML=`You've got ${items.cats} cats!` + document.getElementById('disfox').innerHTML=`You've got ${items.foxes} foxes!` + document.getElementById('diswol').innerHTML=`You've got ${items.wolfs} wolfs!` + document.getElementById('dislem').innerHTML=`You've got ${items.lemons} lemons!` + document.getElementById('dislt3').innerHTML=`You've got ${items.lt3} L. trees!` + +} +load(); + +function upload(){ + update(); + load(); +} +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); +} +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 buylem(){ + if(items.cats>=10){ + items.cats-=10; + items.lemons+=1; + } + upload(); +} +function buylt3(){ + if (items.lemons>=5) { + items.lemons-=5; + items.lt3+=1; + } + upload(); +} \ No newline at end of file diff --git a/Version - 25.1/style.css b/Version - 25.1/style.css new file mode 100644 index 0000000..6ca62a7 --- /dev/null +++ b/Version - 25.1/style.css @@ -0,0 +1,43 @@ +body { + font-size: 15pt; + user-select: none; +} + +#logclick{ + position: absolute; + width: 100%; + height: 50px; + top: 40px; + left: 50%; + text-align: center; + transform: translate(-50%,0); +} +#disclick{ + position: absolute; + width: 100%; + height: 25px; + transform: translate(0%,0); +} + +/*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; +} diff --git a/Version - 25/img/Cat.png b/Version - 25/img/Cat.png new file mode 100644 index 0000000..cb28040 Binary files /dev/null and b/Version - 25/img/Cat.png differ diff --git a/Version - 25/img/Click.png b/Version - 25/img/Click.png new file mode 100644 index 0000000..dcb758c Binary files /dev/null and b/Version - 25/img/Click.png differ diff --git a/Version - 25/img/Dog.png b/Version - 25/img/Dog.png new file mode 100644 index 0000000..5580408 Binary files /dev/null and b/Version - 25/img/Dog.png differ diff --git a/Version - 25/img/Fox.png b/Version - 25/img/Fox.png new file mode 100644 index 0000000..7ccf84f Binary files /dev/null and b/Version - 25/img/Fox.png differ diff --git a/Version - 25/img/Lemons.png b/Version - 25/img/Lemons.png new file mode 100644 index 0000000..c5b62a7 Binary files /dev/null and b/Version - 25/img/Lemons.png differ diff --git a/Version - 25/img/Lemt3.png b/Version - 25/img/Lemt3.png new file mode 100644 index 0000000..926add8 Binary files /dev/null and b/Version - 25/img/Lemt3.png differ diff --git a/Version - 25/img/Wolf.png b/Version - 25/img/Wolf.png new file mode 100644 index 0000000..ebf382b Binary files /dev/null and b/Version - 25/img/Wolf.png differ diff --git a/Version - 25/index.html b/Version - 25/index.html new file mode 100644 index 0000000..734a042 --- /dev/null +++ b/Version - 25/index.html @@ -0,0 +1,37 @@ + + + + + + + + BRB - Clicking + + + + + + + + + + +
+ Go to Shop! +
+ + +
+

+

+ + +
+ + +
+ + + + + \ No newline at end of file diff --git a/Version - 25/main.js b/Version - 25/main.js new file mode 100644 index 0000000..e9db980 --- /dev/null +++ b/Version - 25/main.js @@ -0,0 +1,58 @@ +// Items +var items + +var anime = false + +function load(){ + if (localStorage.getItem('items')!=null){ + items = JSON.parse(localStorage.getItem('items')); + + } +} + +window.onload = function(){ + load(); + update(); +} + + +function beriba(){ + document.getElementById('unpressed').style.visibility='visible' + document.getElementById('pressed').style.visibility='hidden' + anime=true; +} + +function reset(){ + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + lemons:0, + lt3:0, +} +update() +} + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + document.getElementById('disclick').innerHTML=`You've clicked ${items.clicks} times!` +} + + +// Clicks + +// BRB +function clicking(){ + items.clicks += 1; + update(); + + document.getElementById('unpressed').style.visibility='hidden' + document.getElementById('pressed').style.visibility='visible' + anime=false; + + setTimeout(beriba, 75) +} \ No newline at end of file diff --git a/Version - 25/shop.css b/Version - 25/shop.css new file mode 100644 index 0000000..260d2b3 --- /dev/null +++ b/Version - 25/shop.css @@ -0,0 +1,147 @@ +body{ + font-size: 15pt; + user-select: none; +} + +/* Dog */ +#logdog{ + position: absolute; + width: 100%; + height: 40px; + top: 90px; +} +#imgdog{ + position: absolute; + width: 64px; + height: 64px; +} +#buydog{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: darkorange; +} +#disdog{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Cats */ +#logcat{ + position: absolute; + width: 100%; + height: 40px; + top: 140px; +} +#buycat{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: orange; +} +#discat{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Foxes */ +#logfox{ + position: absolute; + width: 100%; + height: 40px; + top: 190px; +} +#buyfox{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: lightsalmon; +} +#disfox{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Wolfs */ +#logwol{ + position: absolute; + width: 100%; + height: 40px; + top: 240px; +} +#buywol{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: lightgray; +} +#diswol{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Lemons */ +#loglem{ + position: absolute; + width: 100%; + height: 40px; + top: 290px; +} +#buylem{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: yellow; +} +#dislem{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Lemon trees */ +#logLt3{ + position: absolute; + width: 100%; + height: 40px; + top: 340px; +} +#buyLt3{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: lightgoldenrodyellow; +} +#dislt3{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} diff --git a/Version - 25/shop.html b/Version - 25/shop.html new file mode 100644 index 0000000..f9edea5 --- /dev/null +++ b/Version - 25/shop.html @@ -0,0 +1,86 @@ + + + + + + + + BRB - Shop + + + + + + + + + + + + + +
+ Go to BRB! +
+ + +
+

+

+ + + + + +
+ + +

+

+ + +
+ +

+

+ + +
+ +

+

+ + +
+ +

+

+ + +
+ +

+

+ + +
+ +

+

+ + + + + \ No newline at end of file diff --git a/Version - 25/shop.js b/Version - 25/shop.js new file mode 100644 index 0000000..1aed266 --- /dev/null +++ b/Version - 25/shop.js @@ -0,0 +1,71 @@ + + + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + document.getElementById('disclick').innerHTML=`You've clicked ${items.clicks} times!` + document.getElementById('disdog').innerHTML=`You've got ${items.dogs} dogs!` + document.getElementById('discat').innerHTML=`You've got ${items.cats} cats!` + document.getElementById('disfox').innerHTML=`You've got ${items.foxes} foxes!` + document.getElementById('diswol').innerHTML=`You've got ${items.wolfs} wolfs!` + document.getElementById('dislem').innerHTML=`You've got ${items.lemons} lemons!` + document.getElementById('dislt3').innerHTML=`You've got ${items.lt3} L. trees!` + +} +load(); + +function upload(){ + update(); + load(); +} +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); +} +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 buylem(){ + if(items.cats>=10){ + items.cats-=10; + items.lemons+=1; + } + upload(); +} +function buylt3(){ + if (items.lemons>=5) { + items.lemons-=5; + items.lt3+=1; + } + upload(); +} \ No newline at end of file diff --git a/Version - 25/style.css b/Version - 25/style.css new file mode 100644 index 0000000..6ca62a7 --- /dev/null +++ b/Version - 25/style.css @@ -0,0 +1,43 @@ +body { + font-size: 15pt; + user-select: none; +} + +#logclick{ + position: absolute; + width: 100%; + height: 50px; + top: 40px; + left: 50%; + text-align: center; + transform: translate(-50%,0); +} +#disclick{ + position: absolute; + width: 100%; + height: 25px; + transform: translate(0%,0); +} + +/*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; +} diff --git a/Version - 26/add.txt b/Version - 26/add.txt new file mode 100644 index 0000000..7a75251 --- /dev/null +++ b/Version - 26/add.txt @@ -0,0 +1,54 @@ +click.offline.make +max 5 hour + +BuyDog dog.log clicks/s + +1 dog = 1 clicks/s +1 cat = 100 clicks/s +1 fox = 150 clicks/s + +1 hamster = 10 000 c/s +1 girrafe = 1 000 000 c/s + +1 citronovník = 30 lemons/h + +reset all.clicks + +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, ... +total production + +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 + diff --git a/Version - 26/img/Cat.png b/Version - 26/img/Cat.png new file mode 100644 index 0000000..cb28040 Binary files /dev/null and b/Version - 26/img/Cat.png differ diff --git a/Version - 26/img/Click.png b/Version - 26/img/Click.png new file mode 100644 index 0000000..dcb758c Binary files /dev/null and b/Version - 26/img/Click.png differ diff --git a/Version - 26/img/Dog.png b/Version - 26/img/Dog.png new file mode 100644 index 0000000..5580408 Binary files /dev/null and b/Version - 26/img/Dog.png differ diff --git a/Version - 26/img/Fox.png b/Version - 26/img/Fox.png new file mode 100644 index 0000000..7ccf84f Binary files /dev/null and b/Version - 26/img/Fox.png differ diff --git a/Version - 26/img/Lemons.png b/Version - 26/img/Lemons.png new file mode 100644 index 0000000..c5b62a7 Binary files /dev/null and b/Version - 26/img/Lemons.png differ diff --git a/Version - 26/img/Lemt3.png b/Version - 26/img/Lemt3.png new file mode 100644 index 0000000..926add8 Binary files /dev/null and b/Version - 26/img/Lemt3.png differ diff --git a/Version - 26/img/Wolf.png b/Version - 26/img/Wolf.png new file mode 100644 index 0000000..ebf382b Binary files /dev/null and b/Version - 26/img/Wolf.png differ diff --git a/Version - 26/index.html b/Version - 26/index.html new file mode 100644 index 0000000..734a042 --- /dev/null +++ b/Version - 26/index.html @@ -0,0 +1,37 @@ + + + + + + + + BRB - Clicking + + + + + + + + + + +
+ Go to Shop! +
+ + +
+

+

+ + +
+ + +
+ + + + + \ No newline at end of file diff --git a/Version - 26/main.js b/Version - 26/main.js new file mode 100644 index 0000000..cc03540 --- /dev/null +++ b/Version - 26/main.js @@ -0,0 +1,76 @@ +// Items +var items +var cs = 0 +var 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, + lemons:0, + lt3:0, +} + load(); + update(); +} + + +function beriba(){ + document.getElementById('unpressed').style.visibility='visible' + document.getElementById('pressed').style.visibility='hidden' + anime=true; +} + +function reset(){ + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + lemons:0, + lt3:0, +} +} + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + document.getElementById('disclick').innerHTML=`You've generated ${items.clicks} clicks, and you're getting ${cs} c/s!` +} + + +// Clicks + +// BRB +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*10 + items.foxes*15; + items.clicks += cs; + update(); + cash(); +},1000) +} +cash(); diff --git a/Version - 26/shop.css b/Version - 26/shop.css new file mode 100644 index 0000000..260d2b3 --- /dev/null +++ b/Version - 26/shop.css @@ -0,0 +1,147 @@ +body{ + font-size: 15pt; + user-select: none; +} + +/* Dog */ +#logdog{ + position: absolute; + width: 100%; + height: 40px; + top: 90px; +} +#imgdog{ + position: absolute; + width: 64px; + height: 64px; +} +#buydog{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: darkorange; +} +#disdog{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Cats */ +#logcat{ + position: absolute; + width: 100%; + height: 40px; + top: 140px; +} +#buycat{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: orange; +} +#discat{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Foxes */ +#logfox{ + position: absolute; + width: 100%; + height: 40px; + top: 190px; +} +#buyfox{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: lightsalmon; +} +#disfox{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Wolfs */ +#logwol{ + position: absolute; + width: 100%; + height: 40px; + top: 240px; +} +#buywol{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: lightgray; +} +#diswol{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Lemons */ +#loglem{ + position: absolute; + width: 100%; + height: 40px; + top: 290px; +} +#buylem{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: yellow; +} +#dislem{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Lemon trees */ +#logLt3{ + position: absolute; + width: 100%; + height: 40px; + top: 340px; +} +#buyLt3{ + position: absolute; + width: 150px; + height: 40px; + left: 69px; + background-color: lightgoldenrodyellow; +} +#dislt3{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} diff --git a/Version - 26/shop.html b/Version - 26/shop.html new file mode 100644 index 0000000..f9edea5 --- /dev/null +++ b/Version - 26/shop.html @@ -0,0 +1,86 @@ + + + + + + + + BRB - Shop + + + + + + + + + + + + + +
+ Go to BRB! +
+ + +
+

+

+ + + + + +
+ + +

+

+ + +
+ +

+

+ + +
+ +

+

+ + +
+ +

+

+ + +
+ +

+

+ + +
+ +

+

+ + + + + \ No newline at end of file diff --git a/Version - 26/shop.js b/Version - 26/shop.js new file mode 100644 index 0000000..8bd7609 --- /dev/null +++ b/Version - 26/shop.js @@ -0,0 +1,87 @@ +var a = 1; +function loga(){ + console.log(a); + a++; + loga(); +} + + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + document.getElementById('disclick').innerHTML=`You've clicked ${items.clicks} times!` + document.getElementById('disdog').innerHTML=`You've got ${items.dogs} dogs!` + document.getElementById('discat').innerHTML=`You've got ${items.cats} cats!` + document.getElementById('disfox').innerHTML=`You've got ${items.foxes} foxes!` + document.getElementById('diswol').innerHTML=`You've got ${items.wolfs} wolfs!` + document.getElementById('dislem').innerHTML=`You've got ${items.lemons} lemons!` + document.getElementById('dislt3').innerHTML=`You've got ${items.lt3} L. trees!` + +} +load(); + +function upload(){ + update(); + load(); +} + +function cash(){ + setTimeout (function money(){ + items.clicks += items.dogs + items.cats*10 + items.foxes*15; + + upload(); + cash(); +},1000) +} +cash(); + +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); +} +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 buylem(){ + if(items.cats>=10){ + items.cats-=10; + items.lemons+=1; + } + upload(); +} +function buylt3(){ + if (items.lemons>=5) { + items.lemons-=5; + items.lt3+=1; + } + upload(); +} \ No newline at end of file diff --git a/Version - 26/style.css b/Version - 26/style.css new file mode 100644 index 0000000..6ca62a7 --- /dev/null +++ b/Version - 26/style.css @@ -0,0 +1,43 @@ +body { + font-size: 15pt; + user-select: none; +} + +#logclick{ + position: absolute; + width: 100%; + height: 50px; + top: 40px; + left: 50%; + text-align: center; + transform: translate(-50%,0); +} +#disclick{ + position: absolute; + width: 100%; + height: 25px; + transform: translate(0%,0); +} + +/*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; +} diff --git a/Version - 27/add.txt b/Version - 27/add.txt new file mode 100644 index 0000000..2800576 --- /dev/null +++ b/Version - 27/add.txt @@ -0,0 +1,61 @@ +click.offline.make +max 5 hour + +BuyDog dog.log clicks/s + +1 dog = 1 clicks/s +1 cat = 100 clicks/s +1 fox = 150 clicks/s + +1 hamster = 10 000 c/s +1 girrafe = 1 000 000 c/s + +1 citronovník = 30 lemons/h + +reset all.clicks + +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, ... +total production + +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 + +https://i.postimg.cc/gntQwZth/Click.png +https://i.postimg.cc/87F3Lzx0/Dog.png +https://i.postimg.cc/SJxHNrdq/Cat.png +https://i.postimg.cc/MnhL58SK/Fox.png +https://i.postimg.cc/0MvBgdjT/Wolf.png +https://i.postimg.cc/kVKphhJN/Lemons.png +https://i.postimg.cc/DJcY7Jb8/Lemt3.png diff --git a/Version - 27/index.html b/Version - 27/index.html new file mode 100644 index 0000000..632aa8a --- /dev/null +++ b/Version - 27/index.html @@ -0,0 +1,43 @@ + + + + + + + + BRB - Clicking + + + + + + + + + + +
+ Go to Shop! +
+ + +
+

+

+ + +
+ + +
+ + +
+ +
+ + + + \ No newline at end of file diff --git a/Version - 27/main.js b/Version - 27/main.js new file mode 100644 index 0000000..ccfb691 --- /dev/null +++ b/Version - 27/main.js @@ -0,0 +1,82 @@ +// Items +var items; +var cs = 0; +var 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, + lemons:0, + lt3:0, +} + load(); + update(); +} + + +function beriba(){ + document.getElementById('unpressed').style.visibility='visible' + document.getElementById('pressed').style.visibility='hidden' + anime=true; +} + +function reset(){ + if(confirm('Do you really want to reset everything?')){ + if(confirm('Are you sure?')){ + alert('Everyting Reseted'); + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + lemons:0, + lt3:0, + + } + } + } +} + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + document.getElementById('disclick').innerHTML=`You've got ${items.clicks} clicks, and generating ${cs} c/s!` +} + + +// Clicks + +// BRB +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*17; + items.clicks += cs; + update(); + cash(); + },1000) +} +cash(); diff --git a/Version - 27/shop.css b/Version - 27/shop.css new file mode 100644 index 0000000..a36b022 --- /dev/null +++ b/Version - 27/shop.css @@ -0,0 +1,190 @@ +body{ + font-size: 15pt; + user-select: none; +} +/* Clisks */ +#logclick{ + position: absolute; + width: 100%; + height: 40px; + top: 35px; +} +#imgcli{ + position: absolute; + width: 40px; + height: 40px; +} +#disclick{ + position: absolute; + width: 100%; + height: 40px; + left: 45px; +} + +/* Dog */ +#logdog{ + position: absolute; + width: 100%; + height: 40px; + top: 90px; +} +#imgdog{ + position: absolute; + width: 40px; + height: 40px; +} +#buydog{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: darkorange; +} +#disdog{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Cats */ +#logcat{ + position: absolute; + width: 100%; + height: 40px; + top: 140px; +} +#imgcat{ + position: absolute; + width: 40px; + height: 40px; +} +#buycat{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: orange; +} +#discat{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Foxes */ +#logfox{ + position: absolute; + width: 100%; + height: 40px; + top: 190px; +} +#imgfox{ + position: absolute; + width: 40px; + height: 40px; +} +#buyfox{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: lightsalmon; +} +#disfox{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Wolfs */ +#logwol{ + position: absolute; + width: 100%; + height: 40px; + top: 240px; +} +#imgwol{ + position: absolute; + width: 40px; + height: 40px; +} +#buywol{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: lightgray; +} +#diswol{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Lemons */ +#loglem{ + position: absolute; + width: 100%; + height: 40px; + top: 290px; +} +#imglem{ + position: absolute; + width: 40px; + height: 40px; +} +#buylem{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: yellow; +} +#dislem{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Lemon trees */ +#logLt3{ + position: absolute; + width: 100%; + height: 40px; + top: 340px; +} +#imglt3{ + position: absolute; + width: 40px; + height: 40px; +} +#buyLt3{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: lightgoldenrodyellow; +} +#dislt3{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} diff --git a/Version - 27/shop.html b/Version - 27/shop.html new file mode 100644 index 0000000..c387c4d --- /dev/null +++ b/Version - 27/shop.html @@ -0,0 +1,92 @@ + + + + + + + + BRB - Shop + + + + + + + + + + + + + +
+ Go to BRB! +
+ + +
+ +

+

+ + + + + +
+ + +

+

+ + +
+ + +

+

+ + +
+ + +

+

+ + +
+ + +

+

+ + +
+ + +

+

+ + +
+ + +

+

+ + + + + \ No newline at end of file diff --git a/Version - 27/shop.js b/Version - 27/shop.js new file mode 100644 index 0000000..6409e54 --- /dev/null +++ b/Version - 27/shop.js @@ -0,0 +1,89 @@ +var a = 1; +var cs = 0; +function loga(){ + console.log(a); + a++; + loga(); +} + + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + document.getElementById('disclick').innerHTML=`You've got ${items.clicks} clicks, and generating ${cs} c/s!` + document.getElementById('disdog').innerHTML=`You've got ${items.dogs} dogs!` + document.getElementById('discat').innerHTML=`You've got ${items.cats} cats!` + document.getElementById('disfox').innerHTML=`You've got ${items.foxes} foxes!` + document.getElementById('diswol').innerHTML=`You've got ${items.wolfs} wolfs!` + document.getElementById('dislem').innerHTML=`You've got ${items.lemons} lemons!` + document.getElementById('dislt3').innerHTML=`You've got ${items.lt3} L. trees!` + +} +load(); + +function upload(){ + update(); + load(); +} + +function cash(){ + cs = items.dogs + items.cats*12 + items.foxes*17; + upload(); + setTimeout (function money(){ + items.clicks += cs; + upload(); + cash(); + },1000) +} +cash(); + +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); +} +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 buylem(){ + if(items.cats>=10){ + items.cats-=10; + items.lemons+=1; + } + upload(); +} +function buylt3(){ + if (items.lemons>=5) { + items.lemons-=5; + items.lt3+=1; + } + upload(); +} \ No newline at end of file diff --git a/Version - 27/style.css b/Version - 27/style.css new file mode 100644 index 0000000..f92c3b8 --- /dev/null +++ b/Version - 27/style.css @@ -0,0 +1,62 @@ +body { + font-size: 15pt; + user-select: none; +} + +#logclick{ + position: absolute; + width: 100%; + height: 50px; + top: 40px; + left: 50%; + text-align: center; + transform: translate(-50%,0); +} +#disclick{ + position: absolute; + width: 100%; + height: 25px; + transform: translate(0%,0); +} + +/*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; +} + +#delete{ + position: absolute; + user-select: none; + top: 100%; + left: 100%; + transform: translate(-50%,0); +} +#reset{ + position: absolute; + user-select: none; + width: 50px; + height: 50px; + top: 0%; + right: 0%; + transform: translate(0,-100%); + background-color: #ff0000; + color: #ffffff; +} \ No newline at end of file diff --git a/Version - 28/add.txt b/Version - 28/add.txt new file mode 100644 index 0000000..4377b68 --- /dev/null +++ b/Version - 28/add.txt @@ -0,0 +1,62 @@ +click.offline.make +max 5 hour + +BuyDog dog.log clicks/s + +1 dog = 1 clicks/s = 100 +1 cat = 12 clicks/s = 1 000 +1 fox = 18 clicks/s = 1 500 +1 wolf = 97 c/s = 8 100 +1 hamster = 121 c/s = 10 100 | 1 wolf + 2 cat +1 girrafe = 1 000 000 c/s + +1 citronovník = 30 lemons/h + +1.2% +reset all.clicks + +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, ... +total production + +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 + +https://i.postimg.cc/gntQwZth/Click.png +https://i.postimg.cc/87F3Lzx0/Dog.png +https://i.postimg.cc/SJxHNrdq/Cat.png +https://i.postimg.cc/MnhL58SK/Fox.png +https://i.postimg.cc/0MvBgdjT/Wolf.png +https://i.postimg.cc/kVKphhJN/Lemons.png +https://i.postimg.cc/DJcY7Jb8/Lemt3.png diff --git a/Version - 28/index.html b/Version - 28/index.html new file mode 100644 index 0000000..15da790 --- /dev/null +++ b/Version - 28/index.html @@ -0,0 +1,43 @@ + + + + + + + + BRB - Clicking + + + + + + + + + + +
+ Go to Shop! +
+ + +
+

+

+ + +
+ + +
+ + +
+ +
+ + + + \ No newline at end of file diff --git a/Version - 28/main.js b/Version - 28/main.js new file mode 100644 index 0000000..baedea6 --- /dev/null +++ b/Version - 28/main.js @@ -0,0 +1,82 @@ +// Items +var items; +var cs = 0; +var 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, + lemons:0, + lt3:0, +} + load(); + update(); +} + + +function beriba(){ + document.getElementById('unpressed').style.visibility='visible' + document.getElementById('pressed').style.visibility='hidden' + anime=true; +} + +function reset(){ + if(confirm('Do you really want to reset everything?')){ + if(confirm('Are you sure?')){ + alert('Everyting Reseted'); + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + lemons:0, + lt3:0, + + } + } + } +} + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + document.getElementById('disclick').innerHTML=`You've got ${items.clicks} clicks, and generating ${cs} c/s!` +} + + +// Clicks + +// BRB +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*97; + items.clicks += cs; + update(); + cash(); + },1000) +} +cash(); diff --git a/Version - 28/shop.css b/Version - 28/shop.css new file mode 100644 index 0000000..a36b022 --- /dev/null +++ b/Version - 28/shop.css @@ -0,0 +1,190 @@ +body{ + font-size: 15pt; + user-select: none; +} +/* Clisks */ +#logclick{ + position: absolute; + width: 100%; + height: 40px; + top: 35px; +} +#imgcli{ + position: absolute; + width: 40px; + height: 40px; +} +#disclick{ + position: absolute; + width: 100%; + height: 40px; + left: 45px; +} + +/* Dog */ +#logdog{ + position: absolute; + width: 100%; + height: 40px; + top: 90px; +} +#imgdog{ + position: absolute; + width: 40px; + height: 40px; +} +#buydog{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: darkorange; +} +#disdog{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Cats */ +#logcat{ + position: absolute; + width: 100%; + height: 40px; + top: 140px; +} +#imgcat{ + position: absolute; + width: 40px; + height: 40px; +} +#buycat{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: orange; +} +#discat{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Foxes */ +#logfox{ + position: absolute; + width: 100%; + height: 40px; + top: 190px; +} +#imgfox{ + position: absolute; + width: 40px; + height: 40px; +} +#buyfox{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: lightsalmon; +} +#disfox{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Wolfs */ +#logwol{ + position: absolute; + width: 100%; + height: 40px; + top: 240px; +} +#imgwol{ + position: absolute; + width: 40px; + height: 40px; +} +#buywol{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: lightgray; +} +#diswol{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Lemons */ +#loglem{ + position: absolute; + width: 100%; + height: 40px; + top: 290px; +} +#imglem{ + position: absolute; + width: 40px; + height: 40px; +} +#buylem{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: yellow; +} +#dislem{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Lemon trees */ +#logLt3{ + position: absolute; + width: 100%; + height: 40px; + top: 340px; +} +#imglt3{ + position: absolute; + width: 40px; + height: 40px; +} +#buyLt3{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: lightgoldenrodyellow; +} +#dislt3{ + position: absolute; + width: 200px; + height: 40px; + left: 230px; + bottom: 2px; + margin: 0 0 -10px 0; +} diff --git a/Version - 28/shop.html b/Version - 28/shop.html new file mode 100644 index 0000000..98c956a --- /dev/null +++ b/Version - 28/shop.html @@ -0,0 +1,92 @@ + + + + + + + + BRB - Shop + + + + + + + + + + + + + +
+ Go to BRB! +
+ + +
+ +

+

+ + + + + +
+ + +

+

+ + +
+ + +

+

+ + +
+ + +

+

+ + +
+ + +

+

+ + +
+ + +

+

+ + +
+ + +

+

+ + + + + \ No newline at end of file diff --git a/Version - 28/shop.js b/Version - 28/shop.js new file mode 100644 index 0000000..a66be69 --- /dev/null +++ b/Version - 28/shop.js @@ -0,0 +1,89 @@ +var a = 1; +var cs = 0; +function loga(){ + console.log(a); + a++; + loga(); +} + + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + document.getElementById('disclick').innerHTML=`You've got ${items.clicks} clicks, and generating ${cs} c/s!` + document.getElementById('disdog').innerHTML=`You've got ${items.dogs} dogs!` + document.getElementById('discat').innerHTML=`You've got ${items.cats} cats!` + document.getElementById('disfox').innerHTML=`You've got ${items.foxes} foxes!` + document.getElementById('diswol').innerHTML=`You've got ${items.wolfs} wolfs!` + document.getElementById('dislem').innerHTML=`You've got ${items.lemons} lemons!` + document.getElementById('dislt3').innerHTML=`You've got ${items.lt3} L. trees!` + +} +load(); + +function upload(){ + update(); + load(); +} + +function cash(){ + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*97; + upload(); + setTimeout (function money(){ + items.clicks += cs; + upload(); + cash(); + },1000) +} +cash(); + +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); +} +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 buylem(){ + if(items.cats>=10){ + items.cats-=10; + items.lemons+=1; + } + upload(); +} +function buylt3(){ + if (items.lemons>=5) { + items.lemons-=5; + items.lt3+=1; + } + upload(); +} \ No newline at end of file diff --git a/Version - 28/style.css b/Version - 28/style.css new file mode 100644 index 0000000..79808a3 --- /dev/null +++ b/Version - 28/style.css @@ -0,0 +1,62 @@ +body { + font-size: 15pt; + user-select: none; +} + +#logclick{ + position: absolute; + width: 100%; + height: 50px; + top: 40px; + left: 50%; + text-align: center; + transform: translate(-50%,0); +} +#disclick{ + position: absolute; + width: 100%; + height: 25px; + transform: translate(0%,0); +} + +/*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; +} + +#delete{ + position: absolute; + user-select: none; + top: 100%; + left: 100%; + transform: translate(-50%,0); +} +#reset{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + top: 0%; + right: 0%; + transform: translate(0,-100%); + background-color: #ff0000; + color: #ffffff; +} \ No newline at end of file diff --git a/Version - 29/add.txt b/Version - 29/add.txt new file mode 100644 index 0000000..a2d1693 --- /dev/null +++ b/Version - 29/add.txt @@ -0,0 +1,61 @@ +click.offline.make +max 5 hour + +BuyDog dog.log clicks/s + +1 dog = 1 clicks/s = 100 +1 cat = 12 clicks/s = 1 000 +1 fox = 18 clicks/s = 1 500 +1 wolf = 100 c/s = 8 100 +1 hamster = 121 c/s = 10 100 | 1 wolf + 2 cats +1 whale = 194 c/s = 16 200 | 2 wolfs +1 cappibara = ≈ 20 000 +1 platapus = ≈ 25 000 +1 porcupine = ≈ 40 000 +1 hippo = ≈ 50 000 +1 snake = ≈ 60 000 +1 cheetah = ≈ 69 000 +1 girrafe = 1 000 000 c/s + +1 citronovník = 30 lemons/h + +1.2% +reset all.clicks + +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, ... +total production + +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 - 29/index.html b/Version - 29/index.html new file mode 100644 index 0000000..15da790 --- /dev/null +++ b/Version - 29/index.html @@ -0,0 +1,43 @@ + + + + + + + + BRB - Clicking + + + + + + + + + + +
+ Go to Shop! +
+ + +
+

+

+ + +
+ + +
+ + +
+ +
+ + + + \ No newline at end of file diff --git a/Version - 29/main.js b/Version - 29/main.js new file mode 100644 index 0000000..635e3b1 --- /dev/null +++ b/Version - 29/main.js @@ -0,0 +1,89 @@ +// Items +var items; +var cs = 0; +var 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, + cappibara:0, + + lemons:0, + lt3:0, +} + load(); + update(); +} + + +function beriba(){ + document.getElementById('unpressed').style.visibility='visible' + document.getElementById('pressed').style.visibility='hidden' + anime=true; +} + +function reset(){ + if(confirm('Do you really want to reset everything?')){ + if(confirm('Are you sure?')){ + alert('Everyting Reseted'); + items = { + clicks:0, + dogs:0, + cats:0, + foxes:0, + wolfs:0, + hamsters:0, + whales:0, + cappibaras:0, + + lemons:0, + lt3:0, + } + } + } +} + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + document.getElementById('disclick').innerHTML=`You've got ${items.clicks} clicks, and generating ${cs} c/s!` +} + + +// Clicks + +// BRB +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.clicks += cs; + update(); + cash(); + },1000) +} +cash(); diff --git a/Version - 29/shop.css b/Version - 29/shop.css new file mode 100644 index 0000000..928aced --- /dev/null +++ b/Version - 29/shop.css @@ -0,0 +1,300 @@ +body{ + font-size: 15pt; + user-select: none; + padding: 3; + margin: 0; +} + +#clickbrb{ + position: absolute; + width: 100px; + top: 10px; + left: 50%; + margin: 0 0 0 -50px; +} + +#hr0{ + position: absolute; + width: 100%; + top: 25px; + z-index: 8; +} +/* Clisks */ +#logclick{ + position: absolute; + width: 100%; + height: 40px; + top: 38px; + left: 4px; +} +#imgcli{ + position: absolute; + width: 40px; + height: 40px; +} +#disclick{ + position: absolute; + height: 40px; + left: 45px; + bottom: 2px; + margin: 0 0 -15px 0; + display: flex; +} + +/* Dog */ +#logdog{ + position: absolute; + width: 100%; + height: 40px; + top: 90px; + left: 4px; +} +#imgdog{ + position: absolute; + width: 40px; + height: 40px; +} +#buydog{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: darkorange; +} +#maxdog{ + position: absolute; + width: 40px; + height: 40px; + left: 195px; + background-color: darkorange; + text-align: center; +} +#disdog{ + position: absolute; + width: 260px; + height: 40px; + left: 240px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Cats */ +#logcat{ + position: absolute; + width: 100%; + height: 40px; + top: 140px; + left: 4px; +} +#imgcat{ + position: absolute; + width: 40px; + height: 40px; +} +#buycat{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: orange; +} +#maxcat{ + position: absolute; + width: 40px; + height: 40px; + left: 195px; + background-color: orange; + text-align: center; +} +#discat{ + position: absolute; + width: 260px; + height: 40px; + left: 240px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Foxes */ +#logfox{ + position: absolute; + width: 100%; + height: 40px; + top: 190px; + left: 4px; +} +#imgfox{ + position: absolute; + width: 40px; + height: 40px; +} +#buyfox{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: lightsalmon; +} +#maxfox{ + position: absolute; + width: 40px; + height: 40px; + left: 195px; + background-color: lightsalmon; + text-align: center; +} +#disfox{ + position: absolute; + width: 260px; + height: 40px; + left: 240px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Wolfs */ +#logwol{ + position: absolute; + width: 100%; + height: 40px; + top: 240px; + left: 4px; +} +#imgwol{ + position: absolute; + width: 40px; + height: 40px; +} +#buywol{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: lightgray; +} +#diswol{ + position: absolute; + width: 260px; + height: 40px; + left: 210px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Hamsters */ +#logham{ + position: absolute; + width: 100%; + height: 40px; + top: 290px; + left: 4px; +} +#imgham{ + position: absolute; + width: 40px; + height: 40px; +} +#buyham{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: wheat; +} +#disham{ + position: absolute; + width: 260px; + height: 40px; + left: 210px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Whales */ +#logwha{ + position: absolute; + width: 100%; + height: 40px; + top: 340px; + left: 4px; +} +#imgwha{ + position: absolute; + width: 40px; + height: 40px; +} +#buywha{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: cyan; +} +#diswha{ + position: absolute; + width: 260px; + height: 40px; + left: 210px; + bottom: 2px; + margin: 0 0 -10px 0; +} + + +/* By MrEidam */ +/* Lemons */ +#loglem{ + position: absolute; + width: 100%; + height: 40px; + top: 500px; + left: 4px; +} +#imglem{ + position: absolute; + width: 40px; + height: 40px; +} +#buylem{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: yellow; +} +#dislem{ + position: absolute; + width: 260px; + height: 40px; + left: 210px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Lemon trees */ +#logLt3{ + position: absolute; + width: 100%; + height: 40px; + top: 550px; + left: 4px; +} +#imglt3{ + position: absolute; + width: 40px; + height: 40px; +} +#buyLt3{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: lightgoldenrodyellow; +} +#dislt3{ + position: absolute; + width: 260px; + height: 40px; + left: 210px; + bottom: 2px; + margin: 0 0 -10px 0; +} diff --git a/Version - 29/shop.html b/Version - 29/shop.html new file mode 100644 index 0000000..9f9f237 --- /dev/null +++ b/Version - 29/shop.html @@ -0,0 +1,120 @@ + + + + + + + + BRB - Shop + + + + + + + + + + + + + +Go to BRB! +
+ + +
+ +

+

+ + + + + +
+ + + +

+

+ + +
+ + + + +

+

+ + +
+ + +

+

+ + +
+ + + +

+

+ + +
+ + +

+

+ + +
+ + +

+

+ + +
+ + +

+

+ + +
+ + +

+

+ + + + + + \ No newline at end of file diff --git a/Version - 29/shop.js b/Version - 29/shop.js new file mode 100644 index 0000000..27df9a5 --- /dev/null +++ b/Version - 29/shop.js @@ -0,0 +1,150 @@ +var cs = 0; +var mdog = 0; +var maxdog = 0; + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + document.getElementById('disclick').innerHTML=`You've got ${items.clicks} clicks, and generating ${cs} c/s!` + document.getElementById('disdog').innerHTML=`You've got ${items.dogs} dogs!` + document.getElementById('discat').innerHTML=`You've got ${items.cats} cats!` + document.getElementById('disfox').innerHTML=`You've got ${items.foxes} foxes!` + document.getElementById('diswol').innerHTML=`You've got ${items.wolfs} wolfs!` + document.getElementById('disham').innerHTML=`You've got ${items.hamsters} hamsters!` + document.getElementById('diswha').innerHTML=`You've got ${items.whales} whales!` + + + + + + document.getElementById('dislem').innerHTML=`You've got ${items.lemons} lemons!` + document.getElementById('dislt3').innerHTML=`You've got ${items.lt3} L. trees!` +} +load(); + +function upload(){ + update(); + load(); +} + +function cash(){ + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220; + upload(); + setTimeout (function money(){ + items.clicks += cs; + upload(); + cash(); + },1000) +} +cash(); + + + + +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); +} +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 buylem(){ + if(items.cats>=10){ + items.cats-=10; + items.lemons+=1; + } + upload(); +} +function buylt3(){ + if (items.lemons>=5) { + items.lemons-=5; + items.lt3+=1; + } + upload(); +} + +function mmdog(){ + while (maxdog>0) { + buydog(); + maxdog--; + } +} +var floordog =0 +function dogmvalue(){ + mdog = items.clicks/100; + maxdog = Math.floor(mdog); + floordog = maxdog*100 + items.clicks -= floordog + items.dogs += maxdog + upload(); + mdog = 0 + floordog = 0 + maxdog = 0 +} +function catmvalue(){ + mdog = items.dogs/10; + maxdog = Math.floor(mdog); + floordog = maxdog*10 + items.dogs -= floordog + items.cats += maxdog + upload(); + mdog = 0 + floordog = 0 + maxdog = 0 +} +function foxmvalue(){ + mdog = items.dogs/15; + maxdog = Math.floor(mdog); + floordog = maxdog*15 + items.dogs -= floordog + items.foxes += maxdog + upload(); + mdog = 0 + floordog = 0 + maxdog = 0 +} \ No newline at end of file diff --git a/Version - 29/style.css b/Version - 29/style.css new file mode 100644 index 0000000..79808a3 --- /dev/null +++ b/Version - 29/style.css @@ -0,0 +1,62 @@ +body { + font-size: 15pt; + user-select: none; +} + +#logclick{ + position: absolute; + width: 100%; + height: 50px; + top: 40px; + left: 50%; + text-align: center; + transform: translate(-50%,0); +} +#disclick{ + position: absolute; + width: 100%; + height: 25px; + transform: translate(0%,0); +} + +/*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; +} + +#delete{ + position: absolute; + user-select: none; + top: 100%; + left: 100%; + transform: translate(-50%,0); +} +#reset{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + top: 0%; + right: 0%; + transform: translate(0,-100%); + background-color: #ff0000; + color: #ffffff; +} \ No newline at end of file diff --git a/Version - 3/index.html b/Version - 3/index.html new file mode 100644 index 0000000..480d7e0 --- /dev/null +++ b/Version - 3/index.html @@ -0,0 +1,25 @@ + + + + + + + + HTML + + + + + + + + + +
+ + +
+ +

+ + \ No newline at end of file diff --git a/Version - 3/main.js b/Version - 3/main.js new file mode 100644 index 0000000..66ed1bb --- /dev/null +++ b/Version - 3/main.js @@ -0,0 +1,16 @@ +var count = 0; +window.onload = function(){ + var red = document.getElementById('red'); + var green = document.getElementById('green'); + var button = document.getElementById('button1'); + button.ontouchstart = function(){ + red.style.visibility='hidden'; + green.style.visibility='visible' + count++; + document.getElementById('clicks').innerHTML=count; + } + button.ontouchend=function(){ + red.style.visibility='visible'; + green.style.visibility='hidden' + } +} diff --git a/Version - 3/style.css b/Version - 3/style.css new file mode 100644 index 0000000..32f2b70 --- /dev/null +++ b/Version - 3/style.css @@ -0,0 +1,23 @@ +body { + font-size: 15pt; + user-select: none; +} +#red{ + position: absolute; + width: 100px; + height: 100px; + + +} +#green{ + position: absolute; + width: 100px; + height: 100px; + visibility: hidden; +} +#button1{ +position: absolute; + top: 50%; + left: 50%; + margin: -50px 0 0 -50px; +} \ No newline at end of file diff --git a/Version - 33.1/add.txt b/Version - 33.1/add.txt new file mode 100644 index 0000000..0dbc020 --- /dev/null +++ b/Version - 33.1/add.txt @@ -0,0 +1,72 @@ +click.offline.make +max 5 hour + +BuyDog dog.log clicks/s + + + 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 = ≈ 40 000 +1 hippo = ≈ 50 000 +1 snake = ≈ 60 000 +1 cheetah = ≈ 69 000 +1 python = +1 girrafe = 1 000 000 c/s + +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, ... + +if local items dogs true nothing +if local items.joe false add joe to items + + + + + + + + + + + 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 - 33.1/changelog b/Version - 33.1/changelog new file mode 100644 index 0000000..ea388ed --- /dev/null +++ b/Version - 33.1/changelog @@ -0,0 +1,12 @@ + v31 + undefined and NaN fix for adding new animals + + 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 + \ No newline at end of file diff --git a/Version - 33.1/css/brb.css b/Version - 33.1/css/brb.css new file mode 100644 index 0000000..61ae065 --- /dev/null +++ b/Version - 33.1/css/brb.css @@ -0,0 +1,86 @@ +body { + font-size: 15pt; + user-select: none; + padding: 0; + margin: 0; +} +#tycoon{ + position: absolute; + width: 100%; + height: 200px; + background: radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#ffffff 70%); +} +#shop{ + position: absolute; + width: 100%; + top: 20%; + text-align: center; + color: #000000; + text-decoration: underline; + transform: translateY(-50%); +} +#cool{ + position: absolute; + top: 98px; + left: 0%; + width: 100%; + height: 25%; + /*background: radial-gradient(#9aff9a,#ffffff);*/ +} +#logclick{ + position: absolute; + width: 100%; + height: 50px; + top: 40px; + left: 50%; + text-align: center; + transform: translate(-50%,0); +} +#disclick{ + position: absolute; + width: 100%; + height: 25px; + transform: translate(0%,0); +} + +/*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; +} + +#delete{ + position: absolute; + user-select: none; + top: 100%; + left: 100%; + transform: translate(-50%,0); +} +#reset{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + top: 0%; + right: 0%; + transform: translate(0,-100%); + background-color: #ff0000; + color: #ffffff; +} \ No newline at end of file diff --git a/Version - 33.1/css/shop.css b/Version - 33.1/css/shop.css new file mode 100644 index 0000000..13dd460 --- /dev/null +++ b/Version - 33.1/css/shop.css @@ -0,0 +1,81 @@ +*{ + 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; +} + +.link { + position: relative; + text-align: center; + background-color: #ff6655; + width: 130px; + height: 50px; + margin: 0 auto; + padding: 10px; + border: 3.69px solid #333333; + border-radius: 69px; +} +/* By MrEidam */ +.item{ + background-color: papayawhip/*var(--color)*/; + border: 2px solid #333; + top: 5px; + margin: 2rem; + border-radius: 6.9px; + display: flex; + flex-direction: column; + justify-content: space-evenly; + align-items: center; +} + +.item img{ + width: 100px; + height: 100px; + margin: 0.5rem; + 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; +} + +/* Clisks */ +#logclick{ + height: 50px; + background-color: yellow; +} + +#imgcli{ + width: 40px; + height: 40px; + margin: 0.1rem; +} +/* By MrEidam */ \ No newline at end of file diff --git a/Version - 33.1/img/Cat.png b/Version - 33.1/img/Cat.png new file mode 100644 index 0000000..fe09efd Binary files /dev/null and b/Version - 33.1/img/Cat.png differ diff --git a/Version - 33.1/img/Click.png b/Version - 33.1/img/Click.png new file mode 100644 index 0000000..65d2191 Binary files /dev/null and b/Version - 33.1/img/Click.png differ diff --git a/Version - 33.1/img/Dog.png b/Version - 33.1/img/Dog.png new file mode 100644 index 0000000..ceb9d9e Binary files /dev/null and b/Version - 33.1/img/Dog.png differ diff --git a/Version - 33.1/img/Fox.png b/Version - 33.1/img/Fox.png new file mode 100644 index 0000000..0fc5dee Binary files /dev/null and b/Version - 33.1/img/Fox.png differ diff --git a/Version - 33.1/img/Hamsta.png b/Version - 33.1/img/Hamsta.png new file mode 100644 index 0000000..e2172d1 Binary files /dev/null and b/Version - 33.1/img/Hamsta.png differ diff --git a/Version - 33.1/img/Lemons.png b/Version - 33.1/img/Lemons.png new file mode 100644 index 0000000..2339cf4 Binary files /dev/null and b/Version - 33.1/img/Lemons.png differ diff --git a/Version - 33.1/img/Lemt3.png b/Version - 33.1/img/Lemt3.png new file mode 100644 index 0000000..901fe29 Binary files /dev/null and b/Version - 33.1/img/Lemt3.png differ diff --git a/Version - 33.1/img/Wolf.png b/Version - 33.1/img/Wolf.png new file mode 100644 index 0000000..ec30657 Binary files /dev/null and b/Version - 33.1/img/Wolf.png differ diff --git a/Version - 33.1/img/capy.png b/Version - 33.1/img/capy.png new file mode 100644 index 0000000..84c3532 Binary files /dev/null and b/Version - 33.1/img/capy.png differ diff --git a/Version - 33.1/img/wha.png b/Version - 33.1/img/wha.png new file mode 100644 index 0000000..b9b3ada Binary files /dev/null and b/Version - 33.1/img/wha.png differ diff --git a/Version - 33.1/index.html b/Version - 33.1/index.html new file mode 100644 index 0000000..569dba6 --- /dev/null +++ b/Version - 33.1/index.html @@ -0,0 +1,43 @@ + + + + + + + + BRB - Clicking + + + + + + + + + + +
+ Click me to get to the Shop! +
+ +
+

+

+ + +
+ + +
+ + +
+ +
+ + + + \ No newline at end of file diff --git a/Version - 33.1/main.js b/Version - 33.1/main.js new file mode 100644 index 0000000..f6d7ca3 --- /dev/null +++ b/Version - 33.1/main.js @@ -0,0 +1,113 @@ +// Items +let items; +var cs = 0; +var 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, + + lemons:0, + lt3:0, +} + load(); + update(); + //fix(); +} + + +function beriba(){ + document.getElementById('unpressed').style.visibility='visible' + document.getElementById('pressed').style.visibility='hidden' + anime=true; +} + +function reset(){ + if(confirm('Do you really want to reset everything?')){ + if(confirm('Are you sure?')){ + alert('Everyting 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, + + lemons:0, + lt3:0, + } + } + } +} + +/* +// Fix for NaN +function fix0(){if(items.dogs===NaN){items.dogs=0}if (items.cats === NaN){items.cats = 0}if(items.foxes === NaN){items.foxes = 0}if(items.wolfs === NaN){items.wolfs = 0}if(items.hamsters === NaN){items.hamsters = 0}if(items.whales === NaN){items.whales = 0}if(items.capybaras === NaN){items.capybaras = 0}if(items.lemons === NaN){items.lemons = 0}if(items.lt3 === NaN){items.lt3 = 0}if(items.platapuses===NaN){items.platapuses=0}if(items.porcupines===NaN){items.porcupines=0}if(items.hippos===NaN){items.hippos=0}if(items.snakes===NaN){items.snakes=0}if(items.cheetahs===NaN){items.cheetahs=0}if(items.pythons===NaN){items.pythons=0}if(items.girrafes===NaN){items.girrafes=0}if(items.lions===NaN){items.lions=0} +} +// Fix for undefined +function fix1(){if(items.dogs===undefined){items.dogs=0}if (items.cats === undefined){items.cats = 0}if(items.foxes === undefined){items.foxes = 0}if(items.wolfs === undefined){items.wolfs = 0}if(items.hamsters === undefined){items.hamsters = 0}if(items.whales === undefined){items.whales = 0}if(items.capybaras === undefined){items.capybaras = 0}if(items.lemons === undefined){items.lemons = 0}if(items.lt3 === undefined){items.lt3 = 0}if(items.platapuses===undefined){items.platapuses=0}if(items.porcupines===undefined){items.porcupines=0}if(items.hippos===undefined){items.hippos=0}if(items.snakes===undefined){items.snakes=0}if(items.cheetahs===undefined){items.cheetahs=0}if(items.pythons===undefined){items.pythons=0}if(items.girrafes===undefined){items.girrafes=0}if(items.lions===undefined){items.lions=0}} + +function fix(){ + fix0();fix1(); +}*/ + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + document.getElementById('disclick').innerHTML=`You've got ${items.clicks} clicks, and generating ${cs} c/s!` +} +// Clicks + +// BRB +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.clicks += cs; + update();cash();//fix(); + },1000) +} +cash();//fix(); diff --git a/Version - 33.1/shop.html b/Version - 33.1/shop.html new file mode 100644 index 0000000..9f466a6 --- /dev/null +++ b/Version - 33.1/shop.html @@ -0,0 +1,185 @@ + + + + + + + + + BRB - Shop + + + + + + + + + + + + + +
+ + + +
+ +

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

+

+
+ + +
+ +
+ + +
+

+

+
+ + + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + + +
+ +
+ + +
+

+

+
+
+ + + + + + + \ No newline at end of file diff --git a/Version - 33.1/shop.js b/Version - 33.1/shop.js new file mode 100644 index 0000000..77f49bf --- /dev/null +++ b/Version - 33.1/shop.js @@ -0,0 +1,234 @@ +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; +} +function c(x){ + items.clicks += x; + upload(); +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + + document.getElementById('disclick').innerHTML=`You've got ${items.clicks} clicks, and generating ${cs} c/s!` + document.getElementById('disdog').innerHTML=`You've got ${items.dogs} dogs!` + document.getElementById('discat').innerHTML=`You've got ${items.cats} cats!` + document.getElementById('disfox').innerHTML=`You've got ${items.foxes} foxes!` + document.getElementById('diswol').innerHTML=`You've got ${items.wolfs} wolfs!` + document.getElementById('disham').innerHTML=`You've got ${items.hamsters} hamsters!` + document.getElementById('diswha').innerHTML=`You've got ${items.whales} whales!` + document.getElementById('discap').innerHTML=`You've got ${items.capybaras} capybaras!` + + + + + + document.getElementById('dislem').innerHTML=`You've got ${items.lemons} lemons!` + document.getElementById('dislt3').innerHTML=`You've got ${items.lt3} lemon trees!` + + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280; + + document.getElementById('disdgmake').innerHTML=`They're generating ${items.dogs*1} clicks per second!` + document.getElementById('disctmake').innerHTML=`They're generating ${items.cats*12} clicks per second!` + document.getElementById('disfxmake').innerHTML=`They're generating ${items.foxes*18} clicks per second!` + document.getElementById('diswlmake').innerHTML=`They're generating ${items.wolfs*100} clicks per second!` + document.getElementById('dishmmake').innerHTML=`They're generating ${items.hamsters*130} clicks per second!` + document.getElementById('diswhmake').innerHTML=`They're generating ${items.whales*220} clicks per second!` + document.getElementById('discpmake').innerHTML=`They're generating ${items.capybaras*280} clicks per second!` +} +load(); + +function upload(){ + update(); + load(); +} + +function cash(){ + setTimeout (function money(){ + items.clicks += cs; + upload(); + cash(); + },1000) +} +cash(); + +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); +} +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 buylem(){ + if(items.cats>=10){ + items.cats-=10; + 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(); +} \ No newline at end of file diff --git a/Version - 33.1/upgrade.html b/Version - 33.1/upgrade.html new file mode 100644 index 0000000..88d4700 --- /dev/null +++ b/Version - 33.1/upgrade.html @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 33.1/upgrades.json b/Version - 33.1/upgrades.json new file mode 100644 index 0000000..e69de29 diff --git a/Version - 33/add.txt b/Version - 33/add.txt new file mode 100644 index 0000000..0dbc020 --- /dev/null +++ b/Version - 33/add.txt @@ -0,0 +1,72 @@ +click.offline.make +max 5 hour + +BuyDog dog.log clicks/s + + + 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 = ≈ 40 000 +1 hippo = ≈ 50 000 +1 snake = ≈ 60 000 +1 cheetah = ≈ 69 000 +1 python = +1 girrafe = 1 000 000 c/s + +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, ... + +if local items dogs true nothing +if local items.joe false add joe to items + + + + + + + + + + + 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 - 33/changelog b/Version - 33/changelog new file mode 100644 index 0000000..ea388ed --- /dev/null +++ b/Version - 33/changelog @@ -0,0 +1,12 @@ + v31 + undefined and NaN fix for adding new animals + + 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 + \ No newline at end of file diff --git a/Version - 33/index.html b/Version - 33/index.html new file mode 100644 index 0000000..b927831 --- /dev/null +++ b/Version - 33/index.html @@ -0,0 +1,43 @@ + + + + + + + + BRB - Clicking + + + + + + + + + + +
+ Click me to get to the Shop! +
+ +
+

+

+ + +
+ + +
+ + +
+ +
+ + + + \ No newline at end of file diff --git a/Version - 33/main.js b/Version - 33/main.js new file mode 100644 index 0000000..f6d7ca3 --- /dev/null +++ b/Version - 33/main.js @@ -0,0 +1,113 @@ +// Items +let items; +var cs = 0; +var 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, + + lemons:0, + lt3:0, +} + load(); + update(); + //fix(); +} + + +function beriba(){ + document.getElementById('unpressed').style.visibility='visible' + document.getElementById('pressed').style.visibility='hidden' + anime=true; +} + +function reset(){ + if(confirm('Do you really want to reset everything?')){ + if(confirm('Are you sure?')){ + alert('Everyting 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, + + lemons:0, + lt3:0, + } + } + } +} + +/* +// Fix for NaN +function fix0(){if(items.dogs===NaN){items.dogs=0}if (items.cats === NaN){items.cats = 0}if(items.foxes === NaN){items.foxes = 0}if(items.wolfs === NaN){items.wolfs = 0}if(items.hamsters === NaN){items.hamsters = 0}if(items.whales === NaN){items.whales = 0}if(items.capybaras === NaN){items.capybaras = 0}if(items.lemons === NaN){items.lemons = 0}if(items.lt3 === NaN){items.lt3 = 0}if(items.platapuses===NaN){items.platapuses=0}if(items.porcupines===NaN){items.porcupines=0}if(items.hippos===NaN){items.hippos=0}if(items.snakes===NaN){items.snakes=0}if(items.cheetahs===NaN){items.cheetahs=0}if(items.pythons===NaN){items.pythons=0}if(items.girrafes===NaN){items.girrafes=0}if(items.lions===NaN){items.lions=0} +} +// Fix for undefined +function fix1(){if(items.dogs===undefined){items.dogs=0}if (items.cats === undefined){items.cats = 0}if(items.foxes === undefined){items.foxes = 0}if(items.wolfs === undefined){items.wolfs = 0}if(items.hamsters === undefined){items.hamsters = 0}if(items.whales === undefined){items.whales = 0}if(items.capybaras === undefined){items.capybaras = 0}if(items.lemons === undefined){items.lemons = 0}if(items.lt3 === undefined){items.lt3 = 0}if(items.platapuses===undefined){items.platapuses=0}if(items.porcupines===undefined){items.porcupines=0}if(items.hippos===undefined){items.hippos=0}if(items.snakes===undefined){items.snakes=0}if(items.cheetahs===undefined){items.cheetahs=0}if(items.pythons===undefined){items.pythons=0}if(items.girrafes===undefined){items.girrafes=0}if(items.lions===undefined){items.lions=0}} + +function fix(){ + fix0();fix1(); +}*/ + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + document.getElementById('disclick').innerHTML=`You've got ${items.clicks} clicks, and generating ${cs} c/s!` +} +// Clicks + +// BRB +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.clicks += cs; + update();cash();//fix(); + },1000) +} +cash();//fix(); diff --git a/Version - 33/shop.css b/Version - 33/shop.css new file mode 100644 index 0000000..9277196 --- /dev/null +++ b/Version - 33/shop.css @@ -0,0 +1,370 @@ + body{ + font-size: 15pt; + user-select: none; + padding: 3; + margin: 0; +} + +.link{ + position: relative; + text-align: center; + background-color: #ff6655; + width: 100px; + margin: 0 auto; + padding: 10px; + border: 3.69px solid #333; + border-radius: 69px; +} + +main{ + position: relative; +} + +/* Clisks */ +#logclick{ + height: 40px; + background-color: yellow; +} +#imgcli{ + width: 40px; + height: 40px; +} + +/* Dog */ +#logdog{ + position: absolute; + width: 100%; + height: 40px; + top: 90px; + left: 4px; +} +#imgdog{ + position: absolute; + width: 40px; + height: 40px; +} +#buydog{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: darkorange; +} +#maxdog{ + position: absolute; + width: 40px; + height: 40px; + left: 195px; + background-color: darkorange; + text-align: center; +} +#disdog{ + position: absolute; + width: 365px; + height: 40px; + left: 240px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Cats */ +#logcat{ + position: absolute; + width: 100%; + height: 40px; + top: 140px; + left: 4px; +} +#imgcat{ + position: absolute; + width: 40px; + height: 40px; +} +#buycat{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: orange; +} +#maxcat{ + position: absolute; + width: 40px; + height: 40px; + left: 195px; + background-color: orange; + text-align: center; +} +#discat{ + position: absolute; + width: 350px; + height: 40px; + left: 240px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Foxes */ +#logfox{ + position: absolute; + width: 100%; + height: 40px; + top: 190px; + left: 4px; +} +#imgfox{ + position: absolute; + width: 40px; + height: 40px; +} +#buyfox{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: lightsalmon; +} +#maxfox{ + position: absolute; + width: 40px; + height: 40px; + left: 195px; + background-color: lightsalmon; + text-align: center; +} +#disfox{ + position: absolute; + width: 350px; + height: 40px; + left: 240px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Wolfs */ +#logwol{ + position: absolute; + width: 100%; + height: 40px; + top: 240px; + left: 4px; +} +#imgwol{ + position: absolute; + width: 40px; + height: 40px; +} +#buywol{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: lightgray; +} +#maxwol{ + position: absolute; + width: 40px; + height: 40px; + left: 195px; + background-color: lightgray; + text-align: center; +} +#diswol{ + position: absolute; + width: 350px; + height: 40px; + left: 240px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Hamsters */ +#logham{ + position: absolute; + width: 100%; + height: 40px; + top: 290px; + left: 4px; +} +#imgham{ + position: absolute; + width: 40px; + height: 40px; +} +#buyham{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: wheat; +} +#maxham{ + position: absolute; + width: 40px; + height: 40px; + left: 195px; + background-color: wheat; + text-align: center; +} +#disham{ + position: absolute; + width: 350px; + height: 40px; + left: 240px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Whales */ +#logwha{ + position: absolute; + width: 100%; + height: 40px; + top: 340px; + left: 4px; +} +#imgwha{ + position: absolute; + width: 40px; + height: 40px; +} +#buywha{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: cyan; +} +#maxwha{ + position: absolute; + width: 40px; + height: 40px; + left: 195px; + background-color: cyan; + text-align: center; +} +#diswha{ + position: absolute; + width: 350px; + height: 40px; + left: 240px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Capybaras */ +#logcap{ + position: absolute; + width: 100%; + height: 40px; + top: 390px; + left: 4px; +} +#imgcap{ + position: absolute; + width: 40px; + height: 40px; +} +#buycap{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: rosybrown; +} +#maxcap{ + position: absolute; + width: 40px; + height: 40px; + left: 195px; + background-color: rosybrown; + text-align: center; +} +#discap{ + position: absolute; + width: 350px; + height: 40px; + left: 240px; + bottom: 2px; + margin: 0 0 -10px 0; +} + + + + +/* By MrEidam */ + +/* Lemons */ +#loglem{ + position: absolute; + width: 100%; + height: 40px; + top: 500px; + left: 4px; +} +#imglem{ + position: absolute; + width: 40px; + height: 40px; +} +#buylem{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: yellow; +} +#maxlem{ + position: absolute; + width: 40px; + height: 40px; + left: 195px; + background-color: yellow; + text-align: center; +} + +#dislem{ + position: absolute; + width: 350px; + height: 40px; + left: 240px; + bottom: 2px; + margin: 0 0 -10px 0; +} + +/* Lemon trees */ +#logLt3{ + position: absolute; + width: 100%; + height: 40px; + top: 550px; + left: 4px; +} +#imglt3{ + position: absolute; + width: 40px; + height: 40px; +} +#buyLt3{ + position: absolute; + width: 150px; + height: 40px; + left: 45px; + background-color: lightgoldenrodyellow; +} +#maxLt3{ + position: absolute; + width: 40px; + height: 40px; + left: 195px; + background-color: lightgoldenrodyellow; + text-align: center; +} +#dislt3{ + position: absolute; + width: 350px; + height: 40px; + left: 240px; + bottom: 2px; + margin: 0 0 -10px 0; +} diff --git a/Version - 33/shop.html b/Version - 33/shop.html new file mode 100644 index 0000000..f2575fe --- /dev/null +++ b/Version - 33/shop.html @@ -0,0 +1,155 @@ + + + + + + + + + BRB - Shop + + + + + + + + + + + + + +
+ + + +
+ +

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

+
+ + +
+ + + + +

+
+ + +
+ + + + +

+
+ + +
+ + + +

+
+ + +
+ + + +

+
+ + +
+ + + +

+
+ + +
+ + + +

+
+ + +
+ + + +

+
+ + +
+ + + +

+
+
+ + + + + + + \ No newline at end of file diff --git a/Version - 33/shop.js b/Version - 33/shop.js new file mode 100644 index 0000000..804c889 --- /dev/null +++ b/Version - 33/shop.js @@ -0,0 +1,231 @@ +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; +} +function c1000(){ + items.clicks = 1000; +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + + document.getElementById('disclick').innerHTML=`You've got ${items.clicks} clicks, and generating ${cs} c/s!` + document.getElementById('disdog').innerHTML=`You've got ${items.dogs}!` + document.getElementById('discat').innerHTML=`You've got ${items.cats}!` + document.getElementById('disfox').innerHTML=`You've got ${items.foxes}!` + document.getElementById('diswol').innerHTML=`You've got ${items.wolfs}!` + document.getElementById('disham').innerHTML=`You've got ${items.hamsters}!` + document.getElementById('diswha').innerHTML=`You've got ${items.whales}!` + document.getElementById('discap').innerHTML=`You've got ${items.capybaras}!` + + + + + + document.getElementById('dislem').innerHTML=`You've got ${items.lemons}!` + document.getElementById('dislt3').innerHTML=`You've got ${items.lt3}!` + + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280; +} +load(); + +function upload(){ + update(); + load(); +} + +function cash(){ + setTimeout (function money(){ + items.clicks += cs; + upload(); + cash(); + },1000) +} +cash(); + +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); +} +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 buylem(){ + if(items.cats>=10){ + items.cats-=10; + 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 + console.log('Added '+one+' wolfs'); + }else if(one>=two){ + items.foxes -= two*5 + items.dogs -= two*6 + items.wolfs += two + console.log('Added '+two+' wolfs'); + }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 + console.log('Added '+one+' hams'); + }else if(one>=two){ + items.wolfs -= two*1 + items.cats -= two*2 + items.hamsters += two + console.log('Added '+two+' hams'); + }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 + console.log('Added '+one+' capps'); + }else if(one>=two){ + items.whales -= two*1 + items.cats -= two*4 + items.capybaras += two + console.log('Added '+two+' capps'); + }else{ + console.log('You fucked up you stupid bitch') + } + upload(); +} \ No newline at end of file diff --git a/Version - 33/style.css b/Version - 33/style.css new file mode 100644 index 0000000..61ae065 --- /dev/null +++ b/Version - 33/style.css @@ -0,0 +1,86 @@ +body { + font-size: 15pt; + user-select: none; + padding: 0; + margin: 0; +} +#tycoon{ + position: absolute; + width: 100%; + height: 200px; + background: radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#ffffff 70%); +} +#shop{ + position: absolute; + width: 100%; + top: 20%; + text-align: center; + color: #000000; + text-decoration: underline; + transform: translateY(-50%); +} +#cool{ + position: absolute; + top: 98px; + left: 0%; + width: 100%; + height: 25%; + /*background: radial-gradient(#9aff9a,#ffffff);*/ +} +#logclick{ + position: absolute; + width: 100%; + height: 50px; + top: 40px; + left: 50%; + text-align: center; + transform: translate(-50%,0); +} +#disclick{ + position: absolute; + width: 100%; + height: 25px; + transform: translate(0%,0); +} + +/*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; +} + +#delete{ + position: absolute; + user-select: none; + top: 100%; + left: 100%; + transform: translate(-50%,0); +} +#reset{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + top: 0%; + right: 0%; + transform: translate(0,-100%); + background-color: #ff0000; + color: #ffffff; +} \ No newline at end of file diff --git a/Version - 33/upgrade.html b/Version - 33/upgrade.html new file mode 100644 index 0000000..88d4700 --- /dev/null +++ b/Version - 33/upgrade.html @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 33/upgrades.json b/Version - 33/upgrades.json new file mode 100644 index 0000000..e69de29 diff --git a/Version - 34.1/add.txt b/Version - 34.1/add.txt new file mode 100644 index 0000000..32ef79f --- /dev/null +++ b/Version - 34.1/add.txt @@ -0,0 +1,61 @@ +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 = ≈ 40 000 +1 hippo = ≈ 50 000 +1 snake = ≈ 60 000 +1 cheetah = ≈ 69 000 +1 python = +1 girrafe = 1 000 000 c/s + +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 - 34.1/changelog b/Version - 34.1/changelog new file mode 100644 index 0000000..b032d14 --- /dev/null +++ b/Version - 34.1/changelog @@ -0,0 +1,21 @@ + v31 + undefined and NaN fix for adding new animals + + 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 + + v33 + Added: New UI for shop + + v34 + Added: New Button to Upgrades menu + Shop UI + + Fixed: Finally fixed NaN, Undefined, Null error + \ No newline at end of file diff --git a/Version - 34.1/css/brb.css b/Version - 34.1/css/brb.css new file mode 100644 index 0000000..1a7d94a --- /dev/null +++ b/Version - 34.1/css/brb.css @@ -0,0 +1,83 @@ +body { + font-size: 15pt; + user-select: none; + padding: 0; + margin: 0; +} +#tycoon{ + position: absolute; + width: 100%; + height: 200px; + background: radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#ffffff 70%); +} +#shop{ + position: absolute; + width: 100%; + top: 20%; + text-align: center; + color: #000000; + text-decoration: underline; + transform: translateY(-50%); +} +#cool{ + position: absolute; + top: 98px; + left: 0%; + width: 100%; + height: 25%; + /*background: radial-gradient(#9aff9a,#ffffff);*/ +} +#logclick{ + position: absolute; + width: 100%; + top: 40px; + left: 50%; + text-align: center; + transform: translate(-50%,0); +} +#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; +} + +#delete{ + position: absolute; + user-select: none; + top: 100%; + left: 100%; + transform: translate(-50%,0); +} +#reset{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + top: 0%; + right: 0%; + transform: translate(0,-100%); + background-color: #ff0000; + color: #ffffff; +} \ No newline at end of file diff --git a/Version - 34.1/css/shop.css b/Version - 34.1/css/shop.css new file mode 100644 index 0000000..a665283 --- /dev/null +++ b/Version - 34.1/css/shop.css @@ -0,0 +1,97 @@ +*{ + 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; + display: flex; + justify-content: center; + align-items: center; + background-color: #ff6655; + width: 200px; + height: 50px; + margin: 1rem auto; + border: 3.69px solid #333333; + border-radius: 69px; +} + +/* By MrEidam */ +.item{ + background-color: papayawhip/*var(--color)*/; + border: 2px solid #333; + top: 5px; + margin: 2rem; + padding: 0.5rem; + border-radius: 6.9px; + display: flex; + flex-direction: column; + justify-content: space-evenly; + align-items: center; +} + +.item img{ + width: 100px; + height: 100px; + margin: 0.5rem; + 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; +} + +/* Clisks */ +#logclick{ + background-color: papayawhip; + display: flex; + align-items: center; + justify-content: center; + gap: 5ch; + padding: 1rem; + border: 5px dashed blue; + border-radius: 1rem; +} + +#imgcli{ + width: 40px; + height: 40px; + margin: 0.1rem; +} +/* By MrEidam */ \ No newline at end of file diff --git a/Version - 34.1/css/upgr.css b/Version - 34.1/css/upgr.css new file mode 100644 index 0000000..65ba204 --- /dev/null +++ b/Version - 34.1/css/upgr.css @@ -0,0 +1,45 @@ +*{ + 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; +} + +.link { + position: relative; + text-align: center; + background-color: darkorange; + 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; + 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 - 34.1/img/Cat.png b/Version - 34.1/img/Cat.png new file mode 100644 index 0000000..fe09efd Binary files /dev/null and b/Version - 34.1/img/Cat.png differ diff --git a/Version - 34.1/img/Click.png b/Version - 34.1/img/Click.png new file mode 100644 index 0000000..65d2191 Binary files /dev/null and b/Version - 34.1/img/Click.png differ diff --git a/Version - 34.1/img/Dog.png b/Version - 34.1/img/Dog.png new file mode 100644 index 0000000..ceb9d9e Binary files /dev/null and b/Version - 34.1/img/Dog.png differ diff --git a/Version - 34.1/img/Fox.png b/Version - 34.1/img/Fox.png new file mode 100644 index 0000000..0fc5dee Binary files /dev/null and b/Version - 34.1/img/Fox.png differ diff --git a/Version - 34.1/img/Hamsta.png b/Version - 34.1/img/Hamsta.png new file mode 100644 index 0000000..e2172d1 Binary files /dev/null and b/Version - 34.1/img/Hamsta.png differ diff --git a/Version - 34.1/img/Lemons.png b/Version - 34.1/img/Lemons.png new file mode 100644 index 0000000..2339cf4 Binary files /dev/null and b/Version - 34.1/img/Lemons.png differ diff --git a/Version - 34.1/img/Lemt3.png b/Version - 34.1/img/Lemt3.png new file mode 100644 index 0000000..901fe29 Binary files /dev/null and b/Version - 34.1/img/Lemt3.png differ diff --git a/Version - 34.1/img/Wolf.png b/Version - 34.1/img/Wolf.png new file mode 100644 index 0000000..ec30657 Binary files /dev/null and b/Version - 34.1/img/Wolf.png differ diff --git a/Version - 34.1/img/capy.png b/Version - 34.1/img/capy.png new file mode 100644 index 0000000..84c3532 Binary files /dev/null and b/Version - 34.1/img/capy.png differ diff --git a/Version - 34.1/img/wha.png b/Version - 34.1/img/wha.png new file mode 100644 index 0000000..b9b3ada Binary files /dev/null and b/Version - 34.1/img/wha.png differ diff --git a/Version - 34.1/index.html b/Version - 34.1/index.html new file mode 100644 index 0000000..6c03c48 --- /dev/null +++ b/Version - 34.1/index.html @@ -0,0 +1,45 @@ + + + + + + + + BRB - Clicking + + + + + + + + + + +
+

Click me to get to the Shop!

+
+ +
+

+

+ + +
+ + +
+ + +
+ +
+ + + + + + \ No newline at end of file diff --git a/Version - 34.1/main.js b/Version - 34.1/main.js new file mode 100644 index 0000000..ed288a0 --- /dev/null +++ b/Version - 34.1/main.js @@ -0,0 +1,115 @@ +// Items +let items; +let upg; +var cs = 0; +var anime = false; + +function load(){ + if (localStorage.getItem('items')!=null){ + items = JSON.parse(localStorage.getItem('items')); + } + if (localStorage.getItem('upg')!=null){ + udg = JSON.parse(localStorage.getItem('upg')); + } +} + +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, + + lemons:0, + lt3:0, + } + upg = { + mememode: false, + autobuydog: false, + } + load(); + update(); + for(let item in items){ + if(!items.item) items.item = 0; + } + cash(); +} + +// Reset +function reset(){ + if(confirm('Do you really want to reset everything?')){ + if(confirm('Are you sure?')){ + alert('Everyting 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, + + lemons:0, + lt3:0, + } + upg = { + mememode: false, + autobuydog: false, + } + } + } +} + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + document.getElementById('disclick').innerHTML=`You've got ${items.clicks} clicks, and generating ${cs} c/s!` +} + +// 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.clicks += cs; + update();cash(); + },1000) +} \ No newline at end of file diff --git a/Version - 34.1/shop.html b/Version - 34.1/shop.html new file mode 100644 index 0000000..f8658cd --- /dev/null +++ b/Version - 34.1/shop.html @@ -0,0 +1,188 @@ + + + + + + + + + BRB - Shop + + + + + + + + + + + +
+ + + +
+ +

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

+

+
+ + +
+ +
+ + +
+

+

+
+ + + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + + +
+ +
+ + +
+

+

+
+
+ + + + + + + \ No newline at end of file diff --git a/Version - 34.1/shop.js b/Version - 34.1/shop.js new file mode 100644 index 0000000..840b9e0 --- /dev/null +++ b/Version - 34.1/shop.js @@ -0,0 +1,236 @@ +let cs +let upg +// 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; +} +function c(x){ + items.clicks += x; + console.log(x + ' clicks added!'); + upload(); +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + + document.getElementById('disclick').innerHTML=`You've got ${items.clicks} clicks, and generating ${cs} c/s!` + document.getElementById('disdog').innerHTML=`You've got ${items.dogs} dogs!` + document.getElementById('discat').innerHTML=`You've got ${items.cats} cats!` + document.getElementById('disfox').innerHTML=`You've got ${items.foxes} foxes!` + document.getElementById('diswol').innerHTML=`You've got ${items.wolfs} wolfs!` + document.getElementById('disham').innerHTML=`You've got ${items.hamsters} hamsters!` + document.getElementById('diswha').innerHTML=`You've got ${items.whales} whales!` + document.getElementById('discap').innerHTML=`You've got ${items.capybaras} capybaras!` + + + + + + document.getElementById('dislem').innerHTML=`You've got ${items.lemons} lemons!` + document.getElementById('dislt3').innerHTML=`You've got ${items.lt3} lemon trees!` + + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280; + + document.getElementById('disdgmake').innerHTML=`They're generating ${items.dogs*1} clicks per second!` + document.getElementById('disctmake').innerHTML=`They're generating ${items.cats*12} clicks per second!` + document.getElementById('disfxmake').innerHTML=`They're generating ${items.foxes*18} clicks per second!` + document.getElementById('diswlmake').innerHTML=`They're generating ${items.wolfs*100} clicks per second!` + document.getElementById('dishmmake').innerHTML=`They're generating ${items.hamsters*130} clicks per second!` + document.getElementById('diswhmake').innerHTML=`They're generating ${items.whales*220} clicks per second!` + document.getElementById('discpmake').innerHTML=`They're generating ${items.capybaras*280} clicks per second!` +} +load(); + +function upload(){ + update(); + load(); +} + +function cash(){ + setTimeout (function money(){ + items.clicks += cs; + upload(); + cash(); + },1000) +} +cash(); + +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); +} +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 buylem(){ + if(items.cats>=10){ + items.cats-=10; + 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(); +} \ No newline at end of file diff --git a/Version - 34.1/upgr.js b/Version - 34.1/upgr.js new file mode 100644 index 0000000..2a0cce9 --- /dev/null +++ b/Version - 34.1/upgr.js @@ -0,0 +1,50 @@ +let items +let cs +let upg +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + let I = JSON.stringify(upg); + localStorage.setItem('upg', I); +} + +function load(){ + if (localStorage.getItem('items')!=null){ + items = JSON.parse(localStorage.getItem('items')); + } + + if (localStorage.getItem('upg')!=null){ + upg = JSON.parse(localStorage.getItem('upg')); + } + + + + + + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280; + + document.getElementById('dislm').innerHTML = `You've got ${items.lemons} lemons!` +} + +function upload(){ + update(); + load(); +} + +function cash(){ + setTimeout (function money(){ + items.clicks += cs; + upload();cash(); + if(upg.autobuydog === true){ + items.clicks -= Math.floor(items.clicks / 100) * 100 + items.dogs += Math.floor(items.clicks / 100) + upload(); + } + },1000) +} + + +window.onload = function(){ + load();cash(); +} \ No newline at end of file diff --git a/Version - 34.1/upgrade.html b/Version - 34.1/upgrade.html new file mode 100644 index 0000000..0008ec4 --- /dev/null +++ b/Version - 34.1/upgrade.html @@ -0,0 +1,29 @@ + + + + + + + BRB - Upgrades + + + + + + +
+ + + +
+ +

+
+
+ + + + + \ No newline at end of file diff --git a/Version - 34.1/upgrades.json b/Version - 34.1/upgrades.json new file mode 100644 index 0000000..e69de29 diff --git a/Version - 34/add.txt b/Version - 34/add.txt new file mode 100644 index 0000000..0dbc020 --- /dev/null +++ b/Version - 34/add.txt @@ -0,0 +1,72 @@ +click.offline.make +max 5 hour + +BuyDog dog.log clicks/s + + + 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 = ≈ 40 000 +1 hippo = ≈ 50 000 +1 snake = ≈ 60 000 +1 cheetah = ≈ 69 000 +1 python = +1 girrafe = 1 000 000 c/s + +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, ... + +if local items dogs true nothing +if local items.joe false add joe to items + + + + + + + + + + + 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 - 34/changelog b/Version - 34/changelog new file mode 100644 index 0000000..ea388ed --- /dev/null +++ b/Version - 34/changelog @@ -0,0 +1,12 @@ + v31 + undefined and NaN fix for adding new animals + + 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 + \ No newline at end of file diff --git a/Version - 34/css/brb.css b/Version - 34/css/brb.css new file mode 100644 index 0000000..61ae065 --- /dev/null +++ b/Version - 34/css/brb.css @@ -0,0 +1,86 @@ +body { + font-size: 15pt; + user-select: none; + padding: 0; + margin: 0; +} +#tycoon{ + position: absolute; + width: 100%; + height: 200px; + background: radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#ffffff 70%); +} +#shop{ + position: absolute; + width: 100%; + top: 20%; + text-align: center; + color: #000000; + text-decoration: underline; + transform: translateY(-50%); +} +#cool{ + position: absolute; + top: 98px; + left: 0%; + width: 100%; + height: 25%; + /*background: radial-gradient(#9aff9a,#ffffff);*/ +} +#logclick{ + position: absolute; + width: 100%; + height: 50px; + top: 40px; + left: 50%; + text-align: center; + transform: translate(-50%,0); +} +#disclick{ + position: absolute; + width: 100%; + height: 25px; + transform: translate(0%,0); +} + +/*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; +} + +#delete{ + position: absolute; + user-select: none; + top: 100%; + left: 100%; + transform: translate(-50%,0); +} +#reset{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + top: 0%; + right: 0%; + transform: translate(0,-100%); + background-color: #ff0000; + color: #ffffff; +} \ No newline at end of file diff --git a/Version - 34/css/shop.css b/Version - 34/css/shop.css new file mode 100644 index 0000000..fa12735 --- /dev/null +++ b/Version - 34/css/shop.css @@ -0,0 +1,97 @@ +*{ + 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; + text-align: center; + background-color: #ff6655; + width: 100%; + margin: 1rem auto; + padding: 10px; + display: flex; + justify-content: space-around; +} +.link{ + position: relative; + text-align: center; + background-color: #ff6655; + width: 150px; + height: 50px; + margin: 1rem auto; + border: 3.69px solid #333333; + border-radius: 69px; +} + +/* By MrEidam */ +.item{ + background-color: papayawhip/*var(--color)*/; + border: 2px solid #333; + top: 5px; + margin: 2rem; + padding: 0.5rem; + border-radius: 6.9px; + display: flex; + flex-direction: column; + justify-content: space-evenly; + align-items: center; +} + +.item img{ + width: 100px; + height: 100px; + margin: 0.5rem; + 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; +} + +/* Clisks */ +#logclick{ + background-color: papayawhip; + display: flex; + align-items: center; + justify-content: center; + gap: 5ch; + padding: 1rem; + border: 5px dashed blue; + border-radius: 1rem; +} + +#imgcli{ + width: 40px; + height: 40px; + margin: 0.1rem; +} +/* By MrEidam */ \ No newline at end of file diff --git a/Version - 34/css/upgr.css b/Version - 34/css/upgr.css new file mode 100644 index 0000000..65ba204 --- /dev/null +++ b/Version - 34/css/upgr.css @@ -0,0 +1,45 @@ +*{ + 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; +} + +.link { + position: relative; + text-align: center; + background-color: darkorange; + 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; + 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 - 34/img/Cat.png b/Version - 34/img/Cat.png new file mode 100644 index 0000000..fe09efd Binary files /dev/null and b/Version - 34/img/Cat.png differ diff --git a/Version - 34/img/Click.png b/Version - 34/img/Click.png new file mode 100644 index 0000000..65d2191 Binary files /dev/null and b/Version - 34/img/Click.png differ diff --git a/Version - 34/img/Dog.png b/Version - 34/img/Dog.png new file mode 100644 index 0000000..ceb9d9e Binary files /dev/null and b/Version - 34/img/Dog.png differ diff --git a/Version - 34/img/Fox.png b/Version - 34/img/Fox.png new file mode 100644 index 0000000..0fc5dee Binary files /dev/null and b/Version - 34/img/Fox.png differ diff --git a/Version - 34/img/Hamsta.png b/Version - 34/img/Hamsta.png new file mode 100644 index 0000000..e2172d1 Binary files /dev/null and b/Version - 34/img/Hamsta.png differ diff --git a/Version - 34/img/Lemons.png b/Version - 34/img/Lemons.png new file mode 100644 index 0000000..2339cf4 Binary files /dev/null and b/Version - 34/img/Lemons.png differ diff --git a/Version - 34/img/Lemt3.png b/Version - 34/img/Lemt3.png new file mode 100644 index 0000000..901fe29 Binary files /dev/null and b/Version - 34/img/Lemt3.png differ diff --git a/Version - 34/img/Wolf.png b/Version - 34/img/Wolf.png new file mode 100644 index 0000000..ec30657 Binary files /dev/null and b/Version - 34/img/Wolf.png differ diff --git a/Version - 34/img/capy.png b/Version - 34/img/capy.png new file mode 100644 index 0000000..84c3532 Binary files /dev/null and b/Version - 34/img/capy.png differ diff --git a/Version - 34/img/wha.png b/Version - 34/img/wha.png new file mode 100644 index 0000000..b9b3ada Binary files /dev/null and b/Version - 34/img/wha.png differ diff --git a/Version - 34/index.html b/Version - 34/index.html new file mode 100644 index 0000000..ed96fe8 --- /dev/null +++ b/Version - 34/index.html @@ -0,0 +1,45 @@ + + + + + + + + BRB - Clicking + + + + + + + + + + +
+ Click me to get to the Shop! +
+ +
+

+

+ + +
+ + +
+ + +
+ +
+ + + + + + \ No newline at end of file diff --git a/Version - 34/main.js b/Version - 34/main.js new file mode 100644 index 0000000..f6d7ca3 --- /dev/null +++ b/Version - 34/main.js @@ -0,0 +1,113 @@ +// Items +let items; +var cs = 0; +var 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, + + lemons:0, + lt3:0, +} + load(); + update(); + //fix(); +} + + +function beriba(){ + document.getElementById('unpressed').style.visibility='visible' + document.getElementById('pressed').style.visibility='hidden' + anime=true; +} + +function reset(){ + if(confirm('Do you really want to reset everything?')){ + if(confirm('Are you sure?')){ + alert('Everyting 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, + + lemons:0, + lt3:0, + } + } + } +} + +/* +// Fix for NaN +function fix0(){if(items.dogs===NaN){items.dogs=0}if (items.cats === NaN){items.cats = 0}if(items.foxes === NaN){items.foxes = 0}if(items.wolfs === NaN){items.wolfs = 0}if(items.hamsters === NaN){items.hamsters = 0}if(items.whales === NaN){items.whales = 0}if(items.capybaras === NaN){items.capybaras = 0}if(items.lemons === NaN){items.lemons = 0}if(items.lt3 === NaN){items.lt3 = 0}if(items.platapuses===NaN){items.platapuses=0}if(items.porcupines===NaN){items.porcupines=0}if(items.hippos===NaN){items.hippos=0}if(items.snakes===NaN){items.snakes=0}if(items.cheetahs===NaN){items.cheetahs=0}if(items.pythons===NaN){items.pythons=0}if(items.girrafes===NaN){items.girrafes=0}if(items.lions===NaN){items.lions=0} +} +// Fix for undefined +function fix1(){if(items.dogs===undefined){items.dogs=0}if (items.cats === undefined){items.cats = 0}if(items.foxes === undefined){items.foxes = 0}if(items.wolfs === undefined){items.wolfs = 0}if(items.hamsters === undefined){items.hamsters = 0}if(items.whales === undefined){items.whales = 0}if(items.capybaras === undefined){items.capybaras = 0}if(items.lemons === undefined){items.lemons = 0}if(items.lt3 === undefined){items.lt3 = 0}if(items.platapuses===undefined){items.platapuses=0}if(items.porcupines===undefined){items.porcupines=0}if(items.hippos===undefined){items.hippos=0}if(items.snakes===undefined){items.snakes=0}if(items.cheetahs===undefined){items.cheetahs=0}if(items.pythons===undefined){items.pythons=0}if(items.girrafes===undefined){items.girrafes=0}if(items.lions===undefined){items.lions=0}} + +function fix(){ + fix0();fix1(); +}*/ + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + document.getElementById('disclick').innerHTML=`You've got ${items.clicks} clicks, and generating ${cs} c/s!` +} +// Clicks + +// BRB +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.clicks += cs; + update();cash();//fix(); + },1000) +} +cash();//fix(); diff --git a/Version - 34/shop.html b/Version - 34/shop.html new file mode 100644 index 0000000..f8658cd --- /dev/null +++ b/Version - 34/shop.html @@ -0,0 +1,188 @@ + + + + + + + + + BRB - Shop + + + + + + + + + + + +
+ + + +
+ +

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

+

+
+ + +
+ +
+ + +
+

+

+
+ + + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + + +
+ +
+ + +
+

+

+
+
+ + + + + + + \ No newline at end of file diff --git a/Version - 34/shop.js b/Version - 34/shop.js new file mode 100644 index 0000000..77f49bf --- /dev/null +++ b/Version - 34/shop.js @@ -0,0 +1,234 @@ +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; +} +function c(x){ + items.clicks += x; + upload(); +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + + document.getElementById('disclick').innerHTML=`You've got ${items.clicks} clicks, and generating ${cs} c/s!` + document.getElementById('disdog').innerHTML=`You've got ${items.dogs} dogs!` + document.getElementById('discat').innerHTML=`You've got ${items.cats} cats!` + document.getElementById('disfox').innerHTML=`You've got ${items.foxes} foxes!` + document.getElementById('diswol').innerHTML=`You've got ${items.wolfs} wolfs!` + document.getElementById('disham').innerHTML=`You've got ${items.hamsters} hamsters!` + document.getElementById('diswha').innerHTML=`You've got ${items.whales} whales!` + document.getElementById('discap').innerHTML=`You've got ${items.capybaras} capybaras!` + + + + + + document.getElementById('dislem').innerHTML=`You've got ${items.lemons} lemons!` + document.getElementById('dislt3').innerHTML=`You've got ${items.lt3} lemon trees!` + + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280; + + document.getElementById('disdgmake').innerHTML=`They're generating ${items.dogs*1} clicks per second!` + document.getElementById('disctmake').innerHTML=`They're generating ${items.cats*12} clicks per second!` + document.getElementById('disfxmake').innerHTML=`They're generating ${items.foxes*18} clicks per second!` + document.getElementById('diswlmake').innerHTML=`They're generating ${items.wolfs*100} clicks per second!` + document.getElementById('dishmmake').innerHTML=`They're generating ${items.hamsters*130} clicks per second!` + document.getElementById('diswhmake').innerHTML=`They're generating ${items.whales*220} clicks per second!` + document.getElementById('discpmake').innerHTML=`They're generating ${items.capybaras*280} clicks per second!` +} +load(); + +function upload(){ + update(); + load(); +} + +function cash(){ + setTimeout (function money(){ + items.clicks += cs; + upload(); + cash(); + },1000) +} +cash(); + +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); +} +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 buylem(){ + if(items.cats>=10){ + items.cats-=10; + 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(); +} \ No newline at end of file diff --git a/Version - 34/upgr.js b/Version - 34/upgr.js new file mode 100644 index 0000000..c6421ab --- /dev/null +++ b/Version - 34/upgr.js @@ -0,0 +1,31 @@ +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; + + document.getElementById('dislm').innerHTML = `You've got ${items.lemons} lemons!` +} +load() + +function upload(){ + update(); + load(); +} + +function cash(){ + setTimeout (function money(){ + items.clicks += cs; + upload();cash(); + console.log(items.clicks) + },1000) +} +cash(); \ No newline at end of file diff --git a/Version - 34/upgrade.html b/Version - 34/upgrade.html new file mode 100644 index 0000000..0008ec4 --- /dev/null +++ b/Version - 34/upgrade.html @@ -0,0 +1,29 @@ + + + + + + + BRB - Upgrades + + + + + + +
+ + + +
+ +

+
+
+ + + + + \ No newline at end of file diff --git a/Version - 34/upgrades.json b/Version - 34/upgrades.json new file mode 100644 index 0000000..e69de29 diff --git a/Version - 35(cz)/add.txt b/Version - 35(cz)/add.txt new file mode 100644 index 0000000..32ef79f --- /dev/null +++ b/Version - 35(cz)/add.txt @@ -0,0 +1,61 @@ +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 = ≈ 40 000 +1 hippo = ≈ 50 000 +1 snake = ≈ 60 000 +1 cheetah = ≈ 69 000 +1 python = +1 girrafe = 1 000 000 c/s + +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 - 35(cz)/changelog b/Version - 35(cz)/changelog new file mode 100644 index 0000000..2f9acda --- /dev/null +++ b/Version - 35(cz)/changelog @@ -0,0 +1,27 @@ + v31 + undefined and NaN fix for adding new animals + + 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 + + v33 + Added: New UI for shop + + v34 + Added: New Button to Upgrades menu + Shop UI + + Fixed: Finally fixed NaN, Undefined, Null error + + v35 + Added: Platapuses + Better Ui + Now Czech Version + + Fixed: Items not loading propebly \ No newline at end of file diff --git a/Version - 35(cz)/css/brb.css b/Version - 35(cz)/css/brb.css new file mode 100644 index 0000000..c7c8604 --- /dev/null +++ b/Version - 35(cz)/css/brb.css @@ -0,0 +1,101 @@ +body { + font-size: 15pt; + user-select: none; + padding: 0; + margin: 0; +} +#tycoon{ + position: absolute; + width: 100%; + height: 200px; + background: radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#ffffff 70%); +} +#shop{ + position: absolute; + width: 100%; + top: 20%; + text-align: center; + color: #000000; + text-decoration: underline; + transform: translateY(-50%); +} +#cool{ + position: absolute; + top: 98px; + left: 0%; + width: 100%; + height: 25%; + /*background: radial-gradient(#9aff9a,#ffffff);*/ +} +#logclick{ + position: absolute; + width: 100%; + top: 40px; + left: 50%; + text-align: center; + transform: translate(-50%,0); +} +#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; +} + +.reset{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + bottom: 0%; + right: 0%; + background-color: #ff0000; + color: #ffffff; +} +.help{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + bottom: 50px; + right: 0%; + background-color: darkgoldenrod; + color: #ffffff; +} +.Yt{ + position: absolute; + bottom: 0px; + left: 0; +} +.uk{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + border:#000000 solid 1px; + bottom: 45px; + left: 0%; + background-color: darkgoldenrod; + color: #ffffff; +} \ No newline at end of file diff --git a/Version - 35(cz)/css/shop.css b/Version - 35(cz)/css/shop.css new file mode 100644 index 0000000..a2c7da7 --- /dev/null +++ b/Version - 35(cz)/css/shop.css @@ -0,0 +1,98 @@ +*{ + 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; + display: flex; + justify-content: center; + align-items: center; + background-color: var(--color); + width: 200px; + height: 50px; + margin: 1rem auto; + border: 3.69px solid #333333; + border-radius: 69px; +} + +/* By MrEidam */ +.item{ + background-color: papayawhip/*var(--color)*/; + border: 2px solid #333; + top: 5px; + margin: 2rem 10vw 2rem 10vw; + padding: 0.5rem; + border-radius: 6.9px; + display: flex; + flex-direction: column; + justify-content: space-evenly; + align-items: center; +} + +.item img{ + width: 100px; + height: 100px; + margin: 0.5rem; + 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; +} + +/* Clisks */ +#logclick{ + 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; +} + +#imgcli{ + width: 40px; + height: 40px; + margin: 0.1rem; +} +/* By MrEidam */ \ No newline at end of file diff --git a/Version - 35(cz)/css/upgr.css b/Version - 35(cz)/css/upgr.css new file mode 100644 index 0000000..55bb749 --- /dev/null +++ b/Version - 35(cz)/css/upgr.css @@ -0,0 +1,53 @@ +*{ + 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 - 35(cz)/img/Cat.png b/Version - 35(cz)/img/Cat.png new file mode 100644 index 0000000..fe09efd Binary files /dev/null and b/Version - 35(cz)/img/Cat.png differ diff --git a/Version - 35(cz)/img/Click.png b/Version - 35(cz)/img/Click.png new file mode 100644 index 0000000..65d2191 Binary files /dev/null and b/Version - 35(cz)/img/Click.png differ diff --git a/Version - 35(cz)/img/Dog.png b/Version - 35(cz)/img/Dog.png new file mode 100644 index 0000000..ceb9d9e Binary files /dev/null and b/Version - 35(cz)/img/Dog.png differ diff --git a/Version - 35(cz)/img/Flag_of_the_Czech_Republic.svg.png b/Version - 35(cz)/img/Flag_of_the_Czech_Republic.svg.png new file mode 100644 index 0000000..2d58661 Binary files /dev/null and b/Version - 35(cz)/img/Flag_of_the_Czech_Republic.svg.png differ diff --git a/Version - 35(cz)/img/Flag_of_the_United_Kingdom_(1-2).svg.png b/Version - 35(cz)/img/Flag_of_the_United_Kingdom_(1-2).svg.png new file mode 100644 index 0000000..35ec8f1 Binary files /dev/null and b/Version - 35(cz)/img/Flag_of_the_United_Kingdom_(1-2).svg.png differ diff --git a/Version - 35(cz)/img/Fox.png b/Version - 35(cz)/img/Fox.png new file mode 100644 index 0000000..0fc5dee Binary files /dev/null and b/Version - 35(cz)/img/Fox.png differ diff --git a/Version - 35(cz)/img/Hamsta.png b/Version - 35(cz)/img/Hamsta.png new file mode 100644 index 0000000..e2172d1 Binary files /dev/null and b/Version - 35(cz)/img/Hamsta.png differ diff --git a/Version - 35(cz)/img/Lemons.png b/Version - 35(cz)/img/Lemons.png new file mode 100644 index 0000000..2339cf4 Binary files /dev/null and b/Version - 35(cz)/img/Lemons.png differ diff --git a/Version - 35(cz)/img/Lemt3.png b/Version - 35(cz)/img/Lemt3.png new file mode 100644 index 0000000..901fe29 Binary files /dev/null and b/Version - 35(cz)/img/Lemt3.png differ diff --git a/Version - 35(cz)/img/Wolf.png b/Version - 35(cz)/img/Wolf.png new file mode 100644 index 0000000..ec30657 Binary files /dev/null and b/Version - 35(cz)/img/Wolf.png differ diff --git a/Version - 35(cz)/img/YT.png b/Version - 35(cz)/img/YT.png new file mode 100644 index 0000000..dc7bcad Binary files /dev/null and b/Version - 35(cz)/img/YT.png differ diff --git a/Version - 35(cz)/img/capy.png b/Version - 35(cz)/img/capy.png new file mode 100644 index 0000000..84c3532 Binary files /dev/null and b/Version - 35(cz)/img/capy.png differ diff --git a/Version - 35(cz)/img/platapus.png b/Version - 35(cz)/img/platapus.png new file mode 100644 index 0000000..928bbc4 Binary files /dev/null and b/Version - 35(cz)/img/platapus.png differ diff --git a/Version - 35(cz)/img/shop.png b/Version - 35(cz)/img/shop.png new file mode 100644 index 0000000..7dadb79 Binary files /dev/null and b/Version - 35(cz)/img/shop.png differ diff --git a/Version - 35(cz)/img/upgrade-icon-png-12.jpg b/Version - 35(cz)/img/upgrade-icon-png-12.jpg new file mode 100644 index 0000000..4306888 Binary files /dev/null and b/Version - 35(cz)/img/upgrade-icon-png-12.jpg differ diff --git a/Version - 35(cz)/img/wha.png b/Version - 35(cz)/img/wha.png new file mode 100644 index 0000000..b9b3ada Binary files /dev/null and b/Version - 35(cz)/img/wha.png differ diff --git a/Version - 35(cz)/index.html b/Version - 35(cz)/index.html new file mode 100644 index 0000000..d72d057 --- /dev/null +++ b/Version - 35(cz)/index.html @@ -0,0 +1,57 @@ + + + + + + + + BRB - Klikání + + + + + + + + + + + +
+

Klikni na mě aby ses dostal do Obchodu!

+
+ + +
+

+

+ + +
+ + +
+ + +
+ + + +
+ + + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/Version - 35(cz)/main.js b/Version - 35(cz)/main.js new file mode 100644 index 0000000..7f41c6f --- /dev/null +++ b/Version - 35(cz)/main.js @@ -0,0 +1,125 @@ +// Items +let items; +var cs = 0; +let e = 0; +var 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, + + lemons:0, + lt3:0, + } + load(); + update(); + for(let item in items){ + if(!items.item) items.item = 0; + } + cash(); +} + +// Reset +function reset(){ + if(confirm('Vážně chceš všechno resetovat?')){ + if(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, + + lemons:0, + lt3:0, + } + upg = { + mememode: false, + autobuydog: false, + } + } + } +} + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + document.getElementById('disclick').innerHTML=`Právě máš ${items.clicks} kliků a generuješ ${cs} k/s!` +} + +// 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.clicks += cs; + update();cash(); + },1000) +} + +// HELP +function help(){ + e++ + if(e==1){ + alert('Klikni na tlačítko aby si získal \"Kliky\"!'); + alert('Klikni na mě pro více informací...'); + } + if(e==2){ + alert('Po 100 klicích klikni na odkaz nahoře, aby tě vzal do obchodu!'); + alert('Klikni na mě pro více informací. .'); + } + if(e==3){ + alert('V obchodě klikni na koupení psa'); + e=0; + } +} diff --git a/Version - 35(cz)/shop.html b/Version - 35(cz)/shop.html new file mode 100644 index 0000000..1d7c6db --- /dev/null +++ b/Version - 35(cz)/shop.html @@ -0,0 +1,205 @@ + + + + + + + + + BRB - Obchod + + + + + + + + + + + +
+ + + +
+ +

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

+

+
+ + +
+ +
+ + +
+

+

+
+ + + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

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

+

+
+ + +
+ +
+ + +
+

+

+
+
+ + + + + + \ No newline at end of file diff --git a/Version - 35(cz)/shop.js b/Version - 35(cz)/shop.js new file mode 100644 index 0000000..750fc17 --- /dev/null +++ b/Version - 35(cz)/shop.js @@ -0,0 +1,264 @@ +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; +} +function c(x){ + items.clicks += x; + console.log(x + ' clicks added!'); + upload(); +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + + document.getElementById('disclick').innerHTML=`Právě máš ${items.clicks} kliků a děláš ${cs} k/s!` + document.getElementById('disdog').innerHTML=`Právě máš ${items.dogs} psů!` + document.getElementById('discat').innerHTML=`Právě máš ${items.cats} koček!` + document.getElementById('disfox').innerHTML=`Právě máš ${items.foxes} lišek!` + document.getElementById('diswol').innerHTML=`Právě máš ${items.wolfs} vlků!` + document.getElementById('disham').innerHTML=`Právě máš ${items.hamsters} křečků!` + document.getElementById('diswha').innerHTML=`Právě máš ${items.whales} velryb!` + document.getElementById('discap').innerHTML=`Právě máš ${items.capybaras} kapybar!` + document.getElementById('displa').innerHTML=`Právě máš ${items.platapuses} plakopysků!` + + + + + document.getElementById('dislem').innerHTML=`Právě máš ${items.lemons} citrónů!` + document.getElementById('dislt3').innerHTML=`Právě máš ${items.lt3} citronovníků!` + + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280; + + document.getElementById('disdgmake').innerHTML=`Generují ${items.dogs*1} kliků za sekundu!` + document.getElementById('disctmake').innerHTML=`Generují ${items.cats*12} kliků za sekundu!` + document.getElementById('disfxmake').innerHTML=`Generují ${items.foxes*18} kliků za sekundu!` + document.getElementById('diswlmake').innerHTML=`Generují ${items.wolfs*100} kliků za sekundu!` + document.getElementById('dishmmake').innerHTML=`Generují ${items.hamsters*130} kliků za sekundu!` + document.getElementById('diswhmake').innerHTML=`Generují ${items.whales*220} kliků za sekundu!` + document.getElementById('discpmake').innerHTML=`Generují ${items.capybaras*280} kliků za sekundu!` + document.getElementById('displmake').innerHTML=`Generují ${items.platapuses*400} kliků za sekundu!` +} +load(); + +function upload(){ + update(); + load(); +} + +function cash(){ + setTimeout (function money(){ + items.clicks += cs; + upload(); + cash(); + },1000) +} +cash(); + +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); +} +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 buylem(){ + if(items.cats>=10){ + items.cats-=10; + 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(); +} \ No newline at end of file diff --git a/Version - 35(cz)/upgr.js b/Version - 35(cz)/upgr.js new file mode 100644 index 0000000..6650fea --- /dev/null +++ b/Version - 35(cz)/upgr.js @@ -0,0 +1,44 @@ +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; + + document.getElementById('dislm').innerHTML = `Právě máš ${items.lemons} citrónů!` +} + +function upload(){ + update(); + load(); +} + +function cash(){ + setTimeout (function money(){ + items.clicks += cs; + upload();cash(); + if(upg.autobuydog === true){ + items.clicks -= Math.floor(items.clicks / 100) * 100 + items.dogs += Math.floor(items.clicks / 100) + upload(); + } + },1000) +} + + +window.onload = function(){ + load();cash(); +} \ No newline at end of file diff --git a/Version - 35(cz)/upgrade.html b/Version - 35(cz)/upgrade.html new file mode 100644 index 0000000..5593527 --- /dev/null +++ b/Version - 35(cz)/upgrade.html @@ -0,0 +1,37 @@ + + + + + + + + + BRB - Upgrades + + + + + + + +
+ + + +
+ +

+
+
+ + + + + \ No newline at end of file diff --git a/Version - 35(cz)/upgrades.json b/Version - 35(cz)/upgrades.json new file mode 100644 index 0000000..e69de29 diff --git a/Version - 35/add.txt b/Version - 35/add.txt new file mode 100644 index 0000000..32ef79f --- /dev/null +++ b/Version - 35/add.txt @@ -0,0 +1,61 @@ +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 = ≈ 40 000 +1 hippo = ≈ 50 000 +1 snake = ≈ 60 000 +1 cheetah = ≈ 69 000 +1 python = +1 girrafe = 1 000 000 c/s + +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 - 35/changelog b/Version - 35/changelog new file mode 100644 index 0000000..2f9acda --- /dev/null +++ b/Version - 35/changelog @@ -0,0 +1,27 @@ + v31 + undefined and NaN fix for adding new animals + + 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 + + v33 + Added: New UI for shop + + v34 + Added: New Button to Upgrades menu + Shop UI + + Fixed: Finally fixed NaN, Undefined, Null error + + v35 + Added: Platapuses + Better Ui + Now Czech Version + + Fixed: Items not loading propebly \ No newline at end of file diff --git a/Version - 35/css/brb.css b/Version - 35/css/brb.css new file mode 100644 index 0000000..f110834 --- /dev/null +++ b/Version - 35/css/brb.css @@ -0,0 +1,101 @@ +body { + font-size: 15pt; + user-select: none; + padding: 0; + margin: 0; +} +#tycoon{ + position: absolute; + width: 100%; + height: 200px; + background: radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#ffffff 70%); +} +#shop{ + position: absolute; + width: 100%; + top: 20%; + text-align: center; + color: #000000; + text-decoration: underline; + transform: translateY(-50%); +} +#cool{ + position: absolute; + top: 98px; + left: 0%; + width: 100%; + height: 25%; + /*background: radial-gradient(#9aff9a,#ffffff);*/ +} +#logclick{ + position: absolute; + width: 100%; + top: 40px; + left: 50%; + text-align: center; + transform: translate(-50%,0); +} +#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; +} + +.reset{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + bottom: 0%; + right: 0%; + background-color: #ff0000; + color: #ffffff; +} +.help{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + bottom: 50px; + right: 0%; + background-color: darkgoldenrod; + color: #ffffff; +} +.Yt{ + position: absolute; + bottom: 0px; + left: 0; +} +.cz{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + border:#000000 solid 1px; + bottom: 45px; + left: 0%; + background-color: darkgoldenrod; + color: #ffffff; +} \ No newline at end of file diff --git a/Version - 35/css/shop.css b/Version - 35/css/shop.css new file mode 100644 index 0000000..a2c7da7 --- /dev/null +++ b/Version - 35/css/shop.css @@ -0,0 +1,98 @@ +*{ + 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; + display: flex; + justify-content: center; + align-items: center; + background-color: var(--color); + width: 200px; + height: 50px; + margin: 1rem auto; + border: 3.69px solid #333333; + border-radius: 69px; +} + +/* By MrEidam */ +.item{ + background-color: papayawhip/*var(--color)*/; + border: 2px solid #333; + top: 5px; + margin: 2rem 10vw 2rem 10vw; + padding: 0.5rem; + border-radius: 6.9px; + display: flex; + flex-direction: column; + justify-content: space-evenly; + align-items: center; +} + +.item img{ + width: 100px; + height: 100px; + margin: 0.5rem; + 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; +} + +/* Clisks */ +#logclick{ + 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; +} + +#imgcli{ + width: 40px; + height: 40px; + margin: 0.1rem; +} +/* By MrEidam */ \ No newline at end of file diff --git a/Version - 35/css/upgr.css b/Version - 35/css/upgr.css new file mode 100644 index 0000000..55bb749 --- /dev/null +++ b/Version - 35/css/upgr.css @@ -0,0 +1,53 @@ +*{ + 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 - 35/img/Cat.png b/Version - 35/img/Cat.png new file mode 100644 index 0000000..fe09efd Binary files /dev/null and b/Version - 35/img/Cat.png differ diff --git a/Version - 35/img/Click.png b/Version - 35/img/Click.png new file mode 100644 index 0000000..65d2191 Binary files /dev/null and b/Version - 35/img/Click.png differ diff --git a/Version - 35/img/Dog.png b/Version - 35/img/Dog.png new file mode 100644 index 0000000..ceb9d9e Binary files /dev/null and b/Version - 35/img/Dog.png differ diff --git a/Version - 35/img/Flag_of_the_Czech_Republic.svg.png b/Version - 35/img/Flag_of_the_Czech_Republic.svg.png new file mode 100644 index 0000000..2d58661 Binary files /dev/null and b/Version - 35/img/Flag_of_the_Czech_Republic.svg.png differ diff --git a/Version - 35/img/Fox.png b/Version - 35/img/Fox.png new file mode 100644 index 0000000..0fc5dee Binary files /dev/null and b/Version - 35/img/Fox.png differ diff --git a/Version - 35/img/Hamsta.png b/Version - 35/img/Hamsta.png new file mode 100644 index 0000000..e2172d1 Binary files /dev/null and b/Version - 35/img/Hamsta.png differ diff --git a/Version - 35/img/Lemons.png b/Version - 35/img/Lemons.png new file mode 100644 index 0000000..2339cf4 Binary files /dev/null and b/Version - 35/img/Lemons.png differ diff --git a/Version - 35/img/Lemt3.png b/Version - 35/img/Lemt3.png new file mode 100644 index 0000000..901fe29 Binary files /dev/null and b/Version - 35/img/Lemt3.png differ diff --git a/Version - 35/img/Wolf.png b/Version - 35/img/Wolf.png new file mode 100644 index 0000000..ec30657 Binary files /dev/null and b/Version - 35/img/Wolf.png differ diff --git a/Version - 35/img/YT.png b/Version - 35/img/YT.png new file mode 100644 index 0000000..dc7bcad Binary files /dev/null and b/Version - 35/img/YT.png differ diff --git a/Version - 35/img/capy.png b/Version - 35/img/capy.png new file mode 100644 index 0000000..84c3532 Binary files /dev/null and b/Version - 35/img/capy.png differ diff --git a/Version - 35/img/platapus.png b/Version - 35/img/platapus.png new file mode 100644 index 0000000..928bbc4 Binary files /dev/null and b/Version - 35/img/platapus.png differ diff --git a/Version - 35/img/shop.png b/Version - 35/img/shop.png new file mode 100644 index 0000000..7dadb79 Binary files /dev/null and b/Version - 35/img/shop.png differ diff --git a/Version - 35/img/upgrade-icon-png-12.jpg b/Version - 35/img/upgrade-icon-png-12.jpg new file mode 100644 index 0000000..4306888 Binary files /dev/null and b/Version - 35/img/upgrade-icon-png-12.jpg differ diff --git a/Version - 35/img/wha.png b/Version - 35/img/wha.png new file mode 100644 index 0000000..b9b3ada Binary files /dev/null and b/Version - 35/img/wha.png differ diff --git a/Version - 35/index.html b/Version - 35/index.html new file mode 100644 index 0000000..370b4af --- /dev/null +++ b/Version - 35/index.html @@ -0,0 +1,57 @@ + + + + + + + + BRB - Clicking + + + + + + + + + + + +
+

Click me to get to the Shop!

+
+ + +
+

+

+ + +
+ + +
+ + +
+ + + +
+ + + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/Version - 35/main.js b/Version - 35/main.js new file mode 100644 index 0000000..3912863 --- /dev/null +++ b/Version - 35/main.js @@ -0,0 +1,125 @@ +// Items +let items; +var cs = 0; +let e = 0; +var 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, + + lemons:0, + lt3:0, + } + load(); + update(); + for(let item in items){ + if(!items.item) items.item = 0; + } + cash(); +} + +// Reset +function reset(){ + if(confirm('Do you really want to reset everything?')){ + if(confirm('Are you sure?')){ + alert('Everyting 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, + + lemons:0, + lt3:0, + } + upg = { + mememode: false, + autobuydog: false, + } + } + } +} + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + document.getElementById('disclick').innerHTML=`You've got ${items.clicks} clicks, and generating ${cs} c/s!` +} + +// 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.clicks += cs; + update();cash(); + },1000) +} + +// HELP +function help(){ + e++ + if(e==1){ + alert('Click the button to earn clicks!'); + alert('Click on me for more...'); + } + if(e==2){ + alert('After 100 clicks, click the link above to take you to the shop!'); + alert('Click on me for more. .'); + } + if(e==3){ + alert('In the shop click on the buy dog button to buy a dog'); + e=0; + } +} diff --git a/Version - 35/shop.html b/Version - 35/shop.html new file mode 100644 index 0000000..d747f3b --- /dev/null +++ b/Version - 35/shop.html @@ -0,0 +1,205 @@ + + + + + + + + + BRB - Shop + + + + + + + + + + + +
+ + + +
+ +

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

+

+
+ + +
+ +
+ + +
+

+

+
+ + + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

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

+

+
+ + +
+ +
+ + +
+

+

+
+
+ + + + + + \ No newline at end of file diff --git a/Version - 35/shop.js b/Version - 35/shop.js new file mode 100644 index 0000000..0be163e --- /dev/null +++ b/Version - 35/shop.js @@ -0,0 +1,264 @@ +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; +} +function c(x){ + items.clicks += x; + console.log(x + ' clicks added!'); + upload(); +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + + document.getElementById('disclick').innerHTML=`You've got ${items.clicks} clicks, and making ${cs} c/s!` + document.getElementById('disdog').innerHTML=`You've got ${items.dogs} dogs!` + document.getElementById('discat').innerHTML=`You've got ${items.cats} cats!` + document.getElementById('disfox').innerHTML=`You've got ${items.foxes} foxes!` + document.getElementById('diswol').innerHTML=`You've got ${items.wolfs} wolfs!` + document.getElementById('disham').innerHTML=`You've got ${items.hamsters} hamsters!` + document.getElementById('diswha').innerHTML=`You've got ${items.whales} whales!` + document.getElementById('discap').innerHTML=`You've got ${items.capybaras} capybaras!` + document.getElementById('displa').innerHTML=`You've got ${items.platapuses} platypuses!` + + + + + document.getElementById('dislem').innerHTML=`You've got ${items.lemons} lemons!` + document.getElementById('dislt3').innerHTML=`You've got ${items.lt3} lemon trees!` + + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280; + + document.getElementById('disdgmake').innerHTML=`They're generating ${items.dogs*1} clicks per second!` + document.getElementById('disctmake').innerHTML=`They're generating ${items.cats*12} clicks per second!` + document.getElementById('disfxmake').innerHTML=`They're generating ${items.foxes*18} clicks per second!` + document.getElementById('diswlmake').innerHTML=`They're generating ${items.wolfs*100} clicks per second!` + document.getElementById('dishmmake').innerHTML=`They're generating ${items.hamsters*130} clicks per second!` + document.getElementById('diswhmake').innerHTML=`They're generating ${items.whales*220} clicks per second!` + document.getElementById('discpmake').innerHTML=`They're generating ${items.capybaras*280} clicks per second!` + document.getElementById('displmake').innerHTML=`They're generating ${items.platapuses*400} clicks per second!` +} +load(); + +function upload(){ + update(); + load(); +} + +function cash(){ + setTimeout (function money(){ + items.clicks += cs; + upload(); + cash(); + },1000) +} +cash(); + +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); +} +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 buylem(){ + if(items.cats>=10){ + items.cats-=10; + 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(); +} \ No newline at end of file diff --git a/Version - 35/upgr.js b/Version - 35/upgr.js new file mode 100644 index 0000000..db64c7c --- /dev/null +++ b/Version - 35/upgr.js @@ -0,0 +1,44 @@ +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; + + document.getElementById('dislm').innerHTML = `You've got ${items.lemons} lemons!` +} + +function upload(){ + update(); + load(); +} + +function cash(){ + setTimeout (function money(){ + items.clicks += cs; + upload();cash(); + if(upg.autobuydog === true){ + items.clicks -= Math.floor(items.clicks / 100) * 100 + items.dogs += Math.floor(items.clicks / 100) + upload(); + } + },1000) +} + + +window.onload = function(){ + load();cash(); +} \ No newline at end of file diff --git a/Version - 35/upgrade.html b/Version - 35/upgrade.html new file mode 100644 index 0000000..30a585e --- /dev/null +++ b/Version - 35/upgrade.html @@ -0,0 +1,37 @@ + + + + + + + + + BRB - Upgrades + + + + + + + +
+ + + +
+ +

+
+
+ + + + + \ No newline at end of file diff --git a/Version - 35/upgrades.json b/Version - 35/upgrades.json new file mode 100644 index 0000000..e69de29 diff --git a/Version - 36/add.txt b/Version - 36/add.txt new file mode 100644 index 0000000..32ef79f --- /dev/null +++ b/Version - 36/add.txt @@ -0,0 +1,61 @@ +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 = ≈ 40 000 +1 hippo = ≈ 50 000 +1 snake = ≈ 60 000 +1 cheetah = ≈ 69 000 +1 python = +1 girrafe = 1 000 000 c/s + +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 - 36/changelog b/Version - 36/changelog new file mode 100644 index 0000000..d29eb68 --- /dev/null +++ b/Version - 36/changelog @@ -0,0 +1,33 @@ + v31 + undefined and NaN fix for adding new animals + + 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 + + v33 + Added: New UI for shop + + v34 + Added: New Button to Upgrades menu + Shop UI + + Fixed: Finally fixed NaN, Undefined, Null error + + v35 + Added: Platapuses + Better Ui + Now Czech Version + + Fixed: Items not loading propebly + + v36 + Added: Better Czech version + Buy Option - Clicks for Cats + + Fixed: BRB now still \ No newline at end of file diff --git a/Version - 36/css/brb.css b/Version - 36/css/brb.css new file mode 100644 index 0000000..a340f9c --- /dev/null +++ b/Version - 36/css/brb.css @@ -0,0 +1,103 @@ +body { + font-size: 15pt; + user-select: none; + padding: 0; + margin: 0; + background-color: #fff; +} +#tycoon{ + position: absolute; + width: 100%; + height: 200px; + background: radial-gradient(125% 100% at 50% 0%,#9aff9a 20%,#fff 70%); +} +#shop{ + position: absolute; + width: 100%; + top: 20%; + text-align: center; + color: #000000; + text-decoration: underline; + transform: translateY(-50%); +} +#cool{ + position: absolute; + top: 98px; + left: 0%; + width: 100%; + height: 25%; + /*background: radial-gradient(#9aff9a,#fff);*/ +} +#logclick{ + position: absolute; + width: 100%; + top: 40px; + left: 50%; + text-align: center; + transform: translate(-50%,0); +} +#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; +} + +.reset{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + bottom: 5px; + right: 5px; + background-color: #f00; + color: #fff; +} +.help{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + bottom: 60px; + right: 5px; + background-color: darkgoldenrod; + color: #fff; +} +.Yt{ + position: absolute; + bottom: 0px; + margin: 0.5rem; + left: 0; +} +.cz{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + border:#000 solid 1px; + bottom: 50px; + left: 0%; + margin: 0.5rem; + color: #000; +} \ No newline at end of file diff --git a/Version - 36/css/shop.css b/Version - 36/css/shop.css new file mode 100644 index 0000000..248161a --- /dev/null +++ b/Version - 36/css/shop.css @@ -0,0 +1,108 @@ +*{ + 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; + display: flex; + justify-content: center; + align-items: center; + background-color: var(--color); + width: 200px; + height: 50px; + margin: 1rem auto; + border: 3.69px solid #333333; + border-radius: 69px; +} + +/* By MrEidam */ +.item{ + background-color: papayawhip/*var(--color)*/; + border: 2px solid #333; + top: 5px; + margin: 2rem 10vw 2rem 10vw; + padding: 1rem; + border-radius: 6.9px; + display: flex; + flex-direction: column; + justify-content: space-evenly; + align-items: center; +} + +.item img{ + width: 100px; + height: 100px; + margin: 0.5rem; + 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; +} + +/* Clisks */ +#logclick{ + 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; +} + +#imgcli{ + width: 40px; + height: 40px; + margin: 0.1rem; +} +/* By MrEidam */ + +.clickbtn{ + display: flex; + justify-content: space-around; +} +.clickbtn button{ + background-color: var(--Bcolor); + border-radius: 8px; + margin: 0 1rem 0.5rem 1rem; +} \ No newline at end of file diff --git a/Version - 36/css/upgr.css b/Version - 36/css/upgr.css new file mode 100644 index 0000000..55bb749 --- /dev/null +++ b/Version - 36/css/upgr.css @@ -0,0 +1,53 @@ +*{ + 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 - 36/img/Cat.png b/Version - 36/img/Cat.png new file mode 100644 index 0000000..fe09efd Binary files /dev/null and b/Version - 36/img/Cat.png differ diff --git a/Version - 36/img/Click.png b/Version - 36/img/Click.png new file mode 100644 index 0000000..65d2191 Binary files /dev/null and b/Version - 36/img/Click.png differ diff --git a/Version - 36/img/Dog.png b/Version - 36/img/Dog.png new file mode 100644 index 0000000..ceb9d9e Binary files /dev/null and b/Version - 36/img/Dog.png differ diff --git a/Version - 36/img/Fox.png b/Version - 36/img/Fox.png new file mode 100644 index 0000000..0fc5dee Binary files /dev/null and b/Version - 36/img/Fox.png differ diff --git a/Version - 36/img/Hamsta.png b/Version - 36/img/Hamsta.png new file mode 100644 index 0000000..e2172d1 Binary files /dev/null and b/Version - 36/img/Hamsta.png differ diff --git a/Version - 36/img/Lemons.png b/Version - 36/img/Lemons.png new file mode 100644 index 0000000..2339cf4 Binary files /dev/null and b/Version - 36/img/Lemons.png differ diff --git a/Version - 36/img/Lemt3.png b/Version - 36/img/Lemt3.png new file mode 100644 index 0000000..901fe29 Binary files /dev/null and b/Version - 36/img/Lemt3.png differ diff --git a/Version - 36/img/Wolf.png b/Version - 36/img/Wolf.png new file mode 100644 index 0000000..ec30657 Binary files /dev/null and b/Version - 36/img/Wolf.png differ diff --git a/Version - 36/img/YT.png b/Version - 36/img/YT.png new file mode 100644 index 0000000..dc7bcad Binary files /dev/null and b/Version - 36/img/YT.png differ diff --git a/Version - 36/img/brb-pressed.png b/Version - 36/img/brb-pressed.png new file mode 100644 index 0000000..71f01ab Binary files /dev/null and b/Version - 36/img/brb-pressed.png differ diff --git a/Version - 36/img/brb-still.png b/Version - 36/img/brb-still.png new file mode 100644 index 0000000..ad1141d Binary files /dev/null and b/Version - 36/img/brb-still.png differ diff --git a/Version - 36/img/capy.png b/Version - 36/img/capy.png new file mode 100644 index 0000000..84c3532 Binary files /dev/null and b/Version - 36/img/capy.png differ diff --git a/Version - 36/img/fg-cz.png b/Version - 36/img/fg-cz.png new file mode 100644 index 0000000..2d58661 Binary files /dev/null and b/Version - 36/img/fg-cz.png differ diff --git a/Version - 36/img/fg-uk.png b/Version - 36/img/fg-uk.png new file mode 100644 index 0000000..35ec8f1 Binary files /dev/null and b/Version - 36/img/fg-uk.png differ diff --git a/Version - 36/img/platapus.png b/Version - 36/img/platapus.png new file mode 100644 index 0000000..928bbc4 Binary files /dev/null and b/Version - 36/img/platapus.png differ diff --git a/Version - 36/img/shop.png b/Version - 36/img/shop.png new file mode 100644 index 0000000..7dadb79 Binary files /dev/null and b/Version - 36/img/shop.png differ diff --git a/Version - 36/img/upgrade-icon-png-12.jpg b/Version - 36/img/upgrade-icon-png-12.jpg new file mode 100644 index 0000000..4306888 Binary files /dev/null and b/Version - 36/img/upgrade-icon-png-12.jpg differ diff --git a/Version - 36/img/wha.png b/Version - 36/img/wha.png new file mode 100644 index 0000000..b9b3ada Binary files /dev/null and b/Version - 36/img/wha.png differ diff --git a/Version - 36/index.html b/Version - 36/index.html new file mode 100644 index 0000000..edce0f3 --- /dev/null +++ b/Version - 36/index.html @@ -0,0 +1,58 @@ + + + + + + + + BRB - Clicking + + + + + + + + + + + +
+

Click me to get to the Shop!

+
+ + +
+

+

+ + +
+ + +
+ + +
+ + + +
+ + + Error 404 + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/Version - 36/main.js b/Version - 36/main.js new file mode 100644 index 0000000..2077415 --- /dev/null +++ b/Version - 36/main.js @@ -0,0 +1,202 @@ +// Items +let items; +var cs = 0; +let e = 0; +var anime = false; +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, + + lemons:0, + lt3:0, + lang:0, + } + load(); + update(); + for(let item in items){ + if(!items.item) items.item = 0; + } + cash(); + checklang() +} + +// Reset +function reset(){ + if(items.lang == 1){ + if(confirm('Do you really want to reset everything?')){ + if(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, + lang:items.lang, + + lemons:0, + lt3:0, + } + } + } + } + if(items.lang == 0){ + if(confirm('Vážně chceš všechno resetovat?')){ + if(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, + lang:items.lang, + + lemons:0, + lt3:0, + } + } + } + } +} + +// Update +function update(){ + let i = JSON.stringify(items); + localStorage.setItem('items', i); + if(items.lang == 0){ + document.getElementById('disclick').innerHTML=`You've got ${items.clicks} clicks, and generating ${cs} c/s!` + flag.src = './img/fg-cz.png' + } + if(items.lang == 1){ + document.getElementById('disclick').innerHTML=`Právě máš ${items.clicks} kliků a generuješ ${cs} k/s!` + flag.src = './img/fg-uk.png' + } + 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.clicks += cs; + update();cash(); + },1000) +} + +// HELP +function help(){ + e++ + if(e==1){ + alert('Click the button to earn clicks!'); + alert('Click on me for more...'); + } + if(e==2){ + alert('After 100 clicks, click the link above to take you to the shop!'); + alert('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); + del.innerHTML = 'RESET' + sos.innerHTML = 'POMOC' + shop.innerHTML = 'Klikni na mě aby ses dostal do Obchodu!' + document.getElementById('disclick').innerHTML=`Právě máš ${items.clicks} kliků a generuješ ${cs} k/s!` + + }else if(items.lang == 1){ /* UK */ + items.lang = 0; + console.log(items.lang); + del.innerHTML = 'RESET' + sos.innerHTML = 'HELP' + shop.innerHTML = 'Click me to get to the Shop!' + document.getElementById('disclick').innerHTML=`You've got ${items.clicks} clicks, and generating ${cs} c/s!` + + } +} + +function checklang(){ + if(items.lang == 0){ /* CZ */ + del.innerHTML = 'RESET' + sos.innerHTML = 'POMOC' + shop.innerHTML = 'Klikni na mě aby ses dostal do Obchodu!' + document.getElementById('disclick').innerHTML=`Právě máš ${items.clicks} kliků a generuješ ${cs} k/s!` + + }else if(items.lang == 1){ /* UK */ + del.innerHTML = 'RESET' + sos.innerHTML = 'HELP' + shop.innerHTML = 'Click me to get to the Shop!' + document.getElementById('disclick').innerHTML=`You've got ${items.clicks} clicks, and generating ${cs} c/s!` + + } +} diff --git a/Version - 36/shop.html b/Version - 36/shop.html new file mode 100644 index 0000000..be62146 --- /dev/null +++ b/Version - 36/shop.html @@ -0,0 +1,214 @@ + + + + + + + + + BRB - Shop + + + + + + + + + + + +
+ + + +
+ +

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

+

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

+

+
+ + + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

+
+ + +
+ +
+ + +
+

+

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

+

+
+ + +
+ +
+ + +
+

+

+
+
+ + + + + + \ No newline at end of file diff --git a/Version - 36/shop.js b/Version - 36/shop.js new file mode 100644 index 0000000..ddd2c37 --- /dev/null +++ b/Version - 36/shop.js @@ -0,0 +1,383 @@ +let cs +let brb = document.getElementById('brb') +let upg = document.getElementById('upg') +let dg1 = document.getElementById('dg1') +let ct1 = document.getElementById('ct1') +let fx1 = document.getElementById('fx1') +let wl1 = document.getElementById('wl1') +let hm1 = document.getElementById('hm1') +let wh1 = document.getElementById('wh1') +let cp1 = document.getElementById('cp1') +let pl1 = document.getElementById('pl1') +let lm1 = document.getElementById('lm1') +let lt1 = document.getElementById('lt1') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +// 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; +} +function c(x){ + items.clicks += x; + console.log(x + ' clicks added!'); + upload(); +} + +// Load +function load(){ + items = JSON.parse(localStorage.getItem('items')); + if(items.lang == 1){ + document.getElementById('disclick').innerHTML=`You've got ${fornum(items.clicks)} clicks, and making ${fornum(cs)} c/s!` + document.getElementById('disdog').innerHTML=`You've got ${fornum(items.dogs)} dogs!` + document.getElementById('discat').innerHTML=`You've got ${fornum(items.cats)} cats!` + document.getElementById('disfox').innerHTML=`You've got ${fornum(items.foxes)} foxes!` + document.getElementById('diswol').innerHTML=`You've got ${fornum(items.wolfs)} wolfs!` + document.getElementById('disham').innerHTML=`You've got ${fornum(items.hamsters)} hamsters!` + document.getElementById('diswha').innerHTML=`You've got ${fornum(items.whales)} whales!` + document.getElementById('discap').innerHTML=`You've got ${fornum(items.capybaras)} capybaras!` + document.getElementById('displa').innerHTML=`You've got ${fornum(items.platapuses)} platypuses!` + + + + + document.getElementById('dislem').innerHTML=`You've got ${fornum(items.lemons)} lemons!` + document.getElementById('dislt3').innerHTML=`You've got ${fornum(items.lt3)} lemon trees!` + + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280; + + document.getElementById('disdgmake').innerHTML=`They're generating ${fornum(items.dogs*1)} clicks per second!` + document.getElementById('disctmake').innerHTML=`They're generating ${fornum(items.cats*12)} clicks per second!` + document.getElementById('disfxmake').innerHTML=`They're generating ${fornum(items.foxes*18)} clicks per second!` + document.getElementById('diswlmake').innerHTML=`They're generating ${fornum(items.wolfs*100)} clicks per second!` + document.getElementById('dishmmake').innerHTML=`They're generating ${fornum(items.hamsters*130)} clicks per second!` + document.getElementById('diswhmake').innerHTML=`They're generating ${fornum(items.whales*220)} clicks per second!` + document.getElementById('discpmake').innerHTML=`They're generating ${fornum(items.capybaras*280)} clicks per second!` + document.getElementById('displmake').innerHTML=`They're generating ${fornum(items.platapuses*400)} clicks per second!` + + brb.innerHTML = 'Go to BRB!' + upg.innerHTML = 'Go to Upgrades!' + 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 Cappybarra for 1 whale and 4 cats' + pl1.innerHTML = 'Buy a Platypus for 1 cappybarra and 1 wolf' + lm1.innerHTML = 'Buy a Lemon for some cats' + lt1.innerHTML = 'Buy a Lemon Tree for 5 lemons' + } + if(items.lang == 0){ + document.getElementById('disclick').innerHTML=`Právě máš ${items.clicks} kliků a děláš ${cs} k/s!` + document.getElementById('disdog').innerHTML=`Právě máš ${items.dogs} psů!` + document.getElementById('discat').innerHTML=`Právě máš ${items.cats} koček!` + document.getElementById('disfox').innerHTML=`Právě máš ${items.foxes} lišek!` + document.getElementById('diswol').innerHTML=`Právě máš ${items.wolfs} vlků!` + document.getElementById('disham').innerHTML=`Právě máš ${items.hamsters} křečků!` + document.getElementById('diswha').innerHTML=`Právě máš ${items.whales} velryb!` + document.getElementById('discap').innerHTML=`Právě máš ${items.capybaras} kapybar!` + document.getElementById('displa').innerHTML=`Právě máš ${items.platapuses} plakopysků!` + + + + + document.getElementById('dislem').innerHTML=`Právě máš ${items.lemons} citrónů!` + document.getElementById('dislt3').innerHTML=`Právě máš ${items.lt3} citronovníků!` + + cs = items.dogs + items.cats*12 + items.foxes*18 + items.wolfs*100 + items.hamsters*130 + items.whales*220 + items.capybaras*280; + + document.getElementById('disdgmake').innerHTML=`Generují ${items.dogs*1} kliků za sekundu!` + document.getElementById('disctmake').innerHTML=`Generují ${items.cats*12} kliků za sekundu!` + document.getElementById('disfxmake').innerHTML=`Generují ${items.foxes*18} kliků za sekundu!` + document.getElementById('diswlmake').innerHTML=`Generují ${items.wolfs*100} kliků za sekundu!` + document.getElementById('dishmmake').innerHTML=`Generují ${items.hamsters*130} kliků za sekundu!` + document.getElementById('diswhmake').innerHTML=`Generují ${items.whales*220} kliků za sekundu!` + document.getElementById('discpmake').innerHTML=`Generují ${items.capybaras*280} kliků za sekundu!` + document.getElementById('displmake').innerHTML=`Generují ${items.platapuses*400} kliků za sekundu!` + + brb.innerHTML = 'B.R.B.' + upg.innerHTML = 'Vylepšení' + 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 1 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' + lm1.innerHTML = 'Kup Citrón za pár koček' + lt1.innerHTML = 'Kup Citrónovník za 5 citrónů' + } +} +load(); + +function upload(){ + update(); + load(); +} + +function cash(){ + setTimeout (function money(){ + items.clicks += cs; + upload(); + cash(); + },1000) +} +cash(); + +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); +} +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 buylem(){ + if(items.cats>=10){ + items.cats-=10; + 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 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']; + + // 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.round(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(); +} \ No newline at end of file diff --git a/Version - 36/upgr.js b/Version - 36/upgr.js new file mode 100644 index 0000000..cb88d93 --- /dev/null +++ b/Version - 36/upgr.js @@ -0,0 +1,44 @@ +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; + + document.getElementById('dislm').innerHTML = `You've got ${items.lemons} lemons!` +} + +function upload(){ + update(); + load(); +} + +function cash(){ + setTimeout (function money(){ + items.clicks += cs; + upload();cash(); + if(upg.autobuydog === true){ + items.clicks -= Math.floor(items.clicks / 100) * 100 + items.dogs += Math.floor(items.clicks / 100) + upload(); + } + },1000) +} + + +window.onload = function(){ + load();cash(); +} \ No newline at end of file diff --git a/Version - 36/upgrade.html b/Version - 36/upgrade.html new file mode 100644 index 0000000..30a585e --- /dev/null +++ b/Version - 36/upgrade.html @@ -0,0 +1,37 @@ + + + + + + + + + BRB - Upgrades + + + + + + + +
+ + + +
+ +

+
+
+ + + + + \ No newline at end of file diff --git a/Version - 36/upgrades.json b/Version - 36/upgrades.json new file mode 100644 index 0000000..e69de29 diff --git a/Version - 37/add.txt b/Version - 37/add.txt new file mode 100644 index 0000000..f3dffed --- /dev/null +++ b/Version - 37/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 hamters +1 snake = ≈ 60 000 +1 cheetah = ≈ 69 000 +1 python = +1 girrafe = 1 000 000 c/s +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 - 37/changelog b/Version - 37/changelog new file mode 100644 index 0000000..5b84a72 --- /dev/null +++ b/Version - 37/changelog @@ -0,0 +1,56 @@ + + 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) + 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 - 37/css/brb.css b/Version - 37/css/brb.css new file mode 100644 index 0000000..4359c41 --- /dev/null +++ b/Version - 37/css/brb.css @@ -0,0 +1,111 @@ +body { + font-size: 15pt; + user-select: none; + padding: 0; + margin: 0; + background-color: #fff; +} +#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%); +} +#shop{ + position: absolute; + width: 100%; + top: 20%; + text-align: center; + color: #000000; + text-decoration: underline; + transform: translateY(-50%); +} +#cool{ + position: absolute; + top: 98px; + left: 0%; + width: 100%; + height: 25%; + /*background: radial-gradient(#9aff9a,#fff);*/ +} +#logclick{ + position: absolute; + width: 100%; + top: 40px; + left: 50%; + text-align: center; + transform: translate(-50%,0); +} +#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; +} + +.reset{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + bottom: 5px; + right: 5px; + background-color: #f00; + color: #fff; +} +.help{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + bottom: 60px; + right: 5px; + background-color: darkgoldenrod; + color: #fff; +} +.Yt{ + position: absolute; + bottom: 0px; + margin: 0.5rem; + left: 0; +} +.cz{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + border:#000 solid 1px; + bottom: 50px; + left: 0%; + margin: 0.5rem; + color: #000; +} \ No newline at end of file diff --git a/Version - 37/css/shop.css b/Version - 37/css/shop.css new file mode 100644 index 0000000..5791f4f --- /dev/null +++ b/Version - 37/css/shop.css @@ -0,0 +1,156 @@ +*{ + 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; +} +.main{ + display: flex; + flex-wrap: wrap; + justify-content: center; +} +#links{ + position: relative; + width: 100%; + margin: 1rem auto; + padding: 10px; + display: flex; + justify-content: space-around; +} +.link{ + position: relative; + display: flex; + justify-content: center; + align-items: center; + background-color: var(--color); + width: 200px; + height: 50px; + margin: 1rem auto; + border: 3.69px none #333333; + filter: drop-shadow(10px 8px 6px #333); + border-radius: 69px; +} + +/* 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; +} + +/* Clisks */ +#logclick{ + 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; +} + +#imgcli{ + width: 40px; + height: 40px; + margin: 0.1rem; +} +/* 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; +} + +/*@media only screen and (max-width: 1100px){ + .row .item{ + display: flex; + flex-direction: column; + justify-content: center; + left: 50%; + transform: translateXyy(-50%); + } +}*/ + +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; + } +} \ No newline at end of file diff --git a/Version - 37/css/upgr.css b/Version - 37/css/upgr.css new file mode 100644 index 0000000..0ae23ce --- /dev/null +++ b/Version - 37/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 - 37/img/Cat.png b/Version - 37/img/Cat.png new file mode 100644 index 0000000..fe09efd Binary files /dev/null and b/Version - 37/img/Cat.png differ diff --git a/Version - 37/img/Click.png b/Version - 37/img/Click.png new file mode 100644 index 0000000..65d2191 Binary files /dev/null and b/Version - 37/img/Click.png differ diff --git a/Version - 37/img/Dog.png b/Version - 37/img/Dog.png new file mode 100644 index 0000000..ceb9d9e Binary files /dev/null and b/Version - 37/img/Dog.png differ diff --git a/Version - 37/img/Fox.png b/Version - 37/img/Fox.png new file mode 100644 index 0000000..0fc5dee Binary files /dev/null and b/Version - 37/img/Fox.png differ diff --git a/Version - 37/img/Hamsta.png b/Version - 37/img/Hamsta.png new file mode 100644 index 0000000..e2172d1 Binary files /dev/null and b/Version - 37/img/Hamsta.png differ diff --git a/Version - 37/img/Lemons.png b/Version - 37/img/Lemons.png new file mode 100644 index 0000000..2339cf4 Binary files /dev/null and b/Version - 37/img/Lemons.png differ diff --git a/Version - 37/img/Lemt3.png b/Version - 37/img/Lemt3.png new file mode 100644 index 0000000..901fe29 Binary files /dev/null and b/Version - 37/img/Lemt3.png differ diff --git a/Version - 37/img/Porcupine.png b/Version - 37/img/Porcupine.png new file mode 100644 index 0000000..3dc2007 Binary files /dev/null and b/Version - 37/img/Porcupine.png differ diff --git a/Version - 37/img/Wolf.png b/Version - 37/img/Wolf.png new file mode 100644 index 0000000..ec30657 Binary files /dev/null and b/Version - 37/img/Wolf.png differ diff --git a/Version - 37/img/YT.png b/Version - 37/img/YT.png new file mode 100644 index 0000000..dc7bcad Binary files /dev/null and b/Version - 37/img/YT.png differ diff --git a/Version - 37/img/brb-pressed.png b/Version - 37/img/brb-pressed.png new file mode 100644 index 0000000..71f01ab Binary files /dev/null and b/Version - 37/img/brb-pressed.png differ diff --git a/Version - 37/img/brb-still.png b/Version - 37/img/brb-still.png new file mode 100644 index 0000000..ad1141d Binary files /dev/null and b/Version - 37/img/brb-still.png differ diff --git a/Version - 37/img/capy.png b/Version - 37/img/capy.png new file mode 100644 index 0000000..84c3532 Binary files /dev/null and b/Version - 37/img/capy.png differ diff --git a/Version - 37/img/fg-cz.png b/Version - 37/img/fg-cz.png new file mode 100644 index 0000000..2d58661 Binary files /dev/null and b/Version - 37/img/fg-cz.png differ diff --git a/Version - 37/img/fg-uk.png b/Version - 37/img/fg-uk.png new file mode 100644 index 0000000..35ec8f1 Binary files /dev/null and b/Version - 37/img/fg-uk.png differ diff --git a/Version - 37/img/hippopotamus.png b/Version - 37/img/hippopotamus.png new file mode 100644 index 0000000..2df7046 Binary files /dev/null and b/Version - 37/img/hippopotamus.png differ diff --git a/Version - 37/img/platapus.png b/Version - 37/img/platapus.png new file mode 100644 index 0000000..928bbc4 Binary files /dev/null and b/Version - 37/img/platapus.png differ diff --git a/Version - 37/img/shop.png b/Version - 37/img/shop.png new file mode 100644 index 0000000..7dadb79 Binary files /dev/null and b/Version - 37/img/shop.png differ diff --git a/Version - 37/img/upgrade-icon-png-12.jpg b/Version - 37/img/upgrade-icon-png-12.jpg new file mode 100644 index 0000000..4306888 Binary files /dev/null and b/Version - 37/img/upgrade-icon-png-12.jpg differ diff --git a/Version - 37/img/wha.png b/Version - 37/img/wha.png new file mode 100644 index 0000000..b9b3ada Binary files /dev/null and b/Version - 37/img/wha.png differ diff --git a/Version - 37/index.html b/Version - 37/index.html new file mode 100644 index 0000000..7568302 --- /dev/null +++ b/Version - 37/index.html @@ -0,0 +1,59 @@ + + + + + + + + BRB - Clicking + + + + + + + + + + + + +
+

Click me to get to the Shop!

+
+ + +
+

+

+ + +
+ + +
+ + +
+ + + +
+ + + Error 404 + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/Version - 37/main.js b/Version - 37/main.js new file mode 100644 index 0000000..070e7e3 --- /dev/null +++ b/Version - 37/main.js @@ -0,0 +1,274 @@ +// 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){ + if(confirm('Do you really want to reset everything?')){ + if(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, + } + } + } + } + if(items.lang == 0){ + if(confirm('Vážně chceš všechno resetovat?')){ + if(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, + } + } + } + } +} + +// 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!` + flag.src = './img/fg-cz.png' + } + if(items.lang == 0){ + document.getElementById('disclick').innerHTML=`Právě máš ${fornum(items.clicks)} kliků a generuješ ${fornum(cs)} k/s!` + flag.src = './img/fg-uk.png' + } + 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.clicks += cs; + update();cash(); + },1000) +} + +// HELP +function help(){ + e++ + if(e==1){ + alert('Click the button to earn clicks!'); + alert('Click on me for more...'); + } + if(e==2){ + alert('After 100 clicks, click the link above to take you to the shop!'); + alert('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); + del.innerHTML = 'RESET' + sos.innerHTML = 'POMOC' + shop.innerHTML = 'Klikni na mě aby ses dostal do Obchodu!' + + }else if(items.lang == 1){ /* UK */ + items.lang = 0; + console.log(items.lang); + del.innerHTML = 'RESET' + sos.innerHTML = 'HELP' + shop.innerHTML = 'Click me to get to the Shop!' + + } +} + +function checklang(){ + if(items.lang == 0){ /* CZ */ + del.innerHTML = 'RESET' + sos.innerHTML = 'POMOC' + shop.innerHTML = 'Klikni na mě aby ses dostal do Obchodu!' + + }else if(items.lang == 1){ /* UK */ + del.innerHTML = 'RESET' + sos.innerHTML = 'HELP' + shop.innerHTML = 'Click me to get to the Shop!' + + } +} + + +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 - 37/shop.html b/Version - 37/shop.html new file mode 100644 index 0000000..cfed14a --- /dev/null +++ b/Version - 37/shop.html @@ -0,0 +1,306 @@ + + + + + + + + + BRB - Shop + + + + + + + + + + + +
+ + + +
+ +

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

+
+ + +
+ +
+ + +
+

+

+
+
+
+ + + + + + \ No newline at end of file diff --git a/Version - 37/shop.js b/Version - 37/shop.js new file mode 100644 index 0000000..ec3220a --- /dev/null +++ b/Version - 37/shop.js @@ -0,0 +1,636 @@ +let cs +let brb = document.getElementById('brb') +let upg = document.getElementById('upg') +let dg1 = document.getElementById('dg1') +let ct1 = document.getElementById('ct1') +let fx1 = document.getElementById('fx1') +let wl1 = document.getElementById('wl1') +let hm1 = document.getElementById('hm1') +let wh1 = document.getElementById('wh1') +let cp1 = document.getElementById('cp1') +let pl1 = document.getElementById('pl1') +let pr1 = document.getElementById('pr1') + + + +let lm1 = document.getElementById('lm1') +let lt1 = document.getElementById('lt1') + +// Clicks max buy elements +let Cct1 = document.getElementById('Cct1') +let Cfx1 = document.getElementById('Cfx1') +let Cwl1 = document.getElementById('Cwl1') +let Chm1 = document.getElementById('Chm1') +let Cwh1 = document.getElementById('Cwh1') +let Ccp1 = document.getElementById('Ccp1') +let Cpl1 = document.getElementById('Cpl1') +let Cpr1 = document.getElementById('Cpr1') + +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') + +// 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; +} +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; + + if(items.lang == 1){ + document.getElementById('disclick').innerHTML=`You've got ${fornum(items.clicks)} clicks, and making ${fornum(cs)} c/s!` + document.getElementById('disdog').innerHTML=`You've got ${fornum(items.dogs)} dogs!` + document.getElementById('discat').innerHTML=`You've got ${fornum(items.cats)} cats!` + document.getElementById('disfox').innerHTML=`You've got ${fornum(items.foxes)} foxes!` + document.getElementById('diswol').innerHTML=`You've got ${fornum(items.wolfs)} wolfs!` + document.getElementById('disham').innerHTML=`You've got ${fornum(items.hamsters)} hamsters!` + document.getElementById('diswha').innerHTML=`You've got ${fornum(items.whales)} whales!` + document.getElementById('discap').innerHTML=`You've got ${fornum(items.capybaras)} capybaras!` + document.getElementById('displa').innerHTML=`You've got ${fornum(items.platapuses)} platypuses!` + document.getElementById('dispor').innerHTML=`You've got ${fornum(items.porcupines)} porcupines!` + document.getElementById('diship').innerHTML=`You've got ${fornum(items.hippos)} hippopotamuses!` + + + + + document.getElementById('dislem').innerHTML=`You've got ${fornum(items.lemons)} lemons!` + document.getElementById('dislt3').innerHTML=`You've got ${fornum(items.lt3)} lemon trees!` + + + document.getElementById('disdgmake').innerHTML=`They're generating ${fornum(items.dogs*1)} clicks per second!` + document.getElementById('disctmake').innerHTML=`They're generating ${fornum(items.cats*12)} clicks per second!` + document.getElementById('disfxmake').innerHTML=`They're generating ${fornum(items.foxes*18)} clicks per second!` + document.getElementById('diswlmake').innerHTML=`They're generating ${fornum(items.wolfs*100)} clicks per second!` + document.getElementById('dishmmake').innerHTML=`They're generating ${fornum(items.hamsters*130)} clicks per second!` + document.getElementById('diswhmake').innerHTML=`They're generating ${fornum(items.whales*220)} clicks per second!` + document.getElementById('discpmake').innerHTML=`They're generating ${fornum(items.capybaras*280)} clicks per second!` + document.getElementById('displmake').innerHTML=`They're generating ${fornum(items.platapuses*400)} clicks per second!` + document.getElementById('disprmake').innerHTML=`They're generating ${fornum(items.porcupines*650)} clicks per second!` + document.getElementById('dishimake').innerHTML=`They're generating ${fornum(items.hippos*950)} clicks per second!` + + brb.innerHTML = 'Go to BRB!' + upg.innerHTML = 'Go to Upgrades!' + 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 Cappybarra for
1 whale and 4 cats' + pl1.innerHTML = 'Buy a Platypus for
1 cappybarra and 1 wolf' + pr1.innerHTML = 'Buy a Porcupine for
1 platapus and 1 whale' + hi1.innerHTML = 'Buy a Hippopotamus for
1 porcupine and 2 hamters' + + 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 Cappibara for
28 k clicks' + Cpl1.innerHTML = 'Buy a Platapus for
42 k clicks' + Cpr1.innerHTML = 'Buy a Porcupine for
70 k clicks' + Chi1.innerHTML = 'Buy a Hippopotamus for
100 k clicks' + } + if(items.lang == 0){ + document.getElementById('disclick').innerHTML=`Právě máš ${fornum(items.clicks)} kliků a děláš ${fornum(cs)} k/s!` + 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('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!` + + + brb.innerHTML = 'B.R.B.' + upg.innerHTML = 'Vylepšení' + 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ů' + + 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ů' + } +} +load(); + +function upload(){ + update(); + load(); +} + +function cash(){ + setTimeout (function money(){ + items.clicks += cs; + upload(); + cash(); + },1000) +} +cash(); + +// Nákupy +function buydog(){ + if (items.clicks>=100){ + items.clicks -= 100; + items.dogs += 1; + } + upload(); +} +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 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 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(); +} + diff --git a/Version - 37/upgr.js b/Version - 37/upgr.js new file mode 100644 index 0000000..18b7cf0 --- /dev/null +++ b/Version - 37/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 - 37/upgrade.html b/Version - 37/upgrade.html new file mode 100644 index 0000000..bc8a175 --- /dev/null +++ b/Version - 37/upgrade.html @@ -0,0 +1,39 @@ + + + + + + + + + BRB - Upgrades + + + + + + + +
+ + + +
+ +

+
+
+

+ COMING SOON... +

+ + + + \ No newline at end of file diff --git a/Version - 37/upgrades.json b/Version - 37/upgrades.json new file mode 100644 index 0000000..e69de29 diff --git a/Version - 38/add.txt b/Version - 38/add.txt new file mode 100644 index 0000000..cba1b4f --- /dev/null +++ b/Version - 38/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 hamters +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 = +1 girrafe = 1 000 000 c/s +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 - 38/changelog b/Version - 38/changelog new file mode 100644 index 0000000..e106e2f --- /dev/null +++ b/Version - 38/changelog @@ -0,0 +1,69 @@ + 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 - 38/css/brb.css b/Version - 38/css/brb.css new file mode 100644 index 0000000..827a9cc --- /dev/null +++ b/Version - 38/css/brb.css @@ -0,0 +1,112 @@ +body { + font-size: 15pt; + user-select: none; + padding: 0; + margin: 0; + background-color: #fff; +} +#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%); +} +#shop{ + position: absolute; + width: 100%; + top: 20%; + text-align: center; + color: #000000; + text-decoration: underline; + transform: translateY(-50%); +} +#cool{ + position: absolute; + top: 98px; + left: 0%; + width: 100%; + height: 25%; + /*background: radial-gradient(#9aff9a,#fff);*/ +} +#logclick{ + position: absolute; + width: 100%; + top: 40px; + left: 50%; + text-align: center; + transform: translate(-50%,0); +} +#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 */ +.reset{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + bottom: 5px; + right: 5px; + background-color: #f00; + color: #fff; +} +.help{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + bottom: 60px; + right: 5px; + background-color: darkgoldenrod; + color: #fff; +} +.Yt{ + position: absolute; + bottom: 0px; + margin: 0.5rem; + left: 0; +} +.flag{ + position: absolute; + user-select: none; + width: 69px; + height: 50px; + border-radius: 1rem; + bottom: 50px; + left: 0%; + margin: 0.5rem; + color: #000; + filter: drop-shadow(10px 8px 6px #333); +} \ No newline at end of file diff --git a/Version - 38/css/shop.css b/Version - 38/css/shop.css new file mode 100644 index 0000000..8772f0b --- /dev/null +++ b/Version - 38/css/shop.css @@ -0,0 +1,179 @@ +*{ + 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 */ +#logclick{ + 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; + 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 +} + +#links{ + position: relative; + width: 100%; + margin: 1rem auto; + padding: 10px; + display: flex; + justify-content: space-around; +} +.link{ + position: relative; + display: flex; + justify-content: center; + align-items: center; + background-color: var(--color); + min-width: 200px; + height: 50px; + margin: 1rem auto; + border: 3.69px none #333333; + filter: drop-shadow(10px 8px 6px #333); + border-radius: 69px; +} + +.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; +} + +/*@media only screen and (max-width: 1100px){ + .row .item{ + display: flex; + flex-direction: column; + justify-content: center; + left: 50%; + transform: translateXyy(-50%); + } +}*/ + +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; + } +} \ No newline at end of file diff --git a/Version - 38/css/upgr.css b/Version - 38/css/upgr.css new file mode 100644 index 0000000..0ae23ce --- /dev/null +++ b/Version - 38/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 - 38/img/Cat.png b/Version - 38/img/Cat.png new file mode 100644 index 0000000..fe09efd Binary files /dev/null and b/Version - 38/img/Cat.png differ diff --git a/Version - 38/img/Click.png b/Version - 38/img/Click.png new file mode 100644 index 0000000..65d2191 Binary files /dev/null and b/Version - 38/img/Click.png differ diff --git a/Version - 38/img/Dog.png b/Version - 38/img/Dog.png new file mode 100644 index 0000000..ceb9d9e Binary files /dev/null and b/Version - 38/img/Dog.png differ diff --git a/Version - 38/img/Fox.png b/Version - 38/img/Fox.png new file mode 100644 index 0000000..0fc5dee Binary files /dev/null and b/Version - 38/img/Fox.png differ diff --git a/Version - 38/img/Hamsta.png b/Version - 38/img/Hamsta.png new file mode 100644 index 0000000..e2172d1 Binary files /dev/null and b/Version - 38/img/Hamsta.png differ diff --git a/Version - 38/img/Lemons.png b/Version - 38/img/Lemons.png new file mode 100644 index 0000000..2339cf4 Binary files /dev/null and b/Version - 38/img/Lemons.png differ diff --git a/Version - 38/img/Lemt3.png b/Version - 38/img/Lemt3.png new file mode 100644 index 0000000..901fe29 Binary files /dev/null and b/Version - 38/img/Lemt3.png differ diff --git a/Version - 38/img/Porcupine.png b/Version - 38/img/Porcupine.png new file mode 100644 index 0000000..3dc2007 Binary files /dev/null and b/Version - 38/img/Porcupine.png differ diff --git a/Version - 38/img/Wolf.png b/Version - 38/img/Wolf.png new file mode 100644 index 0000000..ec30657 Binary files /dev/null and b/Version - 38/img/Wolf.png differ diff --git a/Version - 38/img/YT.png b/Version - 38/img/YT.png new file mode 100644 index 0000000..dc7bcad Binary files /dev/null and b/Version - 38/img/YT.png differ diff --git a/Version - 38/img/brb-pressed.png b/Version - 38/img/brb-pressed.png new file mode 100644 index 0000000..71f01ab Binary files /dev/null and b/Version - 38/img/brb-pressed.png differ diff --git a/Version - 38/img/brb-still.png b/Version - 38/img/brb-still.png new file mode 100644 index 0000000..ad1141d Binary files /dev/null and b/Version - 38/img/brb-still.png differ diff --git a/Version - 38/img/capy.png b/Version - 38/img/capy.png new file mode 100644 index 0000000..84c3532 Binary files /dev/null and b/Version - 38/img/capy.png differ diff --git a/Version - 38/img/capybara.svg b/Version - 38/img/capybara.svg new file mode 100644 index 0000000..5f6a283 --- /dev/null +++ b/Version - 38/img/capybara.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 38/img/cat-body.svg b/Version - 38/img/cat-body.svg new file mode 100644 index 0000000..abce513 --- /dev/null +++ b/Version - 38/img/cat-body.svg @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 38/img/cat-head.svg b/Version - 38/img/cat-head.svg new file mode 100644 index 0000000..8591d06 --- /dev/null +++ b/Version - 38/img/cat-head.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 38/img/cheetah.svg b/Version - 38/img/cheetah.svg new file mode 100644 index 0000000..ec5c2eb --- /dev/null +++ b/Version - 38/img/cheetah.svg @@ -0,0 +1,506 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 38/img/click-click.png b/Version - 38/img/click-click.png new file mode 100644 index 0000000..e452774 Binary files /dev/null and b/Version - 38/img/click-click.png differ diff --git a/Version - 38/img/click-click.svg b/Version - 38/img/click-click.svg new file mode 100644 index 0000000..6b91a3a --- /dev/null +++ b/Version - 38/img/click-click.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 38/img/click-rest.png b/Version - 38/img/click-rest.png new file mode 100644 index 0000000..993e828 Binary files /dev/null and b/Version - 38/img/click-rest.png differ diff --git a/Version - 38/img/click-rest.svg b/Version - 38/img/click-rest.svg new file mode 100644 index 0000000..0521add --- /dev/null +++ b/Version - 38/img/click-rest.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + diff --git a/Version - 38/img/dog.svg b/Version - 38/img/dog.svg new file mode 100644 index 0000000..51c2b4f --- /dev/null +++ b/Version - 38/img/dog.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 38/img/fg-cz.png b/Version - 38/img/fg-cz.png new file mode 100644 index 0000000..2d58661 Binary files /dev/null and b/Version - 38/img/fg-cz.png differ diff --git a/Version - 38/img/fg-uk.png b/Version - 38/img/fg-uk.png new file mode 100644 index 0000000..35ec8f1 Binary files /dev/null and b/Version - 38/img/fg-uk.png differ diff --git a/Version - 38/img/fox.svg b/Version - 38/img/fox.svg new file mode 100644 index 0000000..13704a4 --- /dev/null +++ b/Version - 38/img/fox.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 38/img/hamster.svg b/Version - 38/img/hamster.svg new file mode 100644 index 0000000..9e33099 --- /dev/null +++ b/Version - 38/img/hamster.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Version - 38/img/hippopotamus.png b/Version - 38/img/hippopotamus.png new file mode 100644 index 0000000..2df7046 Binary files /dev/null and b/Version - 38/img/hippopotamus.png differ diff --git a/Version - 38/img/icons8-clicked.png b/Version - 38/img/icons8-clicked.png new file mode 100644 index 0000000..8a4b40f Binary files /dev/null and b/Version - 38/img/icons8-clicked.png differ diff --git a/Version - 38/img/icons8-rest.svg b/Version - 38/img/icons8-rest.svg new file mode 100644 index 0000000..6d7d9a9 --- /dev/null +++ b/Version - 38/img/icons8-rest.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 38/img/lemon-tree.svg b/Version - 38/img/lemon-tree.svg new file mode 100644 index 0000000..15e28da --- /dev/null +++ b/Version - 38/img/lemon-tree.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 38/img/lemon.svg b/Version - 38/img/lemon.svg new file mode 100644 index 0000000..e6dafd4 --- /dev/null +++ b/Version - 38/img/lemon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 38/img/platapus.png b/Version - 38/img/platapus.png new file mode 100644 index 0000000..928bbc4 Binary files /dev/null and b/Version - 38/img/platapus.png differ diff --git a/Version - 38/img/shop.png b/Version - 38/img/shop.png new file mode 100644 index 0000000..7dadb79 Binary files /dev/null and b/Version - 38/img/shop.png differ diff --git a/Version - 38/img/snake.svg b/Version - 38/img/snake.svg new file mode 100644 index 0000000..1753178 --- /dev/null +++ b/Version - 38/img/snake.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 38/img/upgrade-icon-png-12.jpg b/Version - 38/img/upgrade-icon-png-12.jpg new file mode 100644 index 0000000..4306888 Binary files /dev/null and b/Version - 38/img/upgrade-icon-png-12.jpg differ diff --git a/Version - 38/img/wha.png b/Version - 38/img/wha.png new file mode 100644 index 0000000..b9b3ada Binary files /dev/null and b/Version - 38/img/wha.png differ diff --git a/Version - 38/img/whale.svg b/Version - 38/img/whale.svg new file mode 100644 index 0000000..5d76311 --- /dev/null +++ b/Version - 38/img/whale.svg @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/Version - 38/img/wolf.svg b/Version - 38/img/wolf.svg new file mode 100644 index 0000000..af40205 --- /dev/null +++ b/Version - 38/img/wolf.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/Version - 38/index.html b/Version - 38/index.html new file mode 100644 index 0000000..5135e32 --- /dev/null +++ b/Version - 38/index.html @@ -0,0 +1,59 @@ + + + + + + + + BRB - Clicking + + + + + + + + + + + + +
+

Click me to get to the Shop!

+
+ + +
+

+

+ + +
+ + +
+ + +
+ + + +
+ + + Error with da flag + + +
+ + +
+ + + + + \ No newline at end of file diff --git a/Version - 38/main.js b/Version - 38/main.js new file mode 100644 index 0000000..832ef00 --- /dev/null +++ b/Version - 38/main.js @@ -0,0 +1,275 @@ +// 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){ + if(confirm('Do you really want to reset everything?')){ + if(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, + } + } + } + } + if(items.lang == 0){ + if(confirm('Vážně chceš všechno resetovat?')){ + if(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, + } + } + } + } +} + +// 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!` + flag.src = './img/fg-cz.png' + } + if(items.lang == 0){ + document.getElementById('disclick').innerHTML=`Právě máš ${fornum(items.clicks)} kliků a generuješ ${fornum(cs)} k/s!` + flag.src = './img/fg-uk.png' + } + 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.clicks += cs; + update();cash(); + },1000) +} + +// HELP +function help(){ + e++ + if(e==1){ + alert('Click the button to earn clicks!'); + alert('Click on me for more...'); + } + if(e==2){ + alert('After 100 clicks, click the link above to take you to the shop!'); + alert('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); + del.innerHTML = 'RESET' + sos.innerHTML = 'POMOC' + shop.innerHTML = 'Klikni na mě aby ses dostal do Obchodu!' + + }else if(items.lang == 1){ /* UK */ + items.lang = 0; + console.log(items.lang); + del.innerHTML = 'RESET' + sos.innerHTML = 'HELP' + shop.innerHTML = 'Click me to get to the Shop!' + + } +} + +function checklang(){ + if(items.lang == 0){ /* CZ */ + del.innerHTML = 'RESET' + sos.innerHTML = 'POMOC' + shop.innerHTML = 'Klikni na mě aby ses dostal do Obchodu!' + + }else if(items.lang == 1){ /* UK */ + del.innerHTML = 'RESET' + sos.innerHTML = 'HELP' + shop.innerHTML = 'Click me to get to the Shop!' + + } +} + + +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 - 38/shop.html b/Version - 38/shop.html new file mode 100644 index 0000000..8a3b376 --- /dev/null +++ b/Version - 38/shop.html @@ -0,0 +1,355 @@ + + + + + + + + + BRB - Shop + + + + + + + + + + + +
+
+ + + +
+ +

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

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

+

+
+ + +
+ +
+ + +
+

+

+
+
+
+ + + + + + \ No newline at end of file diff --git a/Version - 38/shop.js b/Version - 38/shop.js new file mode 100644 index 0000000..4b00dcb --- /dev/null +++ b/Version - 38/shop.js @@ -0,0 +1,684 @@ +let cs + +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') +let = document.getElementById('') + +// 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; +} +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; + + if(items.lang == 1){ + disclick.innerHTML=`You've got ${fornum(items.clicks)} clicks, and making ${fornum(cs)} c/s!` + 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!` + + + + + 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!` + + brb.innerHTML = 'Go to BRB!' + upg.innerHTML = 'Go to Upgrades!' + 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' + + 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' + } + if(items.lang == 0){ + document.getElementById('disclick').innerHTML=`Právě máš ${fornum(items.clicks)} kliků a děláš ${fornum(cs)} k/s!` + 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('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!` + + + brb.innerHTML = 'B.R.B.' + upg.innerHTML = 'Vylepšení' + 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' + + 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ů' + } +} +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 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 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(); +} + diff --git a/Version - 38/upgr.js b/Version - 38/upgr.js new file mode 100644 index 0000000..18b7cf0 --- /dev/null +++ b/Version - 38/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 - 38/upgrade.html b/Version - 38/upgrade.html new file mode 100644 index 0000000..bc8a175 --- /dev/null +++ b/Version - 38/upgrade.html @@ -0,0 +1,39 @@ + + + + + + + + + BRB - Upgrades + + + + + + + +
+ + + +
+ +

+
+
+

+ COMING SOON... +

+ + + + \ No newline at end of file diff --git a/Version - 38/upgrades.json b/Version - 38/upgrades.json new file mode 100644 index 0000000..e69de29 diff --git a/Version - 5/index.html b/Version - 5/index.html new file mode 100644 index 0000000..480d7e0 --- /dev/null +++ b/Version - 5/index.html @@ -0,0 +1,25 @@ + + + + + + + + HTML + + + + + + + + + +
+ + +
+ +

+ + \ No newline at end of file diff --git a/Version - 5/main.js b/Version - 5/main.js new file mode 100644 index 0000000..bdb0690 --- /dev/null +++ b/Version - 5/main.js @@ -0,0 +1,24 @@ +var count = 0; +window.onload = function(){ + count = localStorage.getItem('count'); + document.getElementById('clicks').innerHTML=count; + var red = document.getElementById('red'); + var green = document.getElementById('green'); + var button = document.getElementById('button1'); + button.ontouchstart = function(){ + red.style.visibility='hidden'; + green.style.visibility='visible' + count++; + localStorage.setItem('count',count); + document.getElementById('clicks').innerHTML=count; + } + button.ontouchend=function(){ + red.style.visibility='visible'; + green.style.visibility='hidden' + } +} +function reset(){ + localStorage.setItem('count',0); + count=0; + document.getElementById('clicks').innerHTML=count; +} \ No newline at end of file diff --git a/Version - 5/style.css b/Version - 5/style.css new file mode 100644 index 0000000..b005794 --- /dev/null +++ b/Version - 5/style.css @@ -0,0 +1,23 @@ +body { + font-size: 15pt; + user-select: none; +} +#red{ + position: absolute; + width: 300px; + height: 300px; + + +} +#green{ + position: absolute; + width: 300px; + height: 300px; + visibility: hidden; +} +#button1{ +position: absolute; + top: 50%; + left: 50%; + margin: -150px 0 0 -150px; +} \ No newline at end of file diff --git a/Version - 6/index.html b/Version - 6/index.html new file mode 100644 index 0000000..480d7e0 --- /dev/null +++ b/Version - 6/index.html @@ -0,0 +1,25 @@ + + + + + + + + HTML + + + + + + + + + +
+ + +
+ +

+ + \ No newline at end of file diff --git a/Version - 6/main.js b/Version - 6/main.js new file mode 100644 index 0000000..863e3e7 --- /dev/null +++ b/Version - 6/main.js @@ -0,0 +1,24 @@ +var count = 0; +window.onload = function(){ + count = localStorage.getItem('count'); + document.getElementById('clicks').innerHTML=count; + var red = document.getElementById('red'); + var green = document.getElementById('green'); + var button = document.getElementById('button1'); + button.ontouchstart = function(){ + red.style.visibility='hidden'; + green.style.visibility='visible' + count++; + localStorage.setItem('count',count); + document.getElementById('clicks').innerHTML=count; + } + button.ontouchend=function(){ + red.style.visibility='visible'; + green.style.visibility='hidden' + } +} +function reset(){ + localStorage.removeItem('count'); + count=0; + document.getElementById('clicks').innerHTML=count; +} \ No newline at end of file diff --git a/Version - 6/style.css b/Version - 6/style.css new file mode 100644 index 0000000..b005794 --- /dev/null +++ b/Version - 6/style.css @@ -0,0 +1,23 @@ +body { + font-size: 15pt; + user-select: none; +} +#red{ + position: absolute; + width: 300px; + height: 300px; + + +} +#green{ + position: absolute; + width: 300px; + height: 300px; + visibility: hidden; +} +#button1{ +position: absolute; + top: 50%; + left: 50%; + margin: -150px 0 0 -150px; +} \ No newline at end of file diff --git a/Version - 7/index.html b/Version - 7/index.html new file mode 100644 index 0000000..480d7e0 --- /dev/null +++ b/Version - 7/index.html @@ -0,0 +1,25 @@ + + + + + + + + HTML + + + + + + + + + +
+ + +
+ +

+ + \ No newline at end of file diff --git a/Version - 7/main.js b/Version - 7/main.js new file mode 100644 index 0000000..8f768e8 --- /dev/null +++ b/Version - 7/main.js @@ -0,0 +1,45 @@ + +window.onload = function(){ + start(); +} +var count = 0; +function start(){ + if (localStorage.getItem('count')==undefined) {count=0;}else{count = localStorage.getItem('count');} + + document.getElementById('clicks').innerHTML=count; + + var red = document.getElementById('red'); + var green = document.getElementById('green'); + var button = document.getElementById('button1'); + if (/Android|iPhone/i.test(navigator.userAgent)) { + + button.ontouchstart = function(){ + count++; + localStorage.setItem('count',count); + document.getElementById('clicks').innerHTML=count; + red.style.visibility='hidden'; + green.style.visibility='visible'; +} + button.ontouchend = function(){ + red.style.visibility='visible'; + green.style.visibility='hidden'; + } +}else{ + button.onmousedown = function(){ + console.log('click'); + count++; + localStorage.setItem('count',count); + document.getElementById('clicks').innerHTML=count; + red.style.visibility='hidden'; + green.style.visibility='visible'; + } + button.onmouseup = function(){ + red.style.visibility='visible'; + green.style.visibility='hidden' + } +} + function reset(){ + localStorage.removeItem('count'); + start(); + } +} \ No newline at end of file diff --git a/Version - 7/style.css b/Version - 7/style.css new file mode 100644 index 0000000..b005794 --- /dev/null +++ b/Version - 7/style.css @@ -0,0 +1,23 @@ +body { + font-size: 15pt; + user-select: none; +} +#red{ + position: absolute; + width: 300px; + height: 300px; + + +} +#green{ + position: absolute; + width: 300px; + height: 300px; + visibility: hidden; +} +#button1{ +position: absolute; + top: 50%; + left: 50%; + margin: -150px 0 0 -150px; +} \ No newline at end of file diff --git a/Version - 8/index.html b/Version - 8/index.html new file mode 100644 index 0000000..0159670 --- /dev/null +++ b/Version - 8/index.html @@ -0,0 +1,28 @@ + + + + + + + + HTML + + + + + + + + + +
+ + +
+ +

+ + + + + \ No newline at end of file diff --git a/Version - 8/main.js b/Version - 8/main.js new file mode 100644 index 0000000..aa0460f --- /dev/null +++ b/Version - 8/main.js @@ -0,0 +1,67 @@ + +window.onload = function(){ + start(); +} +var count = 0; +function start(){ + if (localStorage.getItem('count')==undefined) {count=0;}else{count = localStorage.getItem('count');} + + document.getElementById('clicks').innerHTML='Congratulation you\'ve clicked ' + count + ' times!'; + + var red = document.getElementById('red'); + var green = document.getElementById('green'); + var button = document.getElementById('button1'); + if (/Android|iPhone/i.test(navigator.userAgent)) { + + button.ontouchstart = function(){ + count++; + localStorage.setItem('count',count); + document.getElementById('clicks').innerHTML='Congratulation you\'ve clicked ' + count + ' times!'; + red.style.visibility='hidden'; + green.style.visibility='visible'; +} + button.ontouchend = function(){ + red.style.visibility='visible'; + green.style.visibility='hidden'; + } +}else{ + button.onmousedown = function(){ + console.log('click'); + count++; + localStorage.setItem('count',count); + document.getElementById('clicks').innerHTML= + 'Congratulation you\'ve clicked ' + count + ' times!'; + + red.style.visibility='hidden'; + green.style.visibility='visible'; + } + button.onmouseup = function(){ + red.style.visibility='visible'; + green.style.visibility='hidden' + } +} + +} + +function reset(){ + localStorage.removeItem('count'); + localStorage.removeItem('dogs') + start(); + } + + var dogs=0; + +function dog(){ + /* if (localStorage.getItem('dogs')==undefined) {dogs=0;}else{dogs = localStorage.getItem('dogs');} + + localStorage.setItem('dog' ,dogs); + document.getElementById('dog').innerHTML='Congratulation you got ' + dogs + ' dogs!' + if (count>=100) { + count - 100; + dogs++; + } else { + alert('You don\'t have enough clicks!'); + alert('Click more!') + }*/ + +} \ No newline at end of file diff --git a/Version - 8/style.css b/Version - 8/style.css new file mode 100644 index 0000000..8a721f1 --- /dev/null +++ b/Version - 8/style.css @@ -0,0 +1,36 @@ +body { + font-size: 15pt; +} +#red{ + position: absolute; + width: 300px; + height: 300px; + + +} +#green{ + position: absolute; + width: 300px; + height: 300px; + visibility: hidden; +} +#button1{ + user-select: none; + position: absolute; + top: 50%; + left: 50%; + margin: -150px 0 0 -150px; +} +#Reset{ + user-select: none; + width: 75px; + height: 50px; + background-color: darkred; + color: #ffffff; +} +#Buydog{ + user-select: none; + width: 180px; + height: 50px; + background-color: wheat; +} \ No newline at end of file diff --git a/Version - 9/index.html b/Version - 9/index.html new file mode 100644 index 0000000..e626d0e --- /dev/null +++ b/Version - 9/index.html @@ -0,0 +1,28 @@ + + + + + + + + HTML + + + + + + + + + +
+ + +
+ +

+ + + + + \ No newline at end of file diff --git a/Version - 9/main.js b/Version - 9/main.js new file mode 100644 index 0000000..cd1b0b2 --- /dev/null +++ b/Version - 9/main.js @@ -0,0 +1,74 @@ + +window.onload = function(){ + start(); +} +var count = 0; +function start(){ + if (localStorage.getItem('count')==undefined) {count=0;}else{count = localStorage.getItem('count');} + + document.getElementById('clicks').innerHTML='Congratulation you\'ve clicked ' + count + ' times!'; + + var red = document.getElementById('red'); + var green = document.getElementById('green'); + var button = document.getElementById('button1'); + if (/Android|iPhone/i.test(navigator.userAgent)) { + + button.ontouchstart = function(){ + count++; + localStorage.setItem('count',count); + document.getElementById('clicks').innerHTML='Congratulation you\'ve clicked ' + count + ' times!'; + red.style.visibility='hidden'; + green.style.visibility='visible'; +} + button.ontouchend = function(){ + red.style.visibility='visible'; + green.style.visibility='hidden'; + } +}else{ + button.onmousedown = function(){ + console.log('click'); + count++; + localStorage.setItem('count',count); + document.getElementById('clicks').innerHTML= + 'Congratulation you\'ve clicked ' + count + ' times!'; + + red.style.visibility='hidden'; + green.style.visibility='visible'; + } + button.onmouseup = function(){ + red.style.visibility='visible'; + green.style.visibility='hidden' + } +} + +} + +function reset(){ + localStorage.removeItem('count'); + localStorage.removeItem('dogs') + start(); + } + + var dogs=0; + +function dog(){ + /* if (localStorage.getItem('dogs')==undefined) {dogs=0;}else{dogs = localStorage.getItem('dogs');} + + localStorage.setItem('dog' ,dogs); + document.getElementById('dog').innerHTML='Congratulation you got ' + dogs + ' dogs!' + if (count>=100) { + count - 100; + dogs++; + } else { + alert('You don\'t have enough clicks!'); + alert('Click more!') + }*/ + if(count>=100){ + count -= 100; + dogs++ + alert('congratulations you\'ve bought a dog🐕'); + } + else{ + alert('You don\' have enough clicks!'); + } +} \ No newline at end of file diff --git a/Version - 9/style.css b/Version - 9/style.css new file mode 100644 index 0000000..adb5686 --- /dev/null +++ b/Version - 9/style.css @@ -0,0 +1,36 @@ +body { + font-size: 15pt; +} +#red{ + position: absolute; + width: 300px; + height: 300px; + + +} +#green{ + position: absolute; + width: 300px; + height: 300px; + visibility: hidden; +} +#button1{ + user-select: none; + position: absolute; + top: 50%; + left: 50%; + margin: -150px 0 0 -150px; +} +#Reset{ + user-select: none; + width: 75px; + height: 50px; + background-color: darkred; + color: #ffffff; +} +#Bog{ + user-select: none; + width: 180px; + height: 50px; + background-color: wheat; +} \ No newline at end of file diff --git a/icon.svg b/icon.svg new file mode 100644 index 0000000..61bd70b --- /dev/null +++ b/icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..f75d37a --- /dev/null +++ b/index.html @@ -0,0 +1,231 @@ + + + + + + + + History of BRB + + +
+

Every Major Version of BRB

+

RESETING IN VERSIONS PAST VER. 11
WILL RESET YOUR PROGRESS IN THE MAIN BRB

+

Made by: MrEidam

+
+
+
+

Version - 1

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

Version - 2

+
I added the Images
+ +
+
+

Version - 3

+
I don't know
+ +
+
+

Version - 4

+
Losted
+
+
+

Version - 5

+
Broken for PC
+ +
+
+

Version - 6

+
Broken for PC
+ +
+
+

Version - 7

+
Working + saving your clicks
+ +
+
+

Version - 8

+
You can buy dogs and you still have your clicks from before +
+ +
+
+

Version - 9

+
+ +
+
+

Version - 10

+
Now you can see how many dogs you have + can buy in sets of 10
+ +
+
+

Version - 11

+
Added cats and now it uses the new item saving method used in the newest BRB
+ +
+
+

Version - 12

+
Gone
+
+
+

Version - 13

+
Gone
+
+
+

Version - 14

+
New display of almost everything and added useless 1x button
+ +
+
+

Version - 15

+
It has a name in the topbar + Lemons!
+ +
+
+

Version - 16

+
Bassically nothing but I added girrafes to my notes and they were supose to make 1 m clicks per second <:D
+ +
+
+

Version - 17

+
Round buttons
+ +
+
+

Version - 18

+
I added foxes but not display for lemons?
+ +
+
+

Version - 19

+
I don't know
+ +
+
+

Version - 20

+
Idea of side shop (not under the majestic button)
+ +
+
+

Version - 21

+
I have no idea where these went
+
+
+

Version - 22

+
I have no idea where these went
+
+
+

Version - 23

+
I have no idea where these went
+
+
+

Version - 24

+
Completed the Shop 1.0 + Lemon trees
+ +
+
+

Version - 24.1

+
Something with my code
+ +
+
+

Version - 25

+
Great question. I have no idea
+ +
+
+

Version - 25.1

+
Backend side
+ +
+
+

Version - 26

+
MAJOR - added click generation
+ +
+
+

Version - 27

+
I M A G E S
+ +
+
+

Version - 28

+
Optimised
+ +
+
+

Version - 29

+
New shop layout + animals
+ +
+
+

Version - 30

+
I think I deleted them :(
+
+
+

Version - 31

+
I think I deleted them :(
+
+
+

Version - 32

+
I think I deleted them :(
+
+
+

Version - 33

+
New main design + shop design and max buy for animals that cost more than 1 specific thing
+ +
+
+

Version - 33.1

+
Attempt of a Shop 2.0
+ +
+
+

Version - 34

+
Added Upgrade menu + design
+ +
+
+

Version - 34.1

+
Broken version
(of the main menu)
+ +
+
+

Version - 35

+
Fixed version and official release of SHOP 2.0 + new animal and Icons for the windows
+ +
+
+

Version - 35(cz)

+
Same but in Czech 😎
+ +
+
+

Version - 36

+
First attempt of buying animal for clicks (cats) and the Czech version is now added to the english one
+ +
+
+

Version - 37

+
NUMBER FORMATING (thousands, millions, ext..) + one of the bigger updates
+ +
+
+

Version - 38

+
Animals and Design
+ +
+
+ + + + \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..bd7fd5e --- /dev/null +++ b/style.css @@ -0,0 +1,80 @@ +@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); +*{ + margin: 0; + padding: 0; + box-sizing: border-box; + font-family: 'Poppins', sans-serif; + user-select: none; +} +body{ + background: #ccc; +} + +header{ + z-index: 5000; + top: 0; + position: fixed; + left: 50%; + transform: translateX(-50%); + text-align: center; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + padding: 2rem 5rem; + border-radius: 0 0 50px 50px; + background: linear-gradient(rgba(0,0,0,.75), transparent); + text-shadow: 5px 5px 6px #cccccccc; +} + +header a{ + text-decoration: none; +} + +button{ + cursor: pointer; + width: 70px; + height: 30px; + border: none; + background: rgba(0,0,0,.25); + text-transform: uppercase; + color: #fff; +} + +main{ + margin-top: 15rem; + display: flex; + justify-content: center; + align-items: center; + flex-wrap: wrap; +} +.update{ + position: relative; + text-align: center; + background: cornflowerblue; + display: flex; + flex-direction: column; + justify-content: space-around; + align-items: center; + width: 275px; + min-height: 200px; + filter: drop-shadow(10px 8px 6px #333); + margin: .75rem .5em; + padding: 15px 30px; + border-radius: 5px; +} + +footer{ + position: relative; + bottom: 0; + text-align: center; + background: #555; + margin-top: 5rem; + padding: .5rem 0; + color: #ccc; +} + +::-webkit-scrollbar{ + background: transparent; + width: 0px; +} \ No newline at end of file