adventofcode.year_2021.day_2021_05.readable

Module Contents

Classes

Line

StraightLine

DiagonalLine

Board

Functions

part1()

part2()

Attributes

data

segments

xmax

ymax

adventofcode.year_2021.day_2021_05.readable.data
adventofcode.year_2021.day_2021_05.readable.segments
adventofcode.year_2021.day_2021_05.readable.xmax
adventofcode.year_2021.day_2021_05.readable.ymax
class adventofcode.year_2021.day_2021_05.readable.Line
class adventofcode.year_2021.day_2021_05.readable.StraightLine(coords)

Bases: Line

class adventofcode.year_2021.day_2021_05.readable.DiagonalLine(coords)

Bases: Line

class adventofcode.year_2021.day_2021_05.readable.Board(limits)
draw_line(self, line)
overlaps(self)
adventofcode.year_2021.day_2021_05.readable.part1()
adventofcode.year_2021.day_2021_05.readable.part2()