software_challenge_client 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c4c132d551b436a0ae0fec3a421749f2303048d4
|
|
4
|
+
data.tar.gz: a8c4fccb6d875d79936396a046a829f4d09bd563
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d78b25f5f8700374105c2c5c1cc6a2c05a9f076b2a8bcf6bb1c271685de45d80972e3d816d0eb8f6f634441713de2fb908ef9974f93ce887e1093e02fe6690eb
|
|
7
|
+
data.tar.gz: d6dd609b0b9c9e13a54b4f7021211874c26412fb61df962aedfaac81a0286329881a5b2d37d7e186d6ecf65f17048b82e74339bf25d0aae3cfae823a29ab4029
|
data/RELEASES.md
CHANGED
|
@@ -4,7 +4,7 @@ require_relative 'field_type'
|
|
|
4
4
|
# A field on the game board.
|
|
5
5
|
class Field
|
|
6
6
|
# @!attribute [rw] type
|
|
7
|
-
# @return [
|
|
7
|
+
# @return [FieldType] the field's type
|
|
8
8
|
attr_accessor :type
|
|
9
9
|
# @!attribute [r] x
|
|
10
10
|
# @return [Integer] the field's x-coordinate
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# A player, participating in a game
|
|
4
4
|
class Player
|
|
5
5
|
# @!attribute [r] name
|
|
6
|
-
# @return [
|
|
6
|
+
# @return [String] the player's name
|
|
7
7
|
attr_reader :name
|
|
8
8
|
|
|
9
9
|
# @!attribute [r] color
|
|
@@ -27,11 +27,11 @@ class Player
|
|
|
27
27
|
attr_accessor :direction
|
|
28
28
|
|
|
29
29
|
# @!attribute [rw] x
|
|
30
|
-
# @return [
|
|
30
|
+
# @return [Integer] the player's current x-position
|
|
31
31
|
attr_accessor :x
|
|
32
32
|
|
|
33
33
|
# @!attribute [rw] y
|
|
34
|
-
# @return [
|
|
34
|
+
# @return [Integer] the player's current y-position
|
|
35
35
|
attr_accessor :y
|
|
36
36
|
|
|
37
37
|
# @!attribute [rw] movement
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: software_challenge_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- 'kwollw '
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: exe
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date:
|
|
13
|
+
date: 2017-03-06 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: typesafe_enum
|