Browse Source

fix brick starting point, tag 0.1.4

master 0.1.4
Julian Noble 2 years ago
parent
commit
0ad5c0689f
  1. 2
      README.md
  2. 2
      lib/brick.ex

2
README.md

@ -9,7 +9,7 @@ Basic Tetris game written in Elixir using Phoenix Liveview - from groxio tutoria
```elixir ```elixir
def deps do def deps do
[ [
{:tetris, git: "https://gitea1.intx.com.au/jn/tetris.git", tag: "0.1.2"} {:tetris, git: "https://gitea1.intx.com.au/jn/tetris.git", tag: "0.1.4"}
] ]
end end
``` ```

2
lib/brick.ex

@ -15,7 +15,7 @@ defmodule Tetris.Brick do
def new_random() do def new_random() do
%__MODULE__{ %__MODULE__{
name: random_name(), name: random_name(),
location: {40,0}, location: {3,-3},
rotation: random_rotation(), rotation: random_rotation(),
reflection: random_reflection() reflection: random_reflection()
} }

Loading…
Cancel
Save