TypingBowl of Piss

Instant win cheat made in 5 minutes

// ==UserScript==
// @name         TypingBowl of Piss
// @namespace    http://tampermonkey.net/
// @version      0.0.1
// @description  Instant win cheat made in 5 minutes
// @author       BlueLatios
// @match        https://typingbowl.com/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=typingbowl.com
// @grant        none
// @license      AGPL-3.0-or-later
// ==/UserScript==

/*
 * This file is part of TypingBowl of Piss.
 *
 * TypingBowl of Piss is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TypingBowl of Piss is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with TypingBowl of Piss. If not, see <https://www.gnu.org/licenses/>.
 */

function cheat() {
    const originalCalculateWPM = calculateWPM;
    const originalUpdateStats = updateStats;

    calculateWPM = function (timeElapsed) {
        return 500;
    }

    updateStats = function () {
        if (!isTestActive) return;

        const totalLetters = textDisplay.querySelectorAll('.letter').length;
        currentLetterIndex = totalLetters;
        correctCharacters = typedCharacters;
        lastKeystrokeTime = 0;

        const currentTime = getAdjustedTime();
        const timeElapsed = currentTime - startTime;

        const wpm = calculateWPM(timeElapsed);
        const accuracy = calculateAccuracy();
        const consistency = calculateConsistency();

        if (wpmDisplay) wpmDisplay.textContent = Math.round(wpm);
        if (accuracyDisplay) accuracyDisplay.textContent = (accuracy * 100).toFixed(2) + '%';
        if (consistencyDisplay) consistencyDisplay.textContent = consistency.toFixed(2);

        socket.emit("updateProgress", {
            wpm: wpm,
            progress: 100,
            completed: true,
            accuracy: 1
        });

        if (currentLetterIndex === totalLetters) {
            endRaceForPlayer();
        }
    }
}

cheat();