There's a few easier ways to initialize an array to all zeros. This will do it:
Code:
int counts[200] = { 0 };
The curly braces are actually for initializing each element, eg:
Code:
int array[3] = { 1000, 2000, 3000};
However, if you don't include all the elements, the rest are set to zero. So if you just set the first one to zero in braces, all the rest will be too.
The return type of main() is int, not void.
Now think about how you can incorporate the code in main, which is a game between two dartist objects, into a class, "dartGame". You could use an array or vector for the players, meaning there could be any number of them, but if it is easier for you, just use two, at least until you get everything working properly.
I'm not really sure what you are doing in that last for loop.