Morten

Morten

  • NA
  • 1
  • 0

C# Help for memory game

Apr 6 2010 2:27 AM
It's supposed to be a memory game, but i have some problems making it work, I've made a button_1 that generates 6 random numbers in random order, those 6 numbers are supposed to tell the "p1 - p6" (pictures (2 of each to make pairs)) what picture boxes, they're getting in to, I'd really like it to be random what pictures, goes into the picture boxes.
problems i have:

1. random numbers cant get into the array "R[6]" and then i cant use it down in the "pictureboxes" to get assigned to a picture.
2. when 2 pictures are flipped with the same picture, i need them to disappear, (after a timer)

its supposed to give point for every pair of match,
in this code, there's only 6 picture boxes, i need like 25-30
i only got 3 different pictures in this code, again i need like 6 so that there's 5 pairs of each picture