mirror of
http://shenjack.top:5100/shenjack/icalingua-python-bot.git
synced 2024-11-23 12:41:05 +08:00
走!
This commit is contained in:
parent
3defd42df8
commit
924d850e01
|
@ -167,7 +167,7 @@ function main() {
|
||||||
return [4 /*yield*/, fight(names)];
|
return [4 /*yield*/, fight(names)];
|
||||||
case 1:
|
case 1:
|
||||||
result = _a.sent();
|
result = _a.sent();
|
||||||
console.log(result);
|
console.log("赢家:|${result.source_plr}|");
|
||||||
return [2 /*return*/];
|
return [2 /*return*/];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -157,7 +157,7 @@ async function main() {
|
||||||
|
|
||||||
const names = fs.readFileSync(path.resolve(__dirname, "input.txt"), "utf-8");
|
const names = fs.readFileSync(path.resolve(__dirname, "input.txt"), "utf-8");
|
||||||
const result = await fight(names);
|
const result = await fight(names);
|
||||||
console.log(result);
|
console.log("赢家:|${result.source_plr}|");
|
||||||
}
|
}
|
||||||
|
|
||||||
main();
|
main();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user