Tell us what’s happening:
I have no idea what is going with step 11 as I tried, looked over , research, check other people’s work similar to my own and still failing. I just want clarification of what am I doing wrong, it would be very appreciative to get a little insight to what I am suppose to do. please and thank you.
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) -> tuple:
random_move = random.choice(self.moves)
self.position = (
self.position[0] + random_move[0], self.position[1] + random_move[1]
)
self.position = new_position
self.path.append(self.position)
return self.position
pass
Your browser information:
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36
Challenge Information:
Build a Player Interface - Build a Player Interface