Skip to content

Instantly share code, notes, and snippets.

@melcor76
Created December 3, 2019 14:28
Embed
What would you like to do?
js-tetris - constants 3
const POINTS = {
SINGLE: 100,
DOUBLE: 300,
TRIPLE: 500,
TETRIS: 800,
SOFT_DROP: 1,
HARD_DROP: 2
}
Object.freeze(POINTS);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment