Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   2017 STEAMworks Score Sheet (Calculator) (http://www.chiefdelphi.com/forums/showthread.php?t=153310)

JonKiddy 09-01-2017 15:54

2017 STEAMworks Score Sheet (Calculator)
 
Hello!

I built a mobile friendly website to do some scoring calculations. Feel free to leave a reply below if you find something wrong as I had to make a few assumptions/interpretations from the game manual. There some other wonderful scoring calculator alternatives already built by others, I thought I'd share mine.

Hosted on GitHub Pages:
https://nicholsschool.github.io/2017-Score-Sheet/

The code is up on GitHub:
https://github.com/NicholsSchool/2017-Score-Sheet

Good luck this year!

jaredhk 09-01-2017 16:31

Re: 2017 STEAMworks Score Sheet (Calculator)
 
You may want to look at the thread for my scoring calculator because some people brought up some great points about counting fractions.

engunneer 09-01-2017 16:34

Re: 2017 STEAMworks Score Sheet (Calculator)
 
as i am sure you are aware, there is some debate as to rotors spinning in auto counting in teleop. You''l have to wait for the rule update, but i would have a plan for that. The score would be (60*autorotors + (40*(telerotors-autorotors))) in that case

What are the seconds indicators? time to process the fuel? I like that you count high and low processing time separately.

I was confused by the 1s 5s 10s buttons. maybe change text to +/-1 +/-5 +/-10? There is a symbol for +/- , or you could label the button group. I thought at first it was related to seconds.

It took me quite a few seconds to find the output. Is there room to make the text bigger, or use a javascript transition to flash it when it changes?

there seems to be no way to remove fouls? also fouls allow a negative score.

Lastly, the plural of Fuel is Fuel

That may sound like a lot of criticism, but actually that's a very small bug list. Great work. Very useful! You covered nearly all of the test cases i could even think of.

engunneer 09-01-2017 16:36

Re: 2017 STEAMworks Score Sheet (Calculator)
 
Quote:

Originally Posted by jaredhk (Post 1628110)
You may want to look at the thread for my scoring calculator because some people brought up some great points about counting fractions.

As far as i can tell, he counted the fractions properly, even across Auto+teleop. I went looking for this specifically. Granted, they should still read your thread as there is good discussion about test cases.

JonKiddy 09-01-2017 16:45

Re: 2017 STEAMworks Score Sheet (Calculator)
 
Quote:

Originally Posted by jaredhk (Post 1628110)
You may want to look at the thread for my scoring calculator because some people brought up some great points about counting fractions.

That thread was very helpful in determining the correct way to count the fractions, including the fuel left over from auto. Thanks!

JonKiddy 09-01-2017 16:47

Re: 2017 STEAMworks Score Sheet (Calculator)
 
Quote:

Originally Posted by engunneer (Post 1628116)
as i am sure you are aware, there is some debate as to rotors spinning in auto counting in teleop. You''l have to wait for the rule update, but i would have a plan for that. The score would be (60*autorotors + (40*(telerotors-autorotors))) in that case

What are the seconds indicators? time to process the fuel? I like that you count high and low processing time separately.

I was confused by the 1s 5s 10s buttons. maybe change text to +/-1 +/-5 +/-10? There is a symbol for +/- , or you could label the button group. I thought at first it was related to seconds.

It took me quite a few seconds to find the output. Is there room to make the text bigger, or use a javascript transition to flash it when it changes?

there seems to be no way to remove fouls? also fouls allow a negative score.

Lastly, the plural of Fuel is Fuel

That may sound like a lot of criticism, but actually that's a very small bug list. Great work. Very useful! You covered nearly all of the test cases i could even think of.

Great constructive feedback. Thanks! It took a bit of work to get the calculations correct, especially the left over fuel from auto which still counts as a fractional score.

The README.md file on GitHub makes mention of some of my thought processes regarding some of the issues you brought up.

I'm certainly going to make some changes tonight based off your comments. Much appreciated!

JonKiddy 09-01-2017 16:58

Re: 2017 STEAMworks Score Sheet (Calculator)
 
Quote:

Originally Posted by engunneer (Post 1628116)

There is a symbol for +/- , or you could label the button group. I thought at first it was related to seconds.

Lastly, the plural of Fuel is Fuel

Changed the modifier buttons to +/-. Good idea!

Fixed the spelling mistake.

Thank you so much for your feedback. I plan on making some more modifications later.

JonKiddy 09-01-2017 20:38

Re: 2017 STEAMworks Score Sheet (Calculator)
 
Quote:

Originally Posted by engunneer (Post 1628116)
as i am sure you are aware, there is some debate as to rotors spinning in auto counting in teleop. You''l have to wait for the rule update, but i would have a plan for that. The score would be (60*autorotors + (40*(telerotors-autorotors))) in that case

What are the seconds indicators? time to process the fuel? I like that you count high and low processing time separately.

I was confused by the 1s 5s 10s buttons. maybe change text to +/-1 +/-5 +/-10? There is a symbol for +/- , or you could label the button group. I thought at first it was related to seconds.

It took me quite a few seconds to find the output. Is there room to make the text bigger, or use a javascript transition to flash it when it changes?

there seems to be no way to remove fouls? also fouls allow a negative score.

Lastly, the plural of Fuel is Fuel

That may sound like a lot of criticism, but actually that's a very small bug list. Great work. Very useful! You covered nearly all of the test cases i could even think of.

I made several subtle changes that address nearly everything you listed. I'll wait for an official determination regarding the rotors being double counted at the end of both auto/tele. Thanks for your input.

engunneer 09-01-2017 20:48

Re: 2017 STEAMworks Score Sheet (Calculator)
 
Great updates. If you want to be really clever and are willing to deal with my nitpicking..

Can you make the + and - button on each row change text to show the number to be added and subtracted? Technically when you have the +/- 5 button selected some elements still only adjust by 1 like rotors and baseline.

Thanks for the quick updates. I have a shortcut to it saved in the front folder on my phone. Very well done.

I also are somehow getting NaNs on 1.0.5 on my phone. Only happens on refresh and is fixed if I hit reset

JonKiddy 09-01-2017 21:39

Re: 2017 STEAMworks Score Sheet (Calculator)
 
Quote:

Originally Posted by engunneer (Post 1628266)
Great updates. If you want to be really clever and are willing to deal with my nitpicking..

Can you make the + and - button on each row change text to show the number to be added and subtracted? Technically when you have the +/- 5 button selected some elements still only adjust by 1 like rotors and baseline.

Thanks for the quick updates. I have a shortcut to it saved in the front folder on my phone. Very well done.

I also are somehow getting NaNs on 1.0.5 on my phone. Only happens on refresh and is fixed if I hit reset

v1.0.5 had a bug, sorry about that. Trying to do too much at once, overlooked a multiplier that needed to be initialized to 1.

Good idea about the +/-5 and +/- 10 indicators. All set! Take a look.

engunneer 09-01-2017 22:15

Re: 2017 STEAMworks Score Sheet (Calculator)
 
Quote:

Originally Posted by JonKiddy (Post 1628292)
v1.0.5 had a bug, sorry about that. Trying to do too much at once, overlooked a multiplier that needed to be initialized to 1.

Good idea about the +/-5 and +/- 10 indicators. All set! Take a look.

on a desktop, the margin-top of the #score is wonky. It appears to be this css:
PHP Code:

@media (min-width992px) {
    
#score {
        
margin-top1px;
    }


I'd suggest keeping it at -25 (which it seems to be on narrower screens).

I suspect in the end that 40kPa = 1 RP.

I'd also move baseline crossing to the end of auto, since then the basic order between the sections will be the same.

Again, great effort and always improving. Also, in software, the users are not always right :)

JonKiddy 10-01-2017 13:59

Re: 2017 STEAMworks Score Sheet (Calculator)
 
Quote:

Originally Posted by engunneer (Post 1628317)
I suspect in the end that 40kPa = 1 RP.

I'd also move baseline crossing to the end of auto, since then the basic order between the sections will be the same.

40kPA now = 1 RP.

I reordered the sections a bit. Good idea!

New:

On a phone, if you tilt the phone to view as landscape you should see the game field (*crosses fingers).

If you're on an iPhone, I suggest you save a bookmark and "Add to Home Screen", it will behave like a real app, kinda.

I'll keep my eye out for a ruling on the number of rotors spinning at the end of auto/tele. And I'll continue to adjust the scoring as necessary as I become aware of changes.

Also:

I don't normally cater to everyone's wishes, but I really liked your ideas! Thanks!

JonKiddy 11-01-2017 14:58

Re: 2017 STEAMworks Score Sheet (Calculator)
 
Score Change: For each ROTOR turning by period’s T=0, that’s not previously been scored, 60 auto, 40 teleop


All times are GMT -5. The time now is 15:41.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi