If you can show us what you have made untill now, we can help you by showing you what you have to change to make it work, so you can learn from it.
The example you show doesn't contain random objects. It's the same object every time, only the position is random. And even that randomness isn't random, for there is always at least one hole.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..