game: added randomize function
Merge branch 'staging'