Skip to content

Web app that calculates the cheapest solutions for FIFA Ultimate Team SBCs by leveraging combinatorics and web workers

License

Notifications You must be signed in to change notification settings

mabenj/SbcCruncher

Repository files navigation

SBC Cruncher banner

SBC Cruncher

Calculate the cheapest combination of player ratings for Ultimate Team SBC solutions

Netlify Status Google play

Introduction

SBC Cruncher is a website that helps you find the cheapest player ratings to reach a specific target rating in FIFA (EA Sports FC) Ultimate Team. This is particularly useful for completing SBCs, as it allows you to specify the ratings of the players you already have and plan to use in the SBC (aka, fodder). It also has the capability to automatically retrieve player rating prices from Futbin and Futwiz, removing the need for manual input of prices for each rating.

How it works

tl;dr brute force

  1. Given the existing player ratings and the range of ratings to try, all possible combinations of these ratings are computed. In other words, all possible teams made up of the existing ratings plus all the possible multisubsets (unordered sets with repetition of elements) of the ratings to try.
  2. All rating combinations that have a rating lower than the target are then filtered out.
  3. Lastly, each combination of ratings is assigned a price based on the user or Futbin-defined prices, after which, it is only a matter of displaying the cheapest combinations of ratings.

See solver.worker.ts for more details.

Tech used

  • Next.js, TypeScript
  • MongoDB, Mongoose
  • Web Workers
  • Chakra UI

About

Web app that calculates the cheapest solutions for FIFA Ultimate Team SBCs by leveraging combinatorics and web workers

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project