so im making my own game now and I have to count score for both of the characters, does anyone know hot to do that?
public class Player { private int score = 0; public void increaseScore(int amount) { score += amount; } public int getScore() { return score; } }