Presentation on theme: "Code Shoot Out Tulsa.Net Users Group. Lessons Learned Please read all emails. Puzzles do change or input is corrected/clarified according to feedback."— Presentation transcript:
Code Shoot Out Tulsa.Net Users Group
Lessons Learned Please read all s. Puzzles do change or input is corrected/clarified according to feedback. We need better infrastructure to judge programs. – All execution timing will be done outside of program. – All results need to be uniform.
Lessons Learned We are creating a program to call your program. It will time your program’s execution time. Gone are text files. Two xml files will be needed. – One for input and one for output of your results. – Your results file should be named Puzzle2Results_YourName#1.xml – e.g. Puzzle2Results_LarryConklin#1.xml
Lessons Learned Winners must come up and do a show and tell on their code. Winner must make their code available to Users group. Let other people learn from your success.
Puzzle Two Tulsa.Net Users Group
Common Rules Use visual studio 2008, 2010, or No third part libraries can be used. I.e STL, Boost, dtSearch, etc. Must be able to compile code on judgment night. Winner must be able to explain code. Must be a VB.Net, C#, or C++.Net program. All code must be managed code that runs on the CLR. Winner must be present to win.
Common Rules Winning program must use the standardize xml output. Programming teams are allowed. You can enter more than one program. Remember this is your project do not use your employer’s time to work on this. Be nice.
Visit all State Capitals
Objective Visit all 48 state capitals. Visit each state only once. Find the shortest path. Start in Maine. End in the State of ??????
Rules for this Puzzle only You can use Silverlight extensions. You can use API to Bing map controls. You can’t use Google or anyone else’s third party map controls. Let’s be nice to Microsoft who is a sponsor.
XML Input Sample Shortest Path To State Capitals Maine Alabama Montgomery Mississippi Tennessee Georgia Florida
XML Output Sample Your Name Here Advance IWin.exe 2008 C# 1 Main Second State Name 2 Second State Third State Name
Gotcha’s Only 48 continental states need to be visited. (exclude Alaska, Hawaii, and District of Columbia). Can only visit any state once. Judging is based on distance between links, correct links, time of execution. You start in Maine.
Questions What does distance between links need to be measured in? – Miles, two decimals At what level of precision (how many decimals?) What is ”distance between links” (straight line, highways, highways, excluding toll roads, etc.)? – This depends on how much you want to win.
Questions One of the conclusions I drew, was that there was only one RIGHT answer. That could be mentioned near the end. Do I have to go through a “BorderingState”? I assume so, but you didn’t say it in the specs.. Loot – you didn’t mention what the prizes were. – We need to talk about this question. You didn’t mention the different categories (advanced, beginner, etc.). That could go on the common rules slide. Yes, I did.