tag:blogger.com,1999:blog-6127132400597215190.post6689684806715471185..comments2023-11-07T15:28:39.075-08:00Comments on Nostatic Software Dev Blog: Randomization In Games - Managing Player ExpectationsMikehttp://www.blogger.com/profile/13599208082890099005noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-6127132400597215190.post-46948792821705917822011-04-27T23:13:40.919-07:002011-04-27T23:13:40.919-07:00Awesome. Thanks.Awesome. Thanks.Friction Point Studioshttps://www.blogger.com/profile/13464714025392140241noreply@blogger.comtag:blogger.com,1999:blog-6127132400597215190.post-74718400999195306552011-04-27T23:00:59.407-07:002011-04-27T23:00:59.407-07:00Absolutely - I posted it because I thought others ...Absolutely - I posted it because I thought others might find it useful.Mikehttps://www.blogger.com/profile/13599208082890099005noreply@blogger.comtag:blogger.com,1999:blog-6127132400597215190.post-48451270160544643362011-04-27T21:42:38.014-07:002011-04-27T21:42:38.014-07:00Hi Mike,
Do you mind if I borrow this code for a...Hi Mike, <br /><br />Do you mind if I borrow this code for a project I'm working on? I know it's pretty simple but just thought I'd be polite and ask rather than re-write it. I can credit you in the code of course.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6127132400597215190.post-47074184446420709752011-04-14T08:12:51.652-07:002011-04-14T08:12:51.652-07:00Hi Chris - actually, that wouldn't work, at le...Hi Chris - actually, that wouldn't work, at least not as you have described. "chooseList" and "newList" are just pointers.<br /><br />I suppose you could have a separate list of the original items and copy all of its elements to "chooseList", but that seems more complicated and wouldn't be any more efficient.Mikehttps://www.blogger.com/profile/13599208082890099005noreply@blogger.comtag:blogger.com,1999:blog-6127132400597215190.post-49781853602538609602011-04-14T00:05:22.576-07:002011-04-14T00:05:22.576-07:00Instead of discarding to the discardList, you coul...Instead of discarding to the discardList, you could have newList that contains the original items, then instead of discarding to the list and swapping when you are done, you could say chooseList = newList. This would give you exactly the same effect.Chrisnoreply@blogger.comtag:blogger.com,1999:blog-6127132400597215190.post-17032561125041810322011-04-12T10:22:07.151-07:002011-04-12T10:22:07.151-07:00This is very similar to the way that Tetris select...This is very similar to the way that Tetris selects its pieces also.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6127132400597215190.post-34744490006800519592011-04-11T16:39:50.424-07:002011-04-11T16:39:50.424-07:00That's cool. Very simple and effective. Damn...That's cool. Very simple and effective. Damn users and their damn expectations! :)Mileshttps://www.blogger.com/profile/03979849898808391333noreply@blogger.comtag:blogger.com,1999:blog-6127132400597215190.post-58097332093747049482011-04-11T16:38:33.085-07:002011-04-11T16:38:33.085-07:00Nice post. I never really thought about randomness...Nice post. I never really thought about randomness this way but I can definitely see how this would better meet player expectations. <br /><br />PS: Nice clean code too!Anonymousnoreply@blogger.com