Skip to content

Instantly share code, notes, and snippets.

@axelmarciano
Last active December 9, 2019 22:09
Show Gist options
  • Save axelmarciano/8d2a21584f9d317547610bdba9df074f to your computer and use it in GitHub Desktop.
Save axelmarciano/8d2a21584f9d317547610bdba9df074f to your computer and use it in GitHub Desktop.
const I = {
shape: [
[0, 0, 0, 0],
[0, 0, 0, 0],
[1, 1, 1, 1],
[0, 0, 0, 0]
],
color: "rgb(102, 253, 253)"
};
const O = {
shape: [
[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 1, 1, 0],
[0, 1, 1, 0]
],
color: "rgb(255, 255, 68)"
};
const L = {
shape: [
[0, 0, 0, 0],
[0, 0, 0, 0],
[1, 1, 1, 0],
[1, 0, 0, 0]
],
color: "rgb(239, 152, 46)"
};
const J = {
shape: [
[0, 0, 0, 0],
[0, 0, 0, 0],
[1, 1, 1, 0],
[0, 0, 1, 0]
],
color: "rgb(5, 0, 191)"
};
const Z = {
shape: [
[0, 0, 0, 0],
[0, 0, 0, 0],
[1, 1, 0, 0],
[0, 1, 1, 0]
],
color: "rgb(227, 28, 27)"
};
const S = {
shape: [
[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 1, 1, 0],
[1, 1, 0, 0]
],
color: "rgb(104, 255, 60)"
};
module.exports = { I, O, J, Z, S };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment