MCPcopy Create free account
hub / github.com/ActiveState/code / line_full

Function line_full

recipes/Python/580680_Tetris/recipe-580680.py:99–104  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

97def remove_full_lines():
98 global shaft, width, height
99 def line_full(line):
100 global width
101 for x in range(width):
102 if line[x] == empty:
103 return False
104 return True
105
106 def remove_line(y):
107 global shaft, width

Callers 1

remove_full_linesFunction · 0.85

Calls 1

rangeFunction · 0.85

Tested by

no test coverage detected