02-25-2009 03:13 AM
02-25-2009 03:16 AM
...or more challenging still would be a Crossword solver. Parsing information gleaned from the internet, using the clues as search fields, the challenge would be to find the solution to any given crossword.
(This is presuming it must be possible to perform automated Google searches and the like from within LabVIEW... I've not ever tried to do this.)
02-25-2009 08:08 AM
Here is part of a reply I sent via e-mail
02-25-2009 09:02 AM - edited 02-25-2009 09:05 AM
Ben wrote:A more ambitious plan would use laser tanks to battle it out in an arena. But then again maybe the laser tanks is a more resonable plan. The challenge could use a tank simulator (Like Tanks the video game) to devlop and then switch to live mode for the competition. Bot doe sthat idea require a lot of effort!
Now THAT sounds interesting!
I think what you hinted at regarding a 'virtual battleground environment' for us to test our codes within could work - for a tank competition or similar. Someone would need to provide the simulator of course, which would be some initial effort. I presume the simulator would display a 3D representation of the virtual environment?
A competition where we can pitch all our codes against one another in a winner-takes-all type fight to the death would be awesome. Strategy could be far more important than code precision or speed, and hence younguns shouldn't feel at any particular disadvantage.
Other (crazy?) variations on the theme:
I'm sure there's much more we can think of...
02-25-2009 03:26 PM
I posted the old "Travelling salesman" problem on LAVA as a possibility. It's a simple idea, easy to visualise but no known easy mathematical "optimal" solution. Kind of similar to the prime challenge I suppose.
When I was in college, we used to have minesweeper challenges in the lab. We managed to solve even the large mine fields in around 20 seconds after many many weeks of practise. How about implementing a minesweeper solver? Not much in the way of real-world application but something everyoine can relate to and should be fun to see in action.
Shane.
@Ben Rocket launcher probably has a camera which transmits via isochronous mode which isn't supported in VISA.......
02-26-2009 10:38 PM
If we go along with the Robot Soccer Game, and add OOP to the challenge, here i have a small court, (comments and names are in Spanish). Still there are VIs called AI Team 1 and AI Team 2 so we could make direct games between the Teams, The robots have some parameters as battery that could be included to make the Challenge more interesting. To do this we just need to add a VI to check how much the robot moved and subtract the equivalent amount of battery from the robot.
The current AI is quite Simple it just see who is closest to the Ball and if you are not there then it will go back to its start point.
To allow different games (as the AI will always play the same way) the Robot starting positions are moved Randomly.
The only available data to think the moves will be the info stored in you robots, the position of the other robots, and the position of the ball.
With just replacing this VIs we could find who could win.
Also Style in writing the code could be taken in account.
02-27-2009 06:25 AM - edited 02-27-2009 06:26 AM
My first attempt at a solver.
It is not pretty, and the style changes a bit part way through, but it works (kindof...)
Grab it here.
If I get a chance, and can figure out the 3D picture API properly I will try and integrate it into the nice 3D cube visualisation that has been posted somewhere else here.
02-27-2009 07:32 AM - edited 02-27-2009 07:34 AM
Wow Benjamin!
If this is as cool at it sounds....
I will take a look this week-end.
Neal,
Just don't give away the whole game. Leave some room for improvement.
Ben
03-01-2009 07:43 PM - edited 03-01-2009 07:44 PM
I was sponsoring challenges for a while, but I got pretty busy and demand seemed to drop, so I just never started another one.
I do have one idea for a challenge that I could put together pretty quick. It would be a Sudoku solver. I would provide a set of puzzles (about 100), and the winner would solve all the puzzles in the shortest total time. I already have the puzzle generator and made a solver that can solve the puzzles in about 1 msec/puzzle average (if I remember correctly). I would need to put together the rules, but I can do that fairly quickly.
I can also unofficially announce that NI is expected to be sponsoring a challenge as well. The details aren't resolved yet, but it will involve control of a model of an inverted pendulum. NI is supposed to supply a trial license of their simulation toolkit for the competition. If all goes well, the winner's solution would be used during NI Week on a real inverted pendulum. If NI isn't able to do this challenge, I will run it myself at some point.
I don't recommend a challenge where people's submissions have to compete against each other. That can be much more complex to judge, and time consuming to run all the combinations. The tic-tac-toe challenge was a little tedious in that regard, especially when they started trying to evaluate all the possible remaining outcomes on each iteration.
Bruce
03-10-2009 08:32 AM
How about "Developing a 3d Hierarchy" challenge?
THe final solution could be come a usefull tool for LV developers.
Ben