This module contains all the cards available in this game.
See Matag: The Game wiki
Read Requisites
If you are brave enough and want to add a missing card, here's some tips.
Cards are in cards/src/main/resources.
They are in json format and it's a bit of a guessing game figuring out what abilities have already been implemented. The best thing is to perform a text search on this folder for a similar card.
Few steps to follow:
- Create a new JsonFile with the exact name of the card.
- Fill just the name.
- Run
LinkerTest.scryFallLinker()
. This will all basic card details (not the abilities). - Populate the abilities accordingly (this is the hardest part).
After a card is coded is a very good idea to test it by importing the cards
artifact into game
starting the app in test mode:
- adding the
-Dspring.profiles.active=test
profile in the maven command or intellij startup command - modifying the
ProdInitTestService
class by setting the board as you would like to start your test.