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
- All tetrominoes
- Alternative rotation
- Drop: soft drop
- Game over detection
- Game over screen: color swap
- Gravity
- Horizontal movement
- Line clearing
- Line clear points:
- Single: 1
- Double: 2
- Triple: 3
- Tetris: 4
- No bugs
- Placement transition: turns blue
- Quit: close tab
- Restart: refresh page
- Retry: refresh page
- Rotation
- Sleep mode: from OS