You need to learn the language for some tutorial like
Learn C++ and than develop some program logic and flow.
Use classes when possible, so you can design objects, constructros, operators and functions like:
class Player {
string name;
int score;
}
Good luck with your homework.