Skip to content

Instantly share code, notes, and snippets.

@melcor76
Created December 3, 2019 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save melcor76/e65ab7f6ccb3d06278704cfbf0cfc8b1 to your computer and use it in GitHub Desktop.
Save melcor76/e65ab7f6ccb3d06278704cfbf0cfc8b1 to your computer and use it in GitHub Desktop.
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