Skip to content

MistaRae/Manalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 

Repository files navigation

Manalyzer is a deck building utility app for magic the gathering.

Its purpose is to allow newcomers and experienced players alike to experiment with different deck variations and rapidly evaluate viability for competitive or social play.

Installing the app.

  • Fork & Clone the repo as normal.

  • Install dependencies using npm install.

  • Install android studio.

  • Create a virtual device using the Android Virtual Device (AVD) manager: (you may have to create a project to do this)

    1. Select the Tools drop down menu.
    2. Select AVD Manager.
    3. Select create virtual device.
    4. Select your desired device to emulate and click next.
    5. You can change certain settings on the next page, the app was developed on a pixel 4 XL emulator running R ar API level 30.
    6. Click on the green play button in the AVD manager to launch your emulator.
  • Run the backend server:

    1. Download and run IntelliJ -the community version is available for free.
    2. Open the server directory as a project in intelliJ (file path ~/{yourfilepath}/SkullTap/server) and run the server app by pressing the green play button. (to ensure ensure that you are not running the tests, they have been commented out)
    3. Ensure that the sever is running, by checking the terminal window output states something like this: "Started ServerApplication in 6.575 seconds (JVM running for 7.489)".
  • Fetch commands in the client will need to have your IP address added to replace my own:

        const url = "http://{YOUR IP ADDRESSS GOES HERE}:8080/decks/" + deck_id + "/add-card"
        const request = new Request();
        request.post(url, currentCard)
        .then(data => navigate('SpecificDeck', 
        {deck_id: data.id}))}

(There are 5 such fetches in the client app, one each in NewDeckForm & AddCardToDeckScreen then three in DeckScreen).

  • Run the front end server by entering npm start or expo start in the client file directory. This may open a browser window which prompts you to select an emulator. click on Run on device/emulator. You can do the same from your terminal window by simply keying A for Android.

  • The app will now open on the emulator.

ENJOY! :)

About

An android app for analysing MTG decks. Built with Javascript, Java and React-Native

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors