Hey guys, I am working on a program in visual studio which is designed to work with a wii remote. I have calibrated thewii remote so that it has 8 directions left, upleft, up etc in a circle around. The problem is that I need to load a random image of an arrow into the picturebox and the user needs to match the image so that it is a success. The level will progress so there will be two random pictures, then three etc... The idea is a memory game, to see how many pictures or gestures can be memorised.
I am struggling to load a random image into the picturebox, I want to do this efficiently, perhaps using an array or a list. If the user holds the wii remote at the correct angle and matches the arrow then a successful output will happen, ie a positive image and perhaps sound.
If anyone can assist me in getting the random image to load once the start game button is pressed then that would be great! I won't post any code as all I have so far is code that uses teh wii mote library and out puts a different colour in the picturebox depedning on which angle the wiimote is being held.
I know it may be a simple thing I am sking about but for some reason I can't do it.