This commit is contained in:
Przemyslaw Hugh Kaznowski 2025-12-16 15:37:14 -06:00 committed by GitHub
commit ea50ad5922
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

@ -64,7 +64,7 @@ public class ComputerPlayer extends PlayerImpl {
// * use yours CPU cores for best performance // * use yours CPU cores for best performance
// TODO: add server config to control max AI threads (with CPU cores by default) // TODO: add server config to control max AI threads (with CPU cores by default)
// TODO: rework AI implementation to use multiple sims calculation instead one by one // TODO: rework AI implementation to use multiple sims calculation instead one by one
final static int COMPUTER_MAX_THREADS_FOR_SIMULATIONS = 5;//DebugUtil.AI_ENABLE_DEBUG_MODE ? 1 : 5; public final static int COMPUTER_MAX_THREADS_FOR_SIMULATIONS = DebugUtil.AI_ENABLE_DEBUG_MODE ? 1 : 5;
// remember picked cards for better draft choices // remember picked cards for better draft choices

View file

@ -12,11 +12,11 @@ print "Start compiling...\n";
chdir(".."); chdir("..");
system("mvn clean install package -DskipTests"); system("mvn clean install package -DskipTests");
chdir("Mage.Client"); chdir("Mage.Client");
system("mvn assembly:assembly"); system("mvn assembly:single");
chdir("../Mage.Server"); chdir("../Mage.Server");
system("mvn assembly:assembly"); system("mvn assembly:single");
chdir("../Mage.Server.Console"); chdir("../Mage.Server.Console");
system("mvn assembly:assembly"); system("mvn assembly:single");
chdir(".."); chdir("..");
mkdir("temp"); mkdir("temp");
chdir("temp"); chdir("temp");
@ -48,4 +48,4 @@ $zip->addFile("startMage.sh");
$zip->writeToFileNamed("../mage-bundle.zip"); $zip->writeToFileNamed("../mage-bundle.zip");
chdir(".."); chdir("..");
rmtree("temp"); rmtree("temp");