Skip to content

Andndre/tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

248eae6 · Aug 28, 2022

History

29 Commits
Aug 26, 2022
Jan 17, 2022
Jan 16, 2022
Aug 28, 2022
Jan 16, 2022
Jan 16, 2022
Jan 16, 2022
Aug 26, 2022
Aug 26, 2022
Aug 26, 2022
Aug 28, 2022
Jan 16, 2022

Repository files navigation

Learn more about Tetris on wikipedia

IMPORTANT

  • Play this in desktop aspect ratio, or better fullscreen

How to navigate

  • A or LEFT ARROW to move left
  • D or RIGHT ARROW to move right
  • W or UP ARROW or Q to rotate left
  • E to rotate right
  • ENTER or SPACEBAR to hard drop

Scoring system

  • Action scores

    Action Scores
    1 (single) 100 x level
    2 (double) 300 x level
    3 (triple) 500 x level
    4 (tetris) 800 x level
    Single-line perfect clear 800 × level
    Double-line perfect clear 1200 × level
    Triple-line perfect clear 1800 × level
    Tetris perfect clear 2000 × level
    Soft drop 1 per cell
    Hard drop 2 per cell
  • Leveling

    level increases if lines is greater than or equal to level * 10 + 5

Screenshots

main menu

gameplay1

in-game

gameplay2

game-over

gameplay2