Any easier way to code this?
-
Spent a good 4 or so days on this tiny program for my VB course, unit project. Gave myself a royal headache by tagging the game buttons starting at 1 instead of 0, causing my flash sequence to always be “one off”, leading of course to out of index issues. Much fun But whatever, I learned a bit in the process.
So, I included the source in the attachment. It was done in VS 2008, if anyone feels like glancing at it I tried to include a bit o’ commenting as well. Was just wondering where I could trim some fat with it.The game was designed to resemble that old hand-held monstrosity with 4 buttons that flashed and played a tone, which you then duplicated until your brain matter leaked out of your ears, or lost.
Mine has 9 buttons, so it’s a little tougher, but still has audio to help a bit.Anyhoo, lemme know if it can be touched up
-looking at it, the flash could probably have been fully contained in the timer alone, for starters.