Skip to content

Latest commit

 

History

History
50 lines (42 loc) · 1.29 KB

README.md

File metadata and controls

50 lines (42 loc) · 1.29 KB

Tetris by Andrew March

1. Links

2. Summary

  • Programming language: JavaScript
  • Main size: 2,7 KB
  • Extra size: 100 B
  • Total size: 2,8 KB
  • Feature count: 16
  • Bytes per feature: 169 B

3. Controls

  • Q: rotate counterclockwise
  • W: rotate clockwise
  • Ctrl+R or ⌘ Cmd+R: restart
  • Ctrl+W or ⌘ Cmd+W: quit
  • : move left
  • : soft drop
  • : move right

4. Features

  1. All tetrominoes
  2. Alternative rotation
  3. Drop: soft drop
  4. Game over detection
  5. Game over screen: color swap
  6. Gravity
  7. Horizontal movement
  8. Line clearing
  9. Line clear points:
    • Single: 1
    • Double: 2
    • Triple: 3
    • Tetris: 4
  10. No bugs
  11. Placement transition: turns blue
  12. Quit: close tab
  13. Restart: refresh page
  14. Retry: refresh page
  15. Rotation
  16. Sleep mode: from OS