Skip to content

Commit

Permalink
zzz
Browse files Browse the repository at this point in the history
  • Loading branch information
aeblyve committed Dec 3, 2021
1 parent 6fddbc6 commit 85a5799
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions code/bot/game.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,17 @@ def rotate_left(state):
return tuple(new_piece), grid


def hard_drop(state):
"""Move the current piece down until it can't go down anymore, then lock it"""
pass


def lock(state):
"""If a piece can rest on the brickstack, rest it"""
piece, grid = state
pass


def rotate_right(state):
piece, grid = state
center_x, center_y = piece[0]
Expand Down

0 comments on commit 85a5799

Please sign in to comment.