We ended up getting 16 entries for our Groovy Book Giveaway. I threw a quick little Groovy script together and we ended up with a winner. Congratulations to Praveen Srinivasan and thank you to everyone who entered. If Praveen doesn’t collect the book in the next 7-10 days I will give it to someone else. Below is a sample script of how we pulled the winner and the recording of it.
// 16 entries
List names = [
println names[new Random().nextInt(2)]