Log in

View Full Version : Logomotion Score Calculator


Cyberphil
08-01-2011, 16:52
Hey everyone,

After diligently working for a few hours, our programmer came up with a score calculator for the game. I have posted the program and the source code (Java) so feel free to mess with it as you please. You will need Java to run this program. It is covered under the WTFPL Licence (http://sam.zoy.org/wtfpl/). :p

Hope this helps!

Edit:
Directions-
Left click- Change Shape
Right Click- Add Ubertube (Just remember that you can only have a maximum of 3)
You can add the race score by yourself, or add it to the program.

I am error
08-01-2011, 17:16
Hey Thanks

Will make scoring alot easier

Team 686

Cyberphil
08-01-2011, 17:48
Update:

There was one problem that is fixed in this latest upload.

FDinoff
08-01-2011, 19:15
Thank you

alectronic
08-01-2011, 19:23
this is a great little program. thanks for the good speed!

Cyberphil
08-01-2011, 19:24
Absolutely. I know it is very simplistic, but that was the aim. He threw it together in about an hour and a half.

Katie_UPS
08-01-2011, 20:11
This is beautiful!

DonRotolo
08-01-2011, 20:20
Team 103 rocks. Again.

Cyberphil
08-01-2011, 23:21
This is beautiful!

Team 103 rocks. Again.

Thank you guys very much! We will be coming out with a better version very soon which includes an improved GUI, including the Race Score.

Waffles
08-01-2011, 23:27
This is great and has already helped our team immensely with effective strategies...

Thanks so much! ;)

Cyberphil
08-01-2011, 23:53
This is great and has already helped our team immensely with effective strategies...

Thanks so much! ;)

Absolutely! I am glad is being put to good use!

Bill_B
09-01-2011, 18:41
It took me a while to realize that it gives the combined score. How much trouble to show autonomous and tele-op scores separately. Oh, and their sum? :) I'll have to dust off my Java book, I guess.;)

Justin Murphy
09-01-2011, 19:03
The FEDS thank you, this will help tremendously when strategizing.

Cyberphil
09-01-2011, 19:04
Honestly, minimum trouble. We have the sums of each separately anyway, we just display the sum of all of them. We just have to create a different output field for the two sums.

We should have the updated version within the next 2 days or so.

I am very glad that this helped so much!

taichichuan
09-01-2011, 19:37
FYI, this works in Linux as well:

$ java -jar Score.jar

Thanks!

Mike

Cyberphil
09-01-2011, 19:39
FYI, this works in Linux as well:

$ java -jar Score.jar

Thanks!

Mike

Thank you very much! That is great to know!

I am glad it is helping you out!

ahollenbach
09-01-2011, 20:19
It took me a while to realize that it gives the combined score. How much trouble to show autonomous and tele-op scores separately. Oh, and their sum? I'll have to dust off my Java book, I guess.

Working on version 0.3 & 0.4 :P
Once I'm done, I'll upload both a version that you desire, and one that can account for climbing robots scores as well :D

Robert103
09-01-2011, 21:57
Can we make it more pretty? :D

Cyberphil
09-01-2011, 22:54
Working on version 0.3 & 0.4 :P
Once I'm done, I'll upload both a version that you desire, and one that can account for climbing robots scores as well :D

Sounds great!

Can we make it more pretty? :D

Absolutely. Talk to Anderw...

Hallry
09-01-2011, 23:30
Does this not work on Macs? At least it's not working on my MacBook, or I'm just doing something wrong...::ouch::

Cyberphil
09-01-2011, 23:32
Does this not work on Macs? At least it's not working on my MacBook, or I'm just doing something wrong...::ouch::

Well, you are our first test subject. From that I would say no, as long as you have the most recent version of java. Check that and then try it out. That is why we are releasing this and getting feed back.

Thank you very much!

Dancin103
09-01-2011, 23:34
Does this not work on Macs? At least it's not working on my MacBook, or I'm just doing something wrong...::ouch::

It works on mine. Be sure to click on the score.jar version once you open the zip file. I hope this helps.

Cassie

Hallry
09-01-2011, 23:52
It works on mine. Be sure to click on the score.jar version once you open the zip file. I hope this helps.

Cassie

It always says that it is unable to open the file...maybe because our macs are supplied by the school and certain applications are blocked?

Edit 1: This is the notification I get when I try to get it:

9618

Unfortunately, the application Console is 'not allowed'...

Steve-Man
09-01-2011, 23:54
This will prove invaluable; many thanks!

Hallry
09-01-2011, 23:56
This will prove invaluable; many thanks!

Any time! (P.S. I edited my previous post to insert the message I get when I try to open the file)

Bryan Herbst
10-01-2011, 00:06
The program should work regardless of OS. That is the beauty of interpreted languages such as Java- they will work as long as you have an appropriate interpreter.

Blocks that the school has set up may impede execution though.

Hallry
10-01-2011, 00:14
The program should work regardless of OS. That is the beauty of interpreted languages such as Java- they will work as long as you have an appropriate interpreter.

Blocks that the school has set up may impede execution though.

I'll have a fellow team-member of mine look into it, he worked in our tech lab last summer and might be able to have whatever it is unblocked.

Roger
10-01-2011, 08:00
The official scoring screens at Kickoff. Touch screen panels, each peg changes shape each tap. Doesn't show a score however. Could keep a body busy during a match!

Yeah, more pretty! Like Edison, I've discovered that a program is 1% basic stuff and 99% pretty stuff.

- Contrasting background.
- Autonomous mode (yellow tubes).

tomy
10-01-2011, 08:25
i found one flaw!

when you put one of each of the tube in the right order you get 18 points

then when you place an uber tube on it it says 18*2=30

and also cant you get put two tubes on one peg?

sorry to point out flaws i hate doing!!!

tomy
10-01-2011, 08:28
i found one flaw!

when you put one of each of the tube in the right order you get 18 points

then when you place an uber tube on it it says 18*2=30

and also cant you get put two tubes on one peg?

sorry to point out flaws i hate doing!!!
oh wait does the uber tube double the whole thing or just the tube its connected to?

Dancin103
10-01-2011, 09:22
It always says that it is unable to open the file...maybe because our macs are supplied by the school and certain applications are blocked?

Edit 1: This is the notification I get when I try to get it:

9618

Unfortunately, the application Console is 'not allowed'...

I would say that there is an internal block of what you can view and use and what you can't. You probably aren't allowed to add any programs that aren't "approved" of but I'm sure someone on your team knows a way around it. If not let me know and I will see what I can do. :D

Cassie

bassoondude
10-01-2011, 09:43
cant you get put two tubes on one peg?

you can, but unless one is an ubertube, only the outer tube works by <G63>

Hallry
10-01-2011, 09:52
I would say that there is an internal block of what you can view and use and what you can't. You probably aren't allowed to add any programs that aren't "approved" of but I'm sure someone on your team knows a way around it. If not let me know and I will see what I can do. :D

Cassie

I'm pretty sure someone on my team will be able to get it to work, and I'll keep you posted on his success.

ahollenbach
10-01-2011, 23:48
i found one flaw!

when you put one of each of the tube in the right order you get 18 points

then when you place an uber tube on it it says 18*2=30

and also cant you get put two tubes on one peg?

sorry to point out flaws i hate doing!!!

This is actually a common misconception I've seen.
1. The ubertube is a peg multiplier; it will not multiply the row by 2.
2. You can put more than one on per peg, but only the outermost counts.
3. The score is calculated as follows: (3+3+3)*2 for logo, =18, and can be written 6+6+6. Then lets say you have an ubertube on the first one. This makes it 6*2+6+6, and then add a 6 on top of that for your autonomous placement score. Five 6's make 30.
P.S. If you don't want to point out flaws so much...read the manual so you don't have to ;)

ahollenbach
10-01-2011, 23:51
The official scoring screens at Kickoff. Touch screen panels, each peg changes shape each tap. Doesn't show a score however. Could keep a body busy during a match!

Yeah, more pretty! Like Edison, I've discovered that a program is 1% basic stuff and 99% pretty stuff.

- Contrasting background.
- Autonomous mode (yellow tubes).

Sweet pic :D
I agree with the contrasting background (with the brightness of certain screens, it is impossible to see a white circle on the background), and this has been rectified. Unfortunately, I forgot to bring home a copy from school :eek:

GeorgeTheEng
26-01-2011, 13:06
If anyone in interested I put together scoring calculator for the iPhone that is available in the app store. The only has two bugs (that I am aware of).

1) It does not address penalties. Thos may get added in an update if I have time
2) It allows 3 ubertubes per scoring grid rather then three total

http://itunes.apple.com/us/app/frc-scoring-calculator/id415226379?mt=8

There is also a scoring calculator available for FTC

Cyberphil
26-01-2011, 13:09
Awesome! Thanks!

I do not have an iPhone, but I will be sure to tell my friends.

cd5696
29-01-2011, 16:11
oh wait does the uber tube double the whole thing or just the tube its connected to?

only the peg it's on.

soxfan269
31-01-2011, 16:48
Hey everyone,

After diligently working for a few hours, our programmer came up with a score calculator for the game. I have posted the program and the source code (Java) so feel free to mess with it as you please. You will need Java to run this program. It is covered under the WTFPL Licence (http://sam.zoy.org/wtfpl/). :p

Hope this helps!

Edit:
Directions-
Left click- Change Shape
Right Click- Add Ubertube (Just remember that you can only have a maximum of 3)
You can add the race score by yourself, or add it to the program.

Thanks for the program, I wish it would've had uber tubes. But good job anyway.

Cyberphil
01-02-2011, 17:05
Thanks for the program, I wish it would've had uber tubes. But good job anyway.

It does have Ubertubes. Right click on the boxes and the Ubertubes will be placed.