|
Someone had to do it, right?
var rightFoot = new Foot();
var rightHand = new Hand();
bool success = false;
while (!success) {
rightFoot.Rotate(eMode.Clockwise);
rightHand.DrawFigure(6);
Thread.Sleep(5000);
if(rightFoot.IsRotating(eMode.Clockwise) && rightHand.IsDrawing(6)){
success = true;
}
}
|
|
|
|
|
Love it! Bravo
|
|
|
|
|
At first I thought you had a bug, because as soon as you left the Rotate function, the foot would stop rotating and your loop would never be true. Then I realized that this function could just be setting a state field, so it will continue rotating. So, it should be true in the first iteration of the loop.
Oh, that's it! A design flaw! The brain controls both.
You forgot your brain! when you designed it,
|
|
|
|
|
Maybe I'm in a brain class? For sake of brevity, I didn't go through namespaces and class declarations. Though I should have put at the end:
rightHand.Rest();
rightFoot.Rest();
That was wearing me out all weekend!
|
|
|
|
|
I have a 6 year old girl - even she done it right!
(Shea has a habit to drawing six from the inside-out )
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is (V).
|
|
|
|
|
Damn! I was trying this, then this school bus suddenly stopped in front of my car. I’m okay, just the airbag went off braking my nose. Here goes the police car, I’ve gotta go…
There is only one Vera Farmiga and Salma Hayek is her prophet!
Advertise here – minimum three posts per day are guaranteed.
|
|
|
|
|
Draw the 6 backwards; that works.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
Those who seek perfection will only find imperfection
nils illegitimus carborundum
me, me, me
me, in pictures
|
|
|
|
|
mark merrens wrote: Draw the 6 backwards; that works. Genius!
Believe Yourself™
|
|
|
|
|
Gandalf - The White wrote: Genius! Yes, but a six year old beat him to it!
Kornfeld Eliyahu Peter wrote: I have a 6 year old girl - even she done it right! (Shea has a habit to drawing six from the inside-out ) (Posted earlier in the thread
|
|
|
|
|
It's a feature, not a defect.
|
|
|
|
|
Indivara wrote:
It's a feature, not a defect. Yes, Microsoft has drummed it through our heads that every addlepated design concept they have is a feature of the design.
It's just that "Idiot is, as idiot does!" (Of course that makes me a, hopefully occasional, idiot.)
|
|
|
|
|
I can only imagine what this does to the (real) sheep...
Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
|
|
|
|
|
You are a bastard, there are now up to 10m geeks across the world shaking their leg and waving an arm in the air, I checked the date it is not April 1.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
My brain doesn't work right, but for a different reason. I have a migraine starting, so I've dosed up on my meds. Purple Haze, here I come .
Software Zen: delete this;
|
|
|
|
|
The circle gets a little hitchy at one point, but other than that I can do it correctly with good consistency. Furthermore, I find that I can do it absolutely flawlessly every time as long as I keep my eyes focused on the foot rather than the hand.
|
|
|
|
|
Yeah, but you're supposed to draw a 6, not a 9.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I first thougt it worked for me ... until i realized I was drawing the 6 with the left hand.
The good thing about pessimism is, that you are always either right or pleasently surprised.
|
|
|
|
|
My brain works left.
TOMZ_KV
|
|
|
|
|
Tap out a triplet pattern with one hand.
Now try and tap out a half note or sixteenth note pattern with the other hand.
Once you have mastered this, now try and reverse the hands.
|
|
|
|
|
My brain works perfectly fine... wait... why the hell am I drawing an 8?
|
|
|
|
|
Ok. That's it. Now I'll be singing "Hi, my name is Joe, and I work...." for the rest of the day.
You are hereby sentenced to work in nothing but Dartmouth BASIC and all the legacy code is nothing but GOTOs.
|
|
|
|
|
J Julian wrote: Dartmouth BASIC
Is there any other kind?
(Goes back to playing with VAX BASIC...)
|
|
|
|
|
I can't do it because I can't draw the 6 while rotating my foot.
|
|
|
|
|
Try it in Roman Numerals.
|
|
|
|
|
'Tis that time... take a conference call for the manager because he is out today.
What is your narfle the garthok?
|
|
|
|