Skip to content

Things that work

INJE ™ edited this page Jun 14, 2017 · 18 revisions

Start screen with blinking text

Leaderboard

  • Displays top 3 scores on the start screen

Randomly generated tetrimino blocks

  • New block is randomly choosed from 7 tetriminos.

Displays

Holded block

  • Holds current block when L_SHIFT is pressed.
  • Holded block is displayed on the right.

Next block

  • Next block is displayed on the right.

Score

  • Current score is displayed on the right.

level

  • Current level is displayed on the right.

Goal

  • Lines required for next level is displayed on the right.

Ghost

  • Ghost mino at the bottom for enhanced game experience.

Pause

  • Pause the game when 'esc' key is pressed.

Level system

  • Increase speed according to levels.
  • Increase score per line according to levels.

Preventing invalid moves

Prevents new blocks from penetrating bottom blocks.

is_bottom(x, y, mino, r)

Prevents blocks from moving over walls.

is_leftedge(x, y, mino, r)


is_rightedge(x, y, mino, r)

Kick

Floor kick

  • Nudge the block up when it's impossible to turn without it.

Wall kick

  • Nudge the block sideways when it's impossible to turn without it.

Used function

is_turnable(x, y, mino, r)

Remove maxed out rows

  • Maxed out rows get emptied out.

Sound effects

More on Resources

Game over when the board is full

  • You can save your score after the game is over.