up source code v2

change way to creat random effect in challenge mode