Log in

View Full Version : Scoring Program


LukeMX
08-01-2005, 21:36
Attached is team 369's scoring program for this years game. If you find any bugs or mistakes in it, please let me know and I will fix them.

Mikey229
08-01-2005, 21:57
I've Checked it out and its a really Nice Job. I have not seen any problems with it. If i do ill let you know.

TimeOut
08-01-2005, 22:01
I've Checked it out and its a really Nice Job. I have not seen any problems with it. If i do ill let you know.

The program looks very good!

Isn't there two hanging goals for each side at the start, one in each corner?
Also, add a checkbox for 'All three bots back into the start area.' for +10 pts.

Sean

ngreen
08-01-2005, 22:12
Attached is team 369's scoring program for this years game. If you find any bugs or mistakes in it, please let me know and I will fix them.

I like how it works. Congrats on that. But there are some issues with the scoring.

THe one I've most noticed is that I've had is the score turning to zero when it should still count points for each click for that one.

There were a couple other small glitches that I've forgotten since I stopped playing but it is nevertheless a neat little scorer for being so quick.

For better example, click only the underneath boxes and they make connection and also click the tops one color and the bottoms another. And then switch. You'll see what I mean.

Phil Roth
08-01-2005, 22:26
Attached is team 369's scoring program for this years game. If you find any bugs or mistakes in it, please let me know and I will fix them.


Nice job on the program but I got a "Illegal Program Operation" when I clicked on the upper left top goal 65,536 times.

LukeMX
08-01-2005, 22:35
For better example, click only the underneath boxes and they make connection

If you only click the underneath boxes they will connect because if theres no tetras on top stacked the whole goal takes the color of the top tetra contained.

If there are no TETRAS STACKED on the GOAL, the color of the highest TETRA CONTAINED in a goal will determine which alliance OWNS the GOAL. ]


click the tops one color and the bottoms another. And then switch. You'll see what I mean.

the lower box can be a different color because it only represents the color of the CONTAINED tetra

LukeMX
08-01-2005, 23:16
I just updated my original post with a newer version of the program with more autonomous modes and a few bug fixes

buss
08-01-2005, 23:30
I was under the impression that a team will always get the points of the stacked tetras no matter who owns the goal. You program gives all the points to the team who owns the goal. Which one of us is correct?

Michael Hill
08-01-2005, 23:33
Found a problem. It's not a really big problem, but I noticed more than 40 of each tetra may be placed. So placing a cap on it could be useful. I know it's picky and probably won't matter. Great job nonetheless.

Joshua May
08-01-2005, 23:34
I was under the impression that a team will always get the points of the stacked tetras no matter who owns the goal. You program gives all the points to the team who owns the goal. Which one of us is correct?

Yes, it appears that even if you do not own the goal, you still get points:

STACKED – A TETRA is STACKED when it is placed on top of a GOAL or on top of another STACKED TETRA. To be considered STACKED, the TETRA must be properly seated on the subordinate GOAL or TETRA such that all four apex connectors are within six inches of the SUPPORTING structure. Due to the GOAL and TETRA geometries, a TETRA may occasionally not completely “seat” on the GOAL or subordinate TETRA, and remain precariously positioned on top of the structure. Such TETRAS are not
considered STACKED. A TETRA is not considered STACKED if it is touching a ROBOT of the same alliance.

A TETRA is worth 1 point if CONTAINED in any GOAL and 3 points if STACKED on any GOAL at the end of the match, for the alliance of the corresponding color.

Joe Ross
08-01-2005, 23:37
If you click on the check box for one of the options on the far right (for example "RED AUTONOMOUS: a VISION TETRA is STACKED on a GOAL located on the side of the field. OTHER SIDE") and then after it is grayed out click on it again, it activates the option on the left.

LukeMX
08-01-2005, 23:37
I was under the impression that a team will always get the points of the stacked tetras no matter who owns the goal. You program gives all the points to the team who owns the goal. Which one of us is correct?

Yeah, your right I just went through all the rules again. I'll fix it. Thanks

Mike AA
08-01-2005, 23:45
Yeah, your right I just went through all the rules again. I'll fix it. Thanks

sounds interesting. Too bad I missed one of the test versions, hope you have it posted up again soon.

cbudrecki
09-01-2005, 11:27
Use search next time... there's already a scoring thread...

http://www.chiefdelphi.com/forums/showthread.php?p=315659

LukeMX
09-01-2005, 12:54
OK, I posted it back up, hopefully without any bugs this time