Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

they will draw with rock every time, because both will wait each other to change their hands. they could draw with paper too, that will depend on how the robot was programmed.


Nopes, I think they'll go into a loop...

First the robots both spot the other one appearing to go with rock and make a last millisecond change to paper. Then they both notice the other one making the change to paper, so they both go scissors... then they both go with rock again.

Loop!


I think they are allowed to make their choices just once, so they will both see rock and make their change to paper. After that the loop will stop.


While that would be hilarious to watch, I'm assuming that there is some sort of basic 'while loop' protection that they programmed in!


Eh, I don't know... Have you ever seen some of the code that comes out of academia? Interesting stuff, not usually very robust.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: