score method is add(in player and enemy class)