Commit f1e2679a by BellCodeEditor

auto save

parent 527c2fe5
Showing with 6 additions and 6 deletions
......@@ -47,14 +47,14 @@ while True:
exit()
if event.type == locals.KEYDOWN:
if event.key == locals.K_d:
center[1] += 1
if center[1] < 15:
center[1] += 1
elif event.key == locals.K_a:
center[1] -= 1
if center[1] > 1:
center[1] -= 1
elif event.key == locals.K_s:
center[0] += 1
elif event.key == locals.K_w:
index += 1
if center[0] < 25:
center[0] += 1
screen.blit(background, (0, 0))
current_pos = []
for cube in current_shape:
......
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