<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def same_player(self, other):
 """ Compares name and color. Returns True if both are owned by the same player. """

        return self.name == other.name \
            and self.color == other.color