Tell us what’s happening:
Hey I am confused by how this isn’t correct for answers 11-13. I have been stuck for a little while so ended up continuing without it but it just want to get this done !!
Your code so far
from abc import ABC, abstractmethod
import random
class Player(ABC):
def __init__(self):
self.moves = []
self.position = (0, 0)
self.path = [self.position]
def make_move(self):
move = random.choice(self.moves)
self.position = (
self.position[0] + move[0],
self.position[1] + move[1]
)
self.path.append(self.position)
return self.position
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.2 Safari/605.1.15
Challenge Information:
Build a Player Interface - Build a Player Interface