Go to Post [Bring] programmers [to Championships], they may be small, quite and easy to miss while leaving for Atlanta but its hard to do anything robotic without them, I've tried. - Simon Strauss [more]
Home
Go Back   Chief Delphi > Competition > Rules/Strategy
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-01-2007, 15:32
TimA TimA is offline
Registered User
None #1073 (Force)
Team Role: Alumni
 
Join Date: Jan 2003
Rookie Year: 2003
Location: NH
Posts: 10
TimA will become famous soon enough
Send a message via AIM to TimA
Iterative Scoring Program

I originally wrote this program to give to the team i use to be on in High School but they turned it down so i thought i might as well hand it out to the rest of the first teams out there as a fair use kind of thing.

This program was written in about 5 hours so its not completely done but it give you a fair guess. (The only thing i know it has a problem with is scoring for single tubes, if there happen to be a 2 or more tubes in a vertical row it counts each of the tubes as single then it also counts it as a row.) Pretty much the scoring is almost right there are just a few cases that it messes up.

The output file that it creates is put on the c drive by default. The format of the file is the Red Score is across the top and the blue is down. (Each score is divided by 2 just to reduce the size of the array and help the program not kill my computer when it was running). So for example if you were to try to figure out the number of times that the score 4 to 14 (Red v. Blue) happened you would go 7 rows down and 2 columns in.

Feel free to ask any questions about it and i will try to respond as fast as i can (being at college and working 30 + hours a week might make it a little harder than normal for me to respond but i will try).

In the outputExample1.zip file there are 2 examples of the output. The first one was the data gathered in about 4 hours of running and the second files was data gathered over 4 days. (using a 2.8ghz ht machine)

Good luck and i hope it helps someone out there.

Happy Computing

--Tim
Attached Files
File Type: zip scoring.zip (2.8 KB, 49 views)
File Type: zip outputExample1.zip (10.2 KB, 36 views)
  #2   Spotlight this post!  
Unread 18-01-2007, 21:43
TimA TimA is offline
Registered User
None #1073 (Force)
Team Role: Alumni
 
Join Date: Jan 2003
Rookie Year: 2003
Location: NH
Posts: 10
TimA will become famous soon enough
Send a message via AIM to TimA
Re: Iterative Scoring Program

I forgot to mention when i posted this that the code in the zip file is in Java developed on Eclipse. You should be able to translate the code to another language easily if you want to.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scoring Program LukeMX General Forum 14 09-01-2005 12:54
FIRST Scoring Program MikeDubreuil Programming 8 11-02-2004 21:45
Scoring Program TimA Rules/Strategy 2 11-01-2004 18:27
Scoring Program archiver 2001 1 24-06-2002 01:05
Scoring Program archiver 2001 7 23-06-2002 23:03


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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