Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   score tracker (http://www.chiefdelphi.com/forums/showthread.php?t=15662)

VanWEric 30-12-2002 20:30

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.

rbayer 30-12-2002 21:13

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.

Ian W. 30-12-2002 23:27

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... :p

Gope 31-12-2002 00:43

I dunno
 
well, depending on what time i have, i'll prolly pump out a score tracker for laptop use...thanks for the idea man

Mongoose 31-12-2002 01:51

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?

Gope 31-12-2002 02:09

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

evulish 04-01-2003 20:35

I'm going for quick and dirty...

It's being made in Perl :) GUI is for wussies! :D

evulish 04-01-2003 21:03

Code:

#!/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 "--------\nScores:\n Alliance 1: $a1score\n Alliance 2: $a2score\n";

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

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

print "Alliance $ht Wins!\nQualifying points for winner: $qpw\nLoser: $ls";


Do I get a prize or something? :P 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 :D

AJ Quick 04-01-2003 21:32

Is it that hard to use a calculator? :D 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.

Elgin Clock 04-01-2003 21:38

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!

Ashley Weed 04-01-2003 21:52

Quote:

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

huh?.. please explain

sanddrag 04-01-2003 22:01

Quote:

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?

evulish 04-01-2003 23:52

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

VanWEric 05-01-2003 17:07

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?

Ashley Weed 05-01-2003 17:10

Quote:

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??????


All times are GMT -5. The time now is 13:10.

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