Hey.
Basically since we just started VB not long ago, our teacher decided putting us into teams and told us to create a two-player Noughts and Crosses, with two programmers and two designers.
Although we have been given a week to do it, me and my friend are the best in the class currently and finished it today, but I have a feeling it would be possible for us to get rid of some of the mess in the code.
Originally we had 9 different variables for which player had pressed a button (Storing an O or X) and 9 boolean variables for deciding if a button had been pressed already or not, but after reading a few TicTacToe examples I realised using an array for each would be tidier.
My problem is that when 'New Game' is pressed, I need 29 lines of code to reset everything, when 18 of those could be condensed into 2 if I was able to reset all of the values in an array (I tried 'Erase', but it caused errors when trying to store variables afterwards) Is there any way to do that?
*EDIT*
Nevermind, just realised you Erase it, then ReDim.