From 0ad5c0689fc2750a2f8dc1093e1a84157c1a864c Mon Sep 17 00:00:00 2001 From: Julian Noble Date: Tue, 13 Sep 2022 02:04:56 +1000 Subject: [PATCH] fix brick starting point, tag 0.1.4 --- README.md | 2 +- lib/brick.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3af98ff..aa36403 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Basic Tetris game written in Elixir using Phoenix Liveview - from groxio tutoria ```elixir 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 ``` diff --git a/lib/brick.ex b/lib/brick.ex index acedf07..211d560 100644 --- a/lib/brick.ex +++ b/lib/brick.ex @@ -15,7 +15,7 @@ defmodule Tetris.Brick do def new_random() do %__MODULE__{ name: random_name(), - location: {40,0}, + location: {3,-3}, rotation: random_rotation(), reflection: random_reflection() }