🚀 Splinter-lands Tool Update – Castles, Players, and Self-Sufficiency!


Hey everyone! I just pushed out a brand-new version of the Splinterlands land tool, and I’m super hyped to share what’s new.

You can try it out right here:
👉 https://splinter-lands.streamlit.app/

This update includes three major features:

  • 🏰 Castle and Keep Overview
  • 👤 Player Overview
  • ⚖️ Updated Self-Sufficiency Calculation

These were all on my to-do list for a while, and while the Player Overview took a bit longer than expected (frontend struggles 😅), I’m really happy with how everything came together. Let’s break it down.

🏰 Castle and Keep Overview

Ever wondered which castles and keeps are collecting the highest taxes? Same here. I wanted a better way to visualize which castles look great on paper—but might not actually be earning much because there’s not enough active production around them.

With the new view, you can now:

  • Compare castles/keeps side-by-side across regions
  • Zoom in on a single region to break it down tract by tract
  • Filter by your favorite region or tract

Compare two regions
Note you can zoom in with drag and drop (double click is reset), this is for all graphs on the site btw

image.png

If you select only one region all Keeps will be shown side by side

Tract compare
Notice that tact 10 is missing that is because there you can find the castle:

image.png

It’s not perfect yet, but it’s a great start and should make the tax meta a lot more transparent.

👤 Player Overview

This one is probably my favorite—and definitely the one that ate the most dev time. I always loved the view in the BaronsToolbox, unfortunately not maintained, so I built my own version of it!

Enter an account name and you’ll see how their plots are set up, including:

  • Land types and buildings
  • Bonusses
  • Staked cards
  • Construction status
  • Production details

image.png

You can also filter to show stuff like only plots that are under construction, all with one click.

image.png

I'm more into data than frontend work (can’t lie 😅), but I think it came out pretty decent. Let me know if anything looks off or breaks!

⚖️ Self-Sufficiency: Now a Little More Honest

The self-sufficiency score got a bit of a rework. I noticed the old version was being a bit too kind to players who were in the red on resources. So here’s the new logic:

net_vals = list(dec_net.values())
net_sum = sum(net_vals)
total_activity = sum(abs(v) for v in net_vals)
if net_sum >= 0:
    self_sufficiency_score = 100
elif total_activity == 0:
    self_sufficiency_score = 0  # Edge case: all zeros
else:
    imbalance_ratio = abs(net_sum) / total_activity
    self_sufficiency_score = max(0, 100 - imbalance_ratio * 100)
color = "green" if self_sufficiency_score > 80 else "orange" if self_sufficiency_score > 50 else "red"

🧮 So what’s actually going on?

Let’s break it down:

  • net_vals = the net DEC value per resource (positive or negative)
  • net_sum = the total sum across all resources
  • total_activity = the sum of the absolute values (total movement, regardless of direction)
  • imbalance_ratio = how far off you are from balance, based on total activity

This gives you a ratio that captures how skewed your production is. If you're producing a lot and only slightly negative, you’ll still score fairly well. But if you're deeply negative, the score tanks accordingly.

For example:

  • If you produce total 1000 and total only -100, you’re mostly good → score stays high.
  • If you're at total production 50 and -40 on cost, the imbalance is much larger relative to your activity → score drops harder.

We then subtract that ratio from 100 and clamp it to make sure it doesn’t go negative. The result is a score from 0 to 100, with a simple color badge:

  • ✅ Green = Good (>80)
  • 🟧 Orange = Okay-ish (>50)
  • 🔴 Red = Oof (<50)

💡 Nerd Challenge!
If you're into math or data science and have a better idea for how to calculate self-sufficiency based on multiple values (some positive, some negative), I’d love to hear it! Maybe there's a cleaner or more statistically solid way to handle this. Let me know your thoughts in the comments or drop an issue on GitHub!

image.png
Note to take into account the taxes and potential transfer fees they can really make the difference.
Small extra in this overview i added the number of worksite you have for each resource between the ()

image.png

Sorry @bjangles —you got called out with a deficit there 😅

🎁 Small Bonus: Sidebar Shuffle

For those paying close attention—you might’ve noticed a small UI tweak: the filter bar has moved from the right side to the left sidebar.

This change was mainly to help with the mobile experience. On smaller screens, it was getting a bit cramped with the filters floating awkwardly on the right. The sidebar approach makes it more consistent and accessible.

That said... I still prefer using the tool on a PC. With all the charts, graphs, and data flying around, the desktop experience just feels way smoother and easier to navigate. But hey—now it’s at least more usable on your phone if you want to sneak in a quick land scan while you're away from the keyboard. 😄

🔧 A Quick Note on the Project

Just as a reminder: this is a hobby project built in my spare time on free services (Streamlit + Supabase), so it might hit some usage limits from time to time. If that happens, I’ll explore other hosting options. Until then i try to have it running for free 😍

And yes, it’s still actively being developed, so bugs and improvements are part of the ride.

💡 Got Ideas? Spot a Bug?

This tool is open source, and I’d love for it to grow with help from the community.

📂 GitHub repo:
https://github.com/gamerbeaker007/splinter-lands

If you have ideas, feedback, or see something funky—just drop a comment and I’ll check it out. Let’s make this tool even better together!

That’s it for now! Hope you enjoy the updates, and I’ll see you all on the battlefield! 🧙‍♂️⚔️

Do you also want to be part of this amazing play to earn game consider using my referral link.



0
0
0.000
14 comments
avatar

Great project man, thanks for the hard work!

0
0
0.000
avatar

Thanks @nozem01, you also keep on writing content and exploring the splinterlands world. 🍻

0
0
0.000
avatar

This site is just incredible: I'm not a land owner, but I wish I was one just to use that site 😅

0
0
0.000
avatar

Thanks, its not to late to join the land party enough plot available 😅.

0
0
0.000
avatar

Problem is thatthen I would need to buy some workers... I fear I will run out of money before having my plot going 🤣

Maybe one day, if I'm a bit lucky with the next cards I'm going to purhcase! :)

0
0
0.000
avatar

staked DEC is often my hurdle.. common rewards cards are pretty cheap still, just to get it started. over time i hope to let it grow and stake more better cards etc.

0
0
0.000
avatar

Haha! Happy to be the guinea pig here - bonus points for being the example of an account that needs to improve their land-resource allocation :D

Great work, as usual, Beaker!

0
0
0.000
avatar

Thanks, @bjangles! You keep up the great work you're doing for Splinterlands too. I really enjoyed the Town Hall with the influencers — such a great vibe there!

0
0
0.000
avatar

Thanks Beaker! And yea, man, that was a lotta fun - already lookin forward to the next one to see some of our other great content creators out there have some fun!

0
0
0.000