Commit e3103c56 by BellCodeEditor

auto save

parent 1c7e7e19
Showing with 15 additions and 0 deletions
cube_colors = [
(204,153,153),(102,102,153),(153,0,102),
(255,204,0),(204,0,51),(255,0,51),(153,0,102)
(153,0,51),(204,255,102,)(255,153,0)[
def check(center):
for cube in current_shape:
cube=(cube[0]+center[0],cube[1]=+center[1])
if cube[0] < 1 or cube[1] < 1 or cube[0] > grid_num_height \
or cube[1] >grid_num_width:
return False
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment