Skip to content

Instantly share code, notes, and snippets.

@eqr
Created July 26, 2020 12:04
Show Gist options
  • Save eqr/ba462410a533b419edf0f7191854e6fc to your computer and use it in GitHub Desktop.
Save eqr/ba462410a533b419edf0f7191854e6fc to your computer and use it in GitHub Desktop.
def shape(%Tetris.Brick{name: :l}) do
[
{2, 1},
{2, 2},
{2, 3}, {3,3}
]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment