score tracker

the kick off is before us, and i was wondering if anyone had any plans to make a score tracker for the game. Personally, i am going to try to bang out the alpha to some mfs pos before they finish announcing the game. That would make me happy.

Unfortunately, I am physically incapable of writing quick-and-dirty apps. They all start that way, but the little voices inside my head don’t let me sleep until I’ve squashed every bug and beautified everything my kindergarden-level art skills can. I haven’t slept in three months.

my guess is if anything, dan will make us a purty one in flash, if anything at all. i don’t have time to make anything, but dan always has time for flash, or so it seems… :stuck_out_tongue:

well, depending on what time i have, i’ll prolly pump out a score tracker for laptop use…thanks for the idea man

Sounds interesting… But… Err… What kind of score tracker? Something where you put in the team number and score, and then it’ll search in a file for the team number and update their score?

I was thinking something with graphics of the game court and all the components that could be draged or moved into scoring positions…that way a view could recreate the game on the laptop and have a decent idea of the outcome, atleast a much better one than what u could figure in ur head

I’m going for quick and dirty…

It’s being made in Perl :slight_smile: GUI is for wussies! :smiley:


#!/usr/bin/perl

#mehh

print "Largest stack of alliance 1: ";
$a1stack = <>;
print "All other alliance 1 boxes: ";
$a1box = <>;
print "Number of alliance 1 bots on top part of goal: ";
$a1bot = <>;


#alliance 2

print "Largest stack of alliance 2: ";
$a2stack = <>;
print "All other alliance 2 boxes: ";
$a2box = <>;
print "Number of alliance 2 bots on top part of goal: ";
$a2bot = <>;


$a1score = ($a1stack * $a1box) + (25 * $a1bot);
$a2score = ($a2stack * $a2box) + (25 * $a2bot);
print "--------
Scores:
 Alliance 1: $a1score
 Alliance 2: $a2score
";

if ($a1score > $a2score) { $ht = 1; $hs = $a1score; $ls = $a2score; }
else { $h2 = 2; $hs = $a2score; $ls = $a1score; }

$qpw = ($ls * 2) + $hs;

print "Alliance $ht Wins!
Qualifying points for winner: $qpw
Loser: $ls";

Do I get a prize or something? :stuck_out_tongue: I guess I could make sure they actually typed numbers in there…and make sure those numbers are correct…

Bah. That means extra work for me :smiley:

Is it that hard to use a calculator? :smiley: Why not just use a TI and write a simple program?

Just don’t forget disqualification points, and points for having robots under robots at the end on the platform.

I hate to be the non programming voice of reason, but MS Excel will work perfectly to solve the score tracking problem. I’m going to write my first (ha) excel program and gonna put it on my new pocket pc for competition time!

*Originally posted by AJ Quick *
** and points for having robots under robots at the end on the platform. **

huh?.. please explain

*Originally posted by weedie *
**huh?.. please explain **

If you manage to get a robot on top of yours, no part of it touching the playing surface, and you are comlpletely on the horizontal part of the ramp, you get 50 points for your alliance.

Now if your alliance has both of your sides robots side by side up there, do you get 50 that way too?

Sheesh…did FIRST get sick of easy scoring? I liked it when I could just count balls and multiply something…

Well, i guess a score tracker is kinda useless. Not like 2 yrs ago… I guess now we will have to make some scouting stuff. Predictor of matches anyone?

*Originally posted by sanddrag *
**If you manage to get a robot on top of yours, no part of it touching the playing surface, and you are comlpletely on the horizontal part of the ramp, you get 50 points for your alliance.

Now if your alliance has both of your sides robots side by side up there, do you get 50 that way too? **

isn’t there enough room on top of the platform for all four robots to be parked up there???

i would really like to see a program on a computer where you can drag the boxes and it’ll count score instead of manually counting how many boxes there are and then doing the score, because if you can count the boxes, you can most likely be able to calculate the score in your head =P

Well, if anybody needs a quick and dirty score keeper, here is something i threw together in VB in 10 minutes, ewww i know. It’s hardly graphically enhanced as the last years flash program that some team kindly provided, it works. I intend to add the opponent alliance side score and QP, plus best potential score and reasonable score. It’s 12kb, 24kb compiled, so if anyone wants to take the code who actually uses VB and can work wonders, just ask.

http://members.cox.net/bounty_rook/2003FIRST.exe

Like i said, nothing purdy, but it gets the work done for a quick calculation of scores based on your boxes.

since the human player won’t be doing anything after the initial setup they should have plenty of time to count boxes. If they do have time to count them, it would be nice if it would input the first and second tallest stack along with the number just lying around and determine if it is more efficient to knock down the highest stack or leave it standing…

PS anyone know what edition of VB.NET we recieved in the kit?

Are you even allowed to take a laptop into the arena with you? I thought the score tracker was for spectators.

A scouting program sounds like something more useful. You could have something asking questions about the team’s robot like “Stacks boxes?”, a slider for speed or torque from 1-10, a description of strategy and whether it’s offensive or defensive, and some general comments, then store it all in a database so you can dig it up later. Maybe even include a snapshot of the team’s robot.

P.S. The Kit of parts says “Microsoft, Visual Studio Net”, so I guess it’s the whole .NET shebang (version 7.0 if you want a number), most likely student edition, though.

Yeah, I was bored the yesterday. So I made a score tracker in c++.
http://www.chiefdelphi.com/forums/papers.php?s=&action=downloadpaper&paperid=123

It has the source code and an executable. If you want to add on to it and make it better go ahead. Its completely standard and should work with any compiler.

there’s no input checking so if you enter words, too bad

Yeah, in a bit around like 1 or 2 am, I will work on a better version which will use a recursive function to tell you what you can do to improve your score. It will tell you what will help the most to increase your qualifying score and total score.

  • Ryan