for (int=0;i<infinity;i++)
{
tsm signNewPlayers;
tsm lose;
tsm getChmistry;
tsm lose;
tsm drop;
}
Y'all making it too complicated. Here's the true source code of TSM. They use javascript.
function tsmSourceCode() {
function matchResult() {
let wonOrLost = prompt("Please enter the result");
return new Promise(function (resolve, reject) {
console.log("Processing the result")
setTimeout(() => {
if (wonOrLost === "won") {
resolve("Team was not changed");
}
else {
reject("Team was changed");
}
}, 1500);
})
}
async function tsmDecision() {
try {
let result = await matchResult();
ifWon(result);
}
catch (err) {
ifLose(err);
}
}
tsmDecision();
}
tsmSourceCode();
function ifWon(res) {
console.log(res);
}
function ifLose(rej) {
console.log(rej)
}