You know the random element algorithm that was explained in Casey's and Mahc's video a couple of days ago? I just used it today, in this Galaga clone, when aliens need to pick their starting position from the ones that aren't occupied.