Python Object-Oriented Python Dice Roller Boards

Bashir Orfani
Bashir Orfani
12,495 Points

Create a new class named

Create a new class named

boards.py
class Board:
    def __init__(self, width, height):
        self.width = width
        self.height = height
        self.cells = []
        for y in range(self.height):
            for x in range(self.width):
                self.cells.append((x, y))
Steven Parker
Steven Parker
202,109 Points

This just looks like the starting challenge code. Did you mean to ask a question?