mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
Magic Another Game Engine
5ac975c52e
* fixed https://sonarcloud.io/project/issues?id=org.xmage%3Amage-root&issues=AWIlv32RgrzAwlaaQ7rP&open=AWIlv32RgrzAwlaaQ7rP * ensure closing of scanner if it was opened * Refactored method in EmpyrialArchAngel to not always return same value. * Refactored method in FalkenrathAristocrat to not always return same value. * Refactored method in GilderBairn to not always return the same value. * fixed left open resources, ensured quiet closing of the streams * Refactored method in IceCave to not always return same value. * Refactored method in KjeldoranRoyalGuard to not always return same value. * Refactored method in LegionsInitiative to not always return same value. * Refactored method in NaturesWill to not always return same value. * added quiet closing method in new streamutils class, used to clean up the connectdialog * Fix small typo * added quiet closing to saveobjectutil * closed resources in savegame method of gamecontroller * properly close resources in loadGame method of GameReplay class * further proper resource closing in ServerMessagesUtil * fixed unclosed resources in copy method in mage framework Copier * closed unclosed resources in copyCompressed method in Copier * ensure closing of filewriter in manasymbols * ensure proper closing of Stream in arcane UI * ensure closing of datagram socket in arcane Util * ensure resource closing in deckimport from clipboard * ensure closing of plugin classloader * ensured closing of zipinputstream resource * ensure closing of fileoutputstream in ScryfallSymbolsSource * ensure closing resources after finishing/canceling download of pictures * remove commented code * move locks to try block to ensure unlocking along all execution paths * remove dangerous instance of double-checked locking * removed dangerous instance of double checked locking in settingsmanager * Removed dangerous instance of double-checked locking in ThemePluginImpl * close resource which did not happen certainly * close another stream * ensure closing of inputstream |
||
---|---|---|
Mage | ||
Mage.Client | ||
Mage.Common | ||
Mage.Plugins | ||
Mage.Server | ||
Mage.Server.Console | ||
Mage.Server.Plugins | ||
Mage.Sets | ||
Mage.Stats | ||
Mage.Tests | ||
Mage.Updater | ||
Mage.Verify | ||
repository/com/googlecode/jspf/jspf-core | ||
Utils | ||
.gitignore | ||
.travis.yml | ||
clean_dbs.sh | ||
mageadmin.log | ||
pom.xml | ||
readme.md |
XMage — Magic, Another Game Engine
XMage allows you to play Magic against one or more online players or computer opponents. It includes full rules enforcement for over 16950 unique cards (over 328000 counting all cards from different editions). Starting with Morningtide, all regular sets have nearly all the cards implemented.
There are public servers where you can play XMage against other players. You can also host your own server to play against the AI and/or your friends.
XMage community:
- Official XMage forum;
- Official XMage support and feature request on github;
- Reddit XMage group;
- Reddit XMage discord channel.
Features
- Deck editor (load and save decks)
- Simple computer AI opponent
- Two player duel or a multiplayer free-for-all game with up to 10 players
- Supports special formats like Commander (up to 10 players), Cube, Tiny Leaders, Super Standard, Historic Standard
- There are two tournament types supported (elimination or swiss type handling), which can be played with up to 16 players:
- Booster (also Cube) draft tournaments (4-16)
- Sealed (also from Cube) tournaments (2-16)
Installation
Download and install the latest XMage release. You will need to have Version 7 or later of the Java Runtime Environment.
Look here for more detailed instructions. Here you can find a log of the latest changes.
Developer
If you are interested in developing XMage, here are some useful resources: