Week 0 Release
After going through the official week 0 event, I have made some improvements to the site which I will detail below.
For the week 0 analysis, see: https://scout.valor6800.com/event.html?event=2022week0
Cargo Exit Breakdown
Inspired by the discussion in the following thread: Hub return distribution
I added cargo exit breakdown to the site. A button next to each team for every event will have that team’s cargo breakdown for their tournament. Note that this is the total number of cargo scored for alliances that a team has been on. I think this may be incredibly informant for some drive teams and drive coaches. Use at your own discretion.
There is a key on the page as well which explains what ‘Front’, ‘Back’, ‘Left’, and ‘Right’ mean in the cargo breakdown. This was done so that I could synchronize the data regardless of red or blue alliance play
URL reformatting (Enabling the Back button)
If you ever hit the back button on the site before, you may have noticed it didn’t really work. That is because I show/hide divs based on the state of the site. This wasn’t ideal so I refactored all of it…
Now the URLs change on every click, which allows a few things:
- Back button should work now
- Bookmarking a specific page will bookmark the event/team that is currently shown
Example:
This URL shows the team page for team 58 in the 2022week0 event.
This may seem minor but it was very frustrating when constantly trying to lookup team stats after every match as a drive coach.
Code Utilization and Documentation
I am opening up the source code for all of this so anyone can use it. Please credit my work if you do decide to use the source code.
Documentation will be uploaded later this week. But for now, you can start to use it by following the instructions here: