BiblioPixelAnimations.game.Tetris module

class BiblioPixelAnimations.game.Tetris.Tetris(layout, inputDev, evil=False, **kwds)[source]

Bases: bibliopixel.animation.game.Game

add_cl_lines(n)[source]
clearLevelUp()[source]
disp_msg(msg, x, y)[source]
draw_matrix(matrix, offset)[source]
drop(manual)[source]
init_game()[source]
insta_drop()[source]
move(delta_x)[source]
new_stone()[source]
pre_run()[source]
rotate_stone()[source]
start_game()[source]
step(amt=1)[source]
togglePause()[source]
toggle_pause()[source]
BiblioPixelAnimations.game.Tetris.check_collision(board, shape, offset)[source]
BiblioPixelAnimations.game.Tetris.join_matrixes(mat1, mat2, mat2_off)[source]
BiblioPixelAnimations.game.Tetris.new_board()[source]
BiblioPixelAnimations.game.Tetris.remove_row(board, row)[source]
BiblioPixelAnimations.game.Tetris.rotate_clockwise(shape)[source]