08-12-2009 07:09 AM
Hi Darin.K,
very nice game. It's a lot of fun for a short break.
Some functions you maybe can add:
- a msg box which shows the "real" score, from the internal shiftregister
- a check which makes sure that the point is between the two lines.
Mike
08-12-2009 10:15 AM
08-12-2009 11:47 AM
Hi Mike, Key Repeat, arrrrgggh. I have patched that little (I mean huge) bug. Beta testers, especially the clever devious types around here are great. The original computer I used was working to keep up, now the keypresses can pile up.
When enough kinks are worked out, and I have some benchmark scores from human players I plan to toss out a challenge to create a LV player for the game. I have to figure out some interface details (and prevent the obvious cheats), but the player VI will receive the course data and return a choice, left, right, no move.
08-13-2009 06:30 AM - last edited on 02-12-2010 09:26 AM by Laura F.
08-13-2009 07:29 AM
08-13-2009 07:54 AM
A warden meets up with 23 new prisoners when they arrive. He tells them, "You may meet today and plan a strategy. But after today, you will be in isolated cells and will have no communication with one another.
"In the prison is a switch room, which contains two light switches labeled 1 and 2, each of which can be in either up or the down position. I am not telling you their present positions. The switches are not connected to anything.
"After today, from time to time whenever I feel so inclined, I will select one prisoner at random and escort him to the switch room. This prisoner will select one of the two switches and reverse its position. He must flip one switch when he visits the switch room, and may only flip one of the switches. Then he'll be led back to his cell.
"No one else will be allowed to alter the switches until I lead the next prisoner into the switch room. I'm going to choose prisoners at random. I may choose the same guy three times in a row, or I may jump around and come back. I will not touch the switches, if I wanted you dead you would already be dead.
"Given enough time, everyone will eventually visit the switch room the same number of times as everyone else. At any time, anyone may declare to me, 'We have all visited the switch room.'
"If it is true, then you will all be set free. If it is false, and somebody has not yet visited the switch room, you will all die horribly. You will be carefully monitored, and any attempt to break any of these rules will result in instant death to all of you"
What is the strategy they come up with so that they can be free?
08-13-2009 09:53 AM
I'm waiting for someone to come up with the solution.
I've been thinking about this for about 20 minutes, and cannot think of any algorithm to solve this.
It looks like these prisoners would be in a lot of trouble if I had to come up with the plan
08-13-2009 10:14 AM
08-13-2009 10:38 AM
The rules didn't say they have to use the switches. You could get around the problem by saying that each one will leave some mark when they come to the room.
I'm assuming that's not the expected answer, though.
08-13-2009 12:47 PM