mirror of
https://github.com/correl/mage.git
synced 2024-12-24 03:00:14 +00:00
update to version 0.7
This commit is contained in:
parent
7587e65a3a
commit
84c6ab76e0
29 changed files with 58 additions and 38 deletions
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>mage-root</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<groupId>org.mage</groupId>
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
<dependencySet>
|
||||
<outputDirectory>/lib/</outputDirectory>
|
||||
<excludes>
|
||||
<exclude>org.mage:Mage-Client</exclude>
|
||||
<exclude>org.mage:Mage-Theme-Plugin</exclude>
|
||||
<exclude>org.mage:Mage-Card-Plugin</exclude>
|
||||
<exclude>org.mage:Mage-Counter-Plugin</exclude>
|
||||
|
|
|
@ -111,7 +111,7 @@ public class MageFrame extends javax.swing.JFrame {
|
|||
*/
|
||||
public MageFrame() {
|
||||
|
||||
setTitle("Mage, version 0.6.1");
|
||||
setTitle("Mage, version 0.7");
|
||||
|
||||
EDTExceptionHandler.registerExceptionHandler();
|
||||
addWindowListener(new WindowAdapter() {
|
||||
|
|
|
@ -77,7 +77,7 @@ public class AboutDialog extends MageDialog {
|
|||
}
|
||||
});
|
||||
|
||||
jLabel1.setText("MAGE client, version 0.6.1");
|
||||
jLabel1.setText("MAGE client, version 0.7");
|
||||
|
||||
lblVersion.setText("version");
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>mage-root</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>Mage-Common</artifactId>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>Mage-Plugins</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>Mage-Card-Plugin</artifactId>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>Mage-Plugins</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>Mage-Counter-Plugin</artifactId>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>Mage-Plugins</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<groupId>org.mage</groupId>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>Mage-Plugins</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>Mage-Theme-Plugin</artifactId>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>mage-root</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>Mage-Plugins</artifactId>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>Mage-Server-Plugins</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>Mage-Deck-Constructed</artifactId>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>Mage-Server-Plugins</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>Mage-Deck-Limited</artifactId>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>Mage-Server-Plugins</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>Mage-Game-FreeForAll</artifactId>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>Mage-Server-Plugins</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>Mage-Game-TwoPlayerDuel</artifactId>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>Mage-Server-Plugins</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>Mage-Player-AI-MA</artifactId>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>Mage-Server-Plugins</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>Mage-Player-AI</artifactId>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>Mage-Server-Plugins</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>Mage-Player-AIMinimax</artifactId>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>Mage-Server-Plugins</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>Mage-Player-Human</artifactId>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>Mage-Server-Plugins</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>Mage-Tournament-BoosterDraft</artifactId>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>Mage-Server-Plugins</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>Mage-Tournament-Sealed</artifactId>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>mage-root</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>Mage-Server-Plugins</artifactId>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>mage-root</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>Mage-Server</artifactId>
|
||||
|
@ -87,6 +87,12 @@
|
|||
<artifactId>Mage-Player-AIMinimax</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>Mage-Player-AI-MA</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
|
@ -94,6 +100,12 @@
|
|||
<version>${project.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>Mage-Tournament-Sealed</artifactId>
|
||||
<version>${project.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<pluginRepositories>
|
||||
|
|
|
@ -3,20 +3,22 @@
|
|||
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../Config.xsd">
|
||||
<server serverAddress="localhost" serverName="mage-server" port="17171" maxGameThreads="10" maxSecondsIdle="600"/>
|
||||
<playerTypes>
|
||||
<playerType name="Human" jar="mage-player-human.jar" className="mage.player.human.HumanPlayer"/>
|
||||
<playerType name="Computer - default" jar="mage-player-ai.jar" className="mage.player.ai.ComputerPlayer"/>
|
||||
<playerType name="Computer - minimax" jar="mage-player-aiminimax.jar" className="mage.player.ai.ComputerPlayer2"/>
|
||||
<playerType name="Computer - minimax hybrid" jar="mage-player-aiminimax.jar" className="mage.player.ai.ComputerPlayer3"/>
|
||||
<playerType name="Human" jar="Mage-Player-Human-${project.version}.jar" className="mage.player.human.HumanPlayer"/>
|
||||
<playerType name="Computer - default" jar="Mage-Player-AI-${project.version}.jar" className="mage.player.ai.ComputerPlayer"/>
|
||||
<playerType name="Computer - minimax" jar="Mage-Player-AIMinimax-${project.version}.jar" className="mage.player.ai.ComputerPlayer2"/>
|
||||
<playerType name="Computer - minimax hybrid" jar="Mage-Player-AIMinimax-${project.version}.jar" className="mage.player.ai.ComputerPlayer3"/>
|
||||
<playerType name="Computer - mad" jar="Mage-Player-AI-MA-${project.version}.jar" className="mage.player.ai.ComputerPlayer6"/>
|
||||
</playerTypes>
|
||||
<gameTypes>
|
||||
<gameType name="Two Player Duel" jar="mage-game-twoplayerduel.jar" className="mage.game.TwoPlayerMatch" typeName="mage.game.TwoPlayerDuelType"/>
|
||||
<gameType name="Free For All" jar="mage-game-freeforall.jar" className="mage.game.FreeForAllMatch" typeName="mage.game.FreeForAllType"/>
|
||||
<gameType name="Two Player Duel" jar="Mage-Game-TwoPlayerDuel-${project.version}.jar" className="mage.game.TwoPlayerMatch" typeName="mage.game.TwoPlayerDuelType"/>
|
||||
<gameType name="Free For All" jar="Mage-Game-FreeForAll-${project.version}.jar" className="mage.game.FreeForAllMatch" typeName="mage.game.FreeForAllType"/>
|
||||
</gameTypes>
|
||||
<tournamentTypes>
|
||||
<tournamentType name="Booster Draft" jar="mage-tournament-booster-draft.jar" className="mage.tournament.BoosterDraftEliminationTournament" typeName="mage.tournament.BoosterDraftEliminationTournamentType"/>
|
||||
<tournamentType name="Elimination Booster Draft" jar="Mage-Tournament-BoosterDraft-${project.version}.jar" className="mage.tournament.BoosterDraftEliminationTournament" typeName="mage.tournament.BoosterDraftEliminationTournamentType"/>
|
||||
<tournamentType name="Sealed Elimination" jar="Mage-Tournament-Sealed-${project.version}.jar" className="mage.tournament.SealedEliminationTournament" typeName="mage.tournament.SealedEliminationTournamentType"/>
|
||||
</tournamentTypes>
|
||||
<deckTypes>
|
||||
<deckType name="Constructed" jar="mage-deck-constructed.jar" className="mage.deck.Constructed"/>
|
||||
<deckType name="Limited" jar="mage-deck-limited.jar" className="mage.deck.Limited"/>
|
||||
<deckType name="Constructed" jar="Mage-Deck-Constructed-${project.version}.jar" className="mage.deck.Constructed"/>
|
||||
<deckType name="Limited" jar="Mage-Deck-Limited-${project.version}.jar" className="mage.deck.Limited"/>
|
||||
</deckTypes>
|
||||
</config>
|
||||
|
|
|
@ -23,20 +23,26 @@
|
|||
<include>org.mage:Mage-Game-TwoPlayerDuel</include>
|
||||
<include>org.mage:Mage-Player-AI</include>
|
||||
<include>org.mage:Mage-Player-AIMinimax</include>
|
||||
<include>org.mage:Mage-Player-AI-MA</include>
|
||||
<include>org.mage:Mage-Player-Human</include>
|
||||
<include>org.mage:Mage-Draft-8PlayerBooster</include>
|
||||
<include>org.mage:Mage-Tournament-BoosterDraft</include>
|
||||
<include>org.mage:Mage-Tournament-Sealed</include>
|
||||
</includes>
|
||||
</dependencySet>
|
||||
<dependencySet>
|
||||
<outputDirectory>/lib/</outputDirectory>
|
||||
<excludes>
|
||||
<exclude>org.mage:Mage-Server</exclude>
|
||||
<exclude>org.mage:Mage-Deck-Constructed</exclude>
|
||||
<exclude>org.mage:Mage-Deck-Limited</exclude>
|
||||
<exclude>org.mage:Mage-Game-FreeForAll</exclude>
|
||||
<exclude>org.mage:Mage-Game-TwoPlayerDuel</exclude>
|
||||
<exclude>org.mage:Mage-Player-AI</exclude>
|
||||
<exclude>org.mage:Mage-Player-AIMinimax</exclude>
|
||||
<exclude>org.mage:Mage-Player-AI-MA</exclude>
|
||||
<exclude>org.mage:Mage-Player-Human</exclude>
|
||||
<exclude>org.mage:Mage-Tournament-BoosterDraft</exclude>
|
||||
<exclude>org.mage:Mage-Tournament-Sealed</exclude>
|
||||
</excludes>
|
||||
</dependencySet>
|
||||
</dependencySets>
|
||||
|
|
|
@ -55,7 +55,7 @@ public class Main {
|
|||
|
||||
private final static String testModeArg = "-testMode=";
|
||||
private final static String pluginFolder = "plugins";
|
||||
private final static String version = "0.6.1";
|
||||
private final static String version = "0.7";
|
||||
|
||||
public static PluginClassLoader classLoader = new PluginClassLoader();
|
||||
public static ServerImpl server;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>mage-root</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<groupId>org.mage</groupId>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>mage-root</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>Mage-Tests</artifactId>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<parent>
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>mage-root</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>Mage</artifactId>
|
||||
|
|
5
pom.xml
5
pom.xml
|
@ -6,7 +6,7 @@
|
|||
|
||||
<groupId>org.mage</groupId>
|
||||
<artifactId>mage-root</artifactId>
|
||||
<version>0.6</version>
|
||||
<version>0.7</version>
|
||||
<packaging>pom</packaging>
|
||||
<name>Mage Root</name>
|
||||
<description>Mage Root POM</description>
|
||||
|
@ -19,7 +19,6 @@
|
|||
<module>Mage.Client</module>
|
||||
<module>Mage.Plugins</module>
|
||||
<module>Mage.Server.Plugins</module>
|
||||
<module>Mage.Tests</module>
|
||||
</modules>
|
||||
|
||||
<repositories>
|
||||
|
@ -35,6 +34,6 @@
|
|||
</repositories>
|
||||
|
||||
<properties>
|
||||
<mage-version>0.6</mage-version>
|
||||
<mage-version>0.7</mage-version>
|
||||
</properties>
|
||||
</project>
|
||||
|
|
Loading…
Reference in a new issue