Splinterlands Meta Snapshot Update 04-08

avatar

Hey splinter maniacs, I have continued working on the statistics app, fixed some bugs and improved some things to make a much more complete tool, I hope you like these changes.

Remember that you can visit the application in this link:
https://splinterlands-meta-snapshoot.herokuapp.com



Home page

Instead of going directly to the table with the statistics, I have designed a home page that shows the summoner and 3 monsters with the best winrate statistics, to welcome the users.

This home page has a reason that goes beyond the aesthetic and is that it serves as an excuse to update the file that contains the statistics of the battles and then show the updated information while you browse through the application, this I did because I realized that heroku does not allow me to change the files permanently and then had to manually update the table each time it was consulted, this now does it automatically by the home page.

Aesthetic changes

I've made the navigation bar stay at the top of the page so that you can navigate more easily while viewing the table in depth. I have also placed some buttons at the bottom of the page to browse the site.

I have changed some colors to make the page look a little more harmonious, or at least I think so.





Friendlier filters

I changed the way to select the filters to display the table, instead of the obnoxious drop-down menus, I have placed 2 groups of filters based on buttons with the images of the leagues, rules, etc. now you can select or deselect these buttons at your convenience to review different types of statistics.

This is one of the changes that I liked the most, the drop-down menus didn't convince me, and this button system seems much more friendly and intuitive.

Some bugs fixed

There were some errors in the calculation of the statistics when applying various filters, I have reviewed and corrected the algorithm that calculates the % of use, winrate and number of battles and now works correctly.






Upload battles to the database

Now you can upload the battles of a player to the cloud database, for this you only have to place the username and press the button (or press enter) this will analyze the last 50 battles of that player and upload to the database those battles that meet the level criteria.

You can also upload a larger number of battles through the following address:

https://splinterlands-meta-snapshoot.herokuapp.com/multipleload/"username"

This will create a loop that will load the user's battles and then the battles of their opponents until they load the battle statistics of 50 users.



What's next?


Well, after doing all these improvements and being a little more satisfied with the app, I thought to take a break and study a little more about javascript and several frontend concepts that I still don't master very well, and then resume the project and improve its performance. However, yesterday I read the post from @Splinterlands and I must update the application to work properly with the addition of the new rulesets. So I have some work to do.

I'll be walking around the site looking for any possible mistakes I didn't notice and checking the elements to redo them in a more efficient way if possible.

Maybe also add some contact details like discord, twitter, etc. and a link to the game.

I am also open to any possible proposal from you, this is a tool made for the Splinterlands community and I would like to know how you would like to improve it.


Thank you very much for reading this post and don't hesitate to leave your comment. See you in the game.

Link to the app:
https://splinterlands-meta-snapshoot.herokuapp.com





The images used in this post belong to or are inspired by Splinterlands. a TCG game integrated to the STEEM Blockchain.



0
0
0.000
7 comments
avatar

He said, 'Stop doing wrong things and turn back to God! The kingdom of heaven is almost here.'(Matthew 3:2)

Question from the Bible, Do you need to go to Church to practice a religious ritual in your life? [Part 2 of 2]

Watch the Video below to know the Answer...
(Sorry for sending this comment. We are not looking for our self profit, our intentions is to preach the words of God in any means possible.)


Comment what you understand of our Youtube Video to receive our full votes. We have 30,000 #HivePower, It's our little way to Thank you, our beloved friend.
Check our Discord Chat
Join our Official Community: https://peakd.com/c/hive-182074/created

0
0
0.000
avatar

OMG! This is getting so awesome!
I just spent some time clicking around and I love it!

But... I couldn't get the LOAD YOUR BATTLES page to bring anything up...

0
0
0.000
avatar

Hi Carrie, thanks for your support and for taking the time to test the site.

But... I couldn't get the LOAD YOUR BATTLES page to bring anything up...

That's strange, it worked for me at least to load data from one user.
Does the page show you any messages when you try to upload the battles or does it just keep reloading?

0
0
0.000
avatar
(Edited)

It seems to work... but then doesn't.
I just tried a few more times... still doing the same thing.

I enter in a name, click upload battles and get this image :
Screenshot 713.png

My name disappears and PLAYER is replaced in the spot (after I clicke upload battles). I tried with a few different people... same thing.

0
0
0.000
avatar

Oh, I see, it's working fine... well, at least it's not a bug in itself, what happens is that within the last 50 battles of that player, the system has not found any fight in which all the characters of both teams meet the minimum level criteria.

I think I should have been a little more specific in the message when that case happened, it's a change I'll make for sure.

If you try someone who's in the champion league the app is sure to pick up a few battles without a hitch, and it is easier to load battles in the first days of seasons when our monster levels are generally more in line with the league we are in.

0
0
0.000