Click on game to activate mouse controls: Use WASD to walk. "Shoot" a piece with left/right click to pull/push it, control-click to rotate, and space to drop.
Press escape to activate keyboard controls: Use WASD to walk. Q and E sidestep. "Shoot" a piece with the left and right arrows to move it, up to rotate, and down to drop.

Click here for config/debugging overrides.
VIEWPORT_WIDTH_PIXELS: How many pixels wide the viewport is
VIEWPORT_HEIGHT_PIXELS: How many pixels tall the viewport is
VIEWPORT_WIDTH_DEGREES: How wide the player can see (between 1 and 179 degrees)
COLUMN_WIDTH_PIXELS: How wide each "drawn" line is (1 is highest resolution)
MAX_FRAMERATE: The framerate the graphics engine will target
WALL_HEIGHT: How tall each wall should be (1 is a cube)
SKY_COLOR: Hex color of the sky
GROUND_COLOR: Hex color of the ground
WALL_SHADING_PERCENT: Color difference of perpendicular walls
WALL_DISTANCE_SHADE: How much darker far away objects should appear
KEYBOARD_TURNING_SPEED: How fast the player turns with the keyboard
MOUSE_SENSITIVITY: How fast the mouse turns
PLAYER_WALKING_SPEED: How fast the player walks
PLAYER_ACCELERATION: How fast the player accelerates
PLAYER_STARTING_X: Player's starting X location
PLAYER_STARTING_Y: Player's starting Y location
PLAYER_STARTING_ANGLE_DEGREES: Direction player is looking at start
VIEWPORT_CROSSHAIR_SIZE_PIXELS: The height and width of the crosshairs
VIEWPORT_CROSSHAIR_COLOR: The color of the crosshairs
TETRIS_STARTING_TICK_SPEED_MILLISECONDS: The initial speed of the tetris engine
TETRIS_STARTING_LEVEL: The initial level of the tetris engine
TETRIS_SPEED_PER_LEVEL_MILLISECONDS: How much the tetris tick speed decreases each level
TETRIS_DROP_TICK_SPEED_MILLISECONDS: The tetris tick speed when pieces are dropping