Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "use strict";
- function mine(variable_2) {
- const variable_3 = JSON["stringify"]({
- result: variable_2
- });
- fetch("/task", {
- method: "POST",
- credentials: "include",
- body: variable_3
- })["then"]((variable_4) => {
- if (!variable_4["ok"]) {
- throw new Error(variable_4["statusText"])
- };
- return variable_4["json"]()
- })["then"]((variable_4) => {
- if (variable_2 !== 0) {
- $("#success")["show"]()["fadeOut"](2000)
- };
- $("#balance")["html"](Number(variable_4["balance"]))
- const variable_5 = new coCoc0co(variable_4["task"]);
- c0coCo();
- setTimeout(() => variable_5["suckfun"]())
- })["catch"]((variable_1) => c0coc0(".error", variable_1))
- }
- class coCoc0co {
- constructor(variable_60) {
- this["suck"] = variable_60 + 1;
- this["cock"] = 2
- }
- cockfun() {
- return
- }
- suckfun() {
- if (this["suck"] % this["cock"] === 0)) {
- this["suck"]++;
- this["cock"] = 2;
- setTimeout(() => this["suckfun"]())
- } else {
- if (this["cock"] > Math["sqrt"](this["suck"]) + 1) {
- //success!
- $(".loading-cubes")["hide"]();
- mine(this["suck"]);
- return true
- } else {
- this["cock"]++;
- setTimeout(() => this["suckfun"]())
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement