Ask your own question, for FREE!
Computer Science 16 Online
OpenStudy (anonymous):

How do I code a score keeper for a memory game in Java? I'm using Dr. Java to code, and I am willing to attach the code.

OpenStudy (e.mccormick):

The score is a variable. You just need add to it. In most games it is part of the player object. So you get a player name and store it, well, you also give them a score of 0 at the start and store that. Then, as they get points you add to them.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!