Code Monkey home page Code Monkey logo

balatro-preview's Introduction

Divvy's Preview for Balatro

Simulate the score and the dollars that you will get by playing the selected cards!

Installation

  1. Install Steamodded
  2. Download the latest release of this mod, here.
  3. Copy the downloaded folder to C:\Users\[USER]\AppData\Roaming\Balatro\
  4. Launch the game!

Features

  • Score and dollar preview without side-effects!
  • Updates in real-time when changing selected cards, changing joker order, or using consumables!
  • Can preview score even when cards are face-down!
  • Perfectly predicts random effects...
  • ... or not! There is an option to show the minimum and maximum possible scores when probabilities are involved!

See It In Action

Demonstration for the preview updating in real-time.

 

Demonstration for the preview being hidden with face-down cards.

 

Demonstration for the preview updating in real-time, pay attention to the dollars.

Use My Simulation!

If you are a mod developer, feel free to copy the Mods\DVSimulate.lua file to your mod and use the simulation function! Ideally, I would like DVSimulate.lua to be a sort of library for mods to use, but I have not yet looked into the best ways to make that work with Steamodded. If you have ideas, feel free to open an issue.

Mod Compatibility

This mod is focused only on vanilla Balatro. If you find errors in score calculation that seem to involve another mod, you may open an issue here, but I will not fix it unless it is a very popular mod. Instead, I should hopefully work with other mod developers to make it as easy as possible to adjust the simulation for compatibility. It should be as easy as checking whether DV.SIM is defined and then creating custom advice for the DV.SIM.run(..) function. To be clear, this would be placed in the other mod. Unfortunately, this approach depends on the order in which mods are loaded, so if you know how to influence that, let me know by opening an issue.


Buy Me A Coffee

balatro-preview's People

Contributors

divvycr avatar erijohnt avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.