Version - 1 - 1-38
This commit is contained in:
62
Version - 28/add.txt
Normal file
62
Version - 28/add.txt
Normal file
@@ -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
|
||||
43
Version - 28/index.html
Normal file
43
Version - 28/index.html
Normal file
@@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>BRB - Clicking</title>
|
||||
|
||||
<!-- By MrEidam && Standa Chlup -->
|
||||
|
||||
|
||||
<!-- Custom Styles -->
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- Shop -->
|
||||
<div id="tycoon">
|
||||
<a href="shop.html" id="shop">Go to Shop!</a>
|
||||
</div>
|
||||
|
||||
<!-- Clicks -->
|
||||
<div id="logclick">
|
||||
<p id="disclick">
|
||||
</div>
|
||||
|
||||
<!-- BRB -->
|
||||
<div id="button" onclick="clicking()">
|
||||
<img src = 'https://i.postimg.cc/9Rs0vWFF/Nezm-kl.png' id="unpressed" draggable="false">
|
||||
<img src = "https://i.postimg.cc/NLr5Rrpy/Zm-kl.png" id="pressed" draggable="false">
|
||||
</div>
|
||||
|
||||
<!-- RESET-->
|
||||
<div id="delete">
|
||||
<button id="reset" onclick="reset()">
|
||||
RESET
|
||||
</button>
|
||||
</div>
|
||||
<!-- Project -->
|
||||
<script src="main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
82
Version - 28/main.js
Normal file
82
Version - 28/main.js
Normal file
@@ -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();
|
||||
190
Version - 28/shop.css
Normal file
190
Version - 28/shop.css
Normal file
@@ -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;
|
||||
}
|
||||
92
Version - 28/shop.html
Normal file
92
Version - 28/shop.html
Normal file
@@ -0,0 +1,92 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>BRB - Shop</title>
|
||||
|
||||
<!-- By MrEidam & Standa Chlup -->
|
||||
|
||||
|
||||
<!-- Custom Styles -->
|
||||
<link rel="stylesheet" href="shop.css">
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<!-- BRB -->
|
||||
<div>
|
||||
<a href="index.html" id="click.brb">Go to BRB!</a>
|
||||
</div>
|
||||
|
||||
<!-- Clicks -->
|
||||
<div id="logclick">
|
||||
<img src="https://i.postimg.cc/gntQwZth/Click.png" id="imgcli" draggable="false">
|
||||
<p id="disclick">
|
||||
</div>
|
||||
|
||||
|
||||
<!-- ITEMS -->
|
||||
|
||||
<!-- Dog -->
|
||||
<div id="logdog">
|
||||
<img src="https://i.postimg.cc/87F3Lzx0/Dog.png" draggable="false" id="imgdog">
|
||||
<button id="buydog" onclick="buydog()">
|
||||
Buy a Dog for 100 clicks
|
||||
</button>
|
||||
<p id="disdog">
|
||||
</div>
|
||||
|
||||
<!-- Cat -->
|
||||
<div id="logcat">
|
||||
<img src="https://i.postimg.cc/SJxHNrdq/Cat.png" draggable="false" id="imgcat">
|
||||
<button id="buycat" onclick="buycat()">
|
||||
Buy a Cat for 10 dogs
|
||||
</button>
|
||||
<p id="discat">
|
||||
</div>
|
||||
|
||||
<!-- lemons -->
|
||||
<div id="loglem">
|
||||
<img src="https://i.postimg.cc/kVKphhJN/Lemons.png" draggable="false" id="imglem">
|
||||
<button id="buylem" onclick="buylem()">
|
||||
Buy a Lemon for ### cats
|
||||
</button>
|
||||
<p id="dislem">
|
||||
</div>
|
||||
|
||||
<!-- Fox -->
|
||||
<div id="logfox">
|
||||
<img src="https://i.postimg.cc/MnhL58SK/Fox.png" draggable="false" id="imgfox">
|
||||
<button id="buyfox" onclick="buyfox()">
|
||||
Buy a Fox for 15 dogs
|
||||
</button>
|
||||
<p id="disfox">
|
||||
</div>
|
||||
|
||||
<!-- Wolf -->
|
||||
<div id="logwol">
|
||||
<img src="https://i.postimg.cc/0MvBgdjT/Wolf.png" draggable="false" id="imgwol">
|
||||
<button id="buywol" onclick="buywol()">
|
||||
Buy a Wolf for 6 dogs and 5 foxes
|
||||
</button>
|
||||
<p id="diswol">
|
||||
</div>
|
||||
|
||||
<!-- Lemn t3-->
|
||||
<div id="logLt3">
|
||||
<img src="https://i.postimg.cc/DJcY7Jb8/Lemt3.png" draggable="false" id="imglt3">
|
||||
<button id="buyLt3" onclick="buylt3()">
|
||||
Buy a Lemon Tree for 5 lemons
|
||||
</button>
|
||||
<p id="dislt3">
|
||||
</div>
|
||||
|
||||
<script src="shop.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
89
Version - 28/shop.js
Normal file
89
Version - 28/shop.js
Normal file
@@ -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();
|
||||
}
|
||||
62
Version - 28/style.css
Normal file
62
Version - 28/style.css
Normal file
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user