console-tetris 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e49ef4242beccb88b45d908f61f8853712db7d4
4
- data.tar.gz: bc42a43f768919cc054fc67f7cfbe589604a12a2
3
+ metadata.gz: 8c9eb71d0c195a5122a5ad269884a0245b1cc75a
4
+ data.tar.gz: 29694cc41d9ffda7c519f5394f0d36cc24c100c0
5
5
  SHA512:
6
- metadata.gz: 71ca0528a5749153d655461b5dbbab43fc6ff8fc7cb70c0919c7eddab185dfe2a86413fd2d89590a9c008360e9dc1b4b9db721902740aeece23b039aa1b72c4e
7
- data.tar.gz: f9816aab6389c409e77f9ab1e54c1acf512f71a7d33755422f159f4271f2f89a1faaaf0f188fdd4f3775cf4896ba0c42f967661e23f46349e61587cd3d2b2400
6
+ metadata.gz: 3ca0b286d94f9e3c0f7199a259a6cd02147bd35de923c489afc67a3a4dda87102991950be4d531468f5db29035200d521116beabee59c093d649eca67f1f4026
7
+ data.tar.gz: 2f4107813491c2fc639fd21679c0d7c70c2fae2ccd29843144f674b98273409c763b5814e2e84796b9953b4ff3276ea370247619a249a4a68598d5f8fea2230c
@@ -6,26 +6,24 @@ class ConsoleTetris
6
6
  case degree
7
7
  when 0
8
8
  [
9
- [4, 4, 4, 4],
10
- [0, 0, 0, 4]
9
+ [4, 4, 4],
10
+ [0, 0, 4]
11
11
  ]
12
12
  when 90
13
13
  [
14
- [0, 4],
15
14
  [0, 4],
16
15
  [0, 4],
17
16
  [4, 4]
18
17
  ]
19
18
  when 180
20
19
  [
21
- [4, 0, 0, 0],
22
- [4, 4, 4, 4]
20
+ [4, 0, 0],
21
+ [4, 4, 4]
23
22
  ]
24
23
  when 270
25
24
  [
26
25
  [4, 4],
27
26
  [4, 0],
28
- [4, 0],
29
27
  [4, 0]
30
28
  ]
31
29
  end
@@ -35,24 +33,22 @@ class ConsoleTetris
35
33
  case degree
36
34
  when 0
37
35
  [
38
- [7, 7, 7, 7],
39
- [7, 0, 0, 0]
36
+ [7, 7, 7],
37
+ [7, 0, 0]
40
38
  ]
41
39
  when 90
42
40
  [
43
41
  [7, 7],
44
42
  [0, 7],
45
- [0, 7],
46
43
  [0, 7]
47
44
  ]
48
45
  when 180
49
46
  [
50
- [0, 0, 0, 7],
51
- [7, 7, 7, 7]
47
+ [0, 0, 7],
48
+ [7, 7, 7]
52
49
  ]
53
50
  when 270
54
51
  [
55
- [7, 0],
56
52
  [7, 0],
57
53
  [7, 0],
58
54
  [7, 7]
@@ -1,3 +1,3 @@
1
1
  class ConsoleTetris
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: console-tetris
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - pekepek