I would like to share a tool I developed to calculate the times needed with each car to reach the leader of the race. Source code and more info is on my github. I need to thank
@Duplode and
@alanrotoi for their help in the process of creating the tool.
https://github.com/aerikbarros/wiba/releases/tag/1.0b
Can you use it for any current time on the scoreboard? Since the time to beat nr1 is not really useful for me.
But CAS has a similar style as I, I sometimes can beat him..
Quote from: Erik Barros on May 25, 2023, 04:42:44 AMI would like to share a tool I developed to calculate the times needed with each car to reach the leader of the race. Source code and more info is on my github. I need to thank @Duplode and @alanrotoi for their help in the process of creating the tool.
https://github.com/aerikbarros/wiba/releases/tag/1.0b
Great work! Is it possible to integrate the tool into the website? :)
Quote from: Daniel3D on May 25, 2023, 12:16:39 PMCan you use it for any current time on the scoreboard? Since the time to beat nr1 is not really useful for me.
But CAS has a similar style as I, I sometimes can beat him..
yes it is possible, I am thinking of a version that receives information from everyone in the table and from which to choose which competitor to make the comparison.
Quote from: Argammon on May 25, 2023, 02:53:34 PMQuote from: Erik Barros on May 25, 2023, 04:42:44 AMI would like to share a tool I developed to calculate the times needed with each car to reach the leader of the race. Source code and more info is on my github. I need to thank @Duplode and @alanrotoi for their help in the process of creating the tool.
https://github.com/aerikbarros/wiba/releases/tag/1.0b
Great work! Is it possible to integrate the tool into the website? :)
I wrote this program in Python, I could make a frontend to display the results or embed it in some existing website
In case of integration, I'm thinking the site could remember which cars we tend to prefer and, based on the bonuses and the user currently logged in, suggest one to three cars and what lap time you need to get to the next pipsqueak in the scoreboard (to you) and the one following
I thought more like. A button on every scoreboard line. When you press it you get a pop-up or field below the scoreboard with the list as shown above for each car in relation to the chosen replay.
I think something of that sort had been proposed some time ago. Say, you select a car and the page reloads, then, on hovering on top of the lap times, you can see the equivalent lap with the selected car
Quote from: Cas on May 26, 2023, 10:41:02 PMI think something of that sort had been proposed some time ago. Say, you select a car and the page reloads, then, on hovering on top of the lap times, you can see the equivalent lap with the selected car
I'm hesitant adding even more tables to the scoreboard page, but I'll think about alternatives. There is probably a decent visualisation that can show similar details 🤔
Quote from: dreadnaut on May 28, 2023, 11:20:42 AMI'm hesitant adding even more tables to the scoreboard page, but I'll think about alternatives. There is probably a decent visualisation that can show similar details 🤔
Yes, I would be too. Maybe something that would lead to a separate page for that purpose so that the site itself doesn't get too convoluted.
I've updated the code, now it's possible to get the time of anyone in the scoreboard. It has a compiled version for windows, it is no longer necessary to open it at the prompt.
Very neat! That's really useful! :)