Skip to content

Instantly share code, notes, and snippets.

@eqr
Created July 26, 2020 12:06
Show Gist options
  • Save eqr/fe269a0eb2752a6a5c981fff89c001f2 to your computer and use it in GitHub Desktop.
Save eqr/fe269a0eb2752a6a5c981fff89c001f2 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