I'm working on a little word game named lingo, but I'm stuck at the moment. The game has two players; each player has a card with 25 numbers between 1 and 70: team 1 the even numbers and team 2 the odd numbers. Duplicate numbers are not allowed.
Creating random numbers is working for now but I'm not getting those even and odd numbers. Also removing the duplicate numbers won't work. I tried to put those numbers in an ArrayList and then check if the number is already in the list, but it's not working.
Any help would be appreciated. I'm programming in C#.