Search the Community
Showing results for tags 'Lottery'.
Last time I had a >Paper, Rock, Scissors - Challenge and now I think it's time for a new one. Challenge: Create a lottery game with the least amount of lines in AutoIt. The user should be prompted to enter a string of 7 lottery numbers from 1 to 49 and have either a comma (,) or single space as the delimiter e.g. 1,5,10,37,15,43,2. It should be checked against 7 random numbers to see if they all match. If all 7 match then they win, otherwise they lose. The numbers should be valid and contain zero duplicates in both the user's choice and computer generated sequence. Good luck. Note: I am not playing this time around as some people said it was unfair that I took part last time. Oh and serious contenders need only apply please. PS. I created this in C# using 4 lines of code when the idea was presented to me by a mate...so yeah...good luck! -_0 NO /AutoItExecuteScript workarounds.