News for hackers. Stuff that matters.
Re:Lego Finds Discontinued Set For Boy Who Saved Up For 2 Years by user24 on Tuesday December 04, 2012 @11:10AM (#4871531)
Mindstorms is a brilliant product. They used it to teach robotics for undergrad IT at university. I built a machine that could play blackjack (light sensor moved over the pips of a playing card, discovering the card value). It was brilliant.
Re:Lego Finds Discontinued Set For Boy Who Saved Up For 2 Years by drivers99 on Tuesday December 04, 2012 @12:00PM (#4871842)
That is pretty cool. What did you do about face cards though?
Re:Lego Finds Discontinued Set For Boy Who Saved Up For 2 Years by Evbn on Tuesday December 04, 2012 @12:36PM (#4872060)
They are all worth 10 and they do not match any of the pip patterns of the numbers. They have color in all the spots you would look for pips. Other numbers don't.
Re:Lego Finds Discontinued Set For Boy Who Saved Up For 2 Years by user24 on Tuesday December 04, 2012 @01:44PM (#4872501)
Exactly. I didn't even need to write any special code to deal with them, they just naturally come up as tens.

Did you just work this out or have you done something similar?