Push the Front is a card game in which two players compete on a board with 6 tiles, aiming to push the front to the base of the enemy
- If you don't have a functional venv, create a python venv and install all requirements in requirements.txt
- Activate python venv
- Ensure you are in the root directory of the project (i.e. the same directory as this README)
- Ensure your json file is in the folder
json_in
- Use command
python src\main.py <name-of-your-json>
to create cards from json file,
Or use commandpython src\main.py <name-of-your-json> d
to deck images that can be imported into tss - Navigate to directory
img_out\<name-of-your-json>\
to look for your generated images
- The input json files should be in format UTF-8, else there would be error
- All json files in
json_in\
with name that starts withtest
will be gitignored
- Card ids should be the English names of the cards