Skip to content

Automated advice tool for the ZUnivers card game (not affiliated)

Notifications You must be signed in to change notification settings

AlexPresso/ZUnivers-Ninja

Repository files navigation

logo

This project aims to suggest to one (or more) users: the best actions scenario to take. It's currently based on a recursive method which always tries projections until it cannot do anything more than the previous iteration.

I'm planning to move the projection system to a tree calculation system, generating all possible scenarios and returning the one providing the best score.

Disclaimer

This project is not affiliated with the ZUnivers's project. It's a community project.

Features

  • !journa projection
  • !recycle projection
  • !fusion projection
  • !upgrade projection
  • !im projection (with boosters and current event priority)
  • !craft projection
  • !ascension projection
  • ✅ challenges projection
  • ✅ evolution projection
  • ✅ constellation projection
  • ✅ 'chromas' projection
  • ✅ corporations projection
  • ✅ plugin system
  • (Soon) auto subscription based on a rentability check

Usage / Deployment

Kubernetes

For Kubernetes clusters, there is a helm chart available in helm.alexpresso.me, see default values.yaml file

Docker

  • Download the docker-compose.yml file (docker-compose.yml example)
  • Set a Neo4J password in docker-compose.yml (i.e: NEO4J_AUTH=neo4j/MyVeryStrongPassword)
    • Don't forget to put the same password for zunivers-ninja's NEO4J_PASSWORD
  • (Optional) Set a Discord Webhook endpoint if you want to receive advices directly inside a Discord Channel.
  • Run docker compose up -d

Manual deployment

  • Setup a Neo4J database (docker-image)
  • (Choose between A or B):
    • A. Clone the repo and build the jar with mvn package
    • B. Download the zunivers-ninja-<version>-exec.jar from the package artifacts page
  • Create a /config directory next to the built jar
  • Create a /config/application.yml file (config file example)
  • Run the app (java -jar zunivers-ninja-<version>-exec.jar or mvn spring-boot:run)

Making plugins

The app supports plugins, by loading every jar files in a /plugins directory.
See the zuninja-plugin-example project.