Create a lottery game using Powershell

I just wondered if it was possible to build a small game with powershell so I started to figure out what was the best possible game for this scenario, I thought that it would be best just to create a lottery game. You would select your numbers and each draw will be random. If you would get 100% in the numbers you would then receive congratulations sign. There are few variables to set, the application name, what is the maximum number of balls, total gameplays so it will retry the amount of time of the number. There are 6 rows and it will automatically generate number from 1 to 69 for each row, it will not generate the same number in two or more rows. So here is the code for the game

Hope you have fun with it as I did

Trackback from your site.