Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class init():
- def __init__(self, width=0, height=0, fg="white" , bg="black"):
- self.units = {"width": width, "height": height}
- self.colors = {"fg": fg, "bg": bg}
- self.board = [["." for i in range(self.units["width"])]
- for j in range(self.units["height"])]
- self.graphics = []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement