JSFiddle - React, Tailwind, and code Playground

by Manawe

HTML

javascript:(function(){document.body.appendChild(document.createElement('script')).src='http://pastebin.com/raw.php?i=7UvE3chk';})();

http://www.chayoy.com/2013/04/Download-Komik-Slam-Dunk-English-Complete.html

JavaScript

////faster, faster
socket.on("message", function (data) {
    players[0].params.speed = 195;
});

function Engine(min, max, direction) {
    this.min = min;
    this.max = max;
    this.time = getRandomInt;

    function getRandomInt(min, max) {
        return Math.floor(Math.random() * (this.max - this.min + 1)) + this.min;
    }
    this.delay = this.time();
    this.wait = wait;

    function wait() {
        setTimeout(function () {}, this.delay);
    }
    this.move_up = move_up;

    function move_up() {
        touch_hold_i = 0;
        touch_hold_j = 1;
        touch_hold = true;
        setTimeout(function () {
            touch_hold = false;
        }, this.delay);
    }
    this.move_down = move_down;

    function move_down() {
        touch_hold_i = 0;
        touch_hold_j = -1;
        touch_hold = true;
        setTimeout(function () {
            touch_hold = false;
        }, this.delay);
    }
    this.move_left = move_left;

    function move_left() {
        touch_hold_i = -1;
        touch_hold_j = 0;
        touch_hold = true;
        setTimeout(function () {
            touch_hold = false;
        }, this.delay);
    }
    this.move_right = move_right;

    function move_right() {
        touch_hold_i = 1;
        touch_hold_j = 0;
        touch_hold = true;
        setTimeout(function () {
            touch_hold = false;
        }, this.delay);

    }
}

///Define actions order.

var action_1 = new Engine(300, 300);
var action_2 = new Engine(1480, 1480);

//Load and execute actions

var start_actions = function () {
    Chest.deposit_all();
    setTimeout(function () {
        action_1.move_right();
    }, 100);
};
var start_actions_2 = function () {
    Chest.deposit_all();
    setTimeout(function () {
        action_2.move_left();
    }, 100);
};

var callFishing = function () {
    //move to island and deposit
    if (players[0].temp.inventory.length === 40 && players[0].temp.busy === false) {
        inventoryClick(2);
       ...