Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Rigging a "random draw"
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
jakey140




PostPosted: Fri Apr 29, 2011 9:45 pm   Post subject: Rigging a "random draw"

What is it you are trying to achieve?
Hey guys, my roomates and I need to decide who gets what room for our house next year, but one of the rooms is really bad I me and my one friends, having done the most work with regards to getting the house, deserve to not be in that room.
Is there any simple way to get a simple program so that when me and my friends names are entered, there is no way we can be assigned the 6th pick, but for everyone else its completely random? Thanks a ton!
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Fri Apr 29, 2011 9:47 pm   Post subject: RE:Rigging a "random draw"

Roll a dice bro. 6 rooms, 6 sides.

If you really want to cheat your system, just make sure if you haven't been the first 4 choices you automatically get the 5th choice. 6th is whoever is left.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: