阅读背景:

PHP:52的随机列表,所以当重复它从前一个列表中是唯一的?

来源:互联网 

I'm writing a game in PHP. There are 52 elements in an array 0 to 51. The goal is to create a random list each time that is unique from the previous list. So that there is no sequence pattern from the first list in the next one. For example, if the first list has a pattern contained as 7654, we don't want a pattern of 7654 to appear immediately in the next list.I'm writing a game in PHP. There are 52 element




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: