roam/20230627235323-xmage.org

28 lines
586 B
Org Mode
Raw Permalink Normal View History

2023-06-28 04:07:17 +00:00
:PROPERTIES:
:ID: 01663abf-a6c3-434d-a710-bcbcddfdcc1e
:END:
#+title: XMage
An open-source implementation of [[id:d5efa5bd-dac9-4ef5-b352-a2b794a37bd0][Magic: The Gathering]].
* Developing
** Requirements
- JDK 1.8+
- Maven
Ensure the correct JDK is set:
: export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
To build, use:
: mvn clean install -DskipTests
To run the server:
#+begin_src sh
cd Mage.Server
mvn exec:java -Dexec.mainClass=mage.server.Main
#+end_src
To run the client:
#+begin_src sh
cd Mage.Client
mvn exec:java -Dexec.mainClass=mage.client.MageFrame
#+end_src