berlin-ai 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ai/game.rb +1 -1
- data/lib/version.rb +1 -1
- metadata +3 -3
data/lib/ai/game.rb
CHANGED
@@ -2,7 +2,7 @@ module Berlin
|
|
2
2
|
module AI
|
3
3
|
# Game keeps track of current games played by the server, indexing them on their uniq id.
|
4
4
|
class Game
|
5
|
-
attr_reader :id, :map, :moves, :player_id, :current_turn, :number_of_players, :time_limit_per_turn
|
5
|
+
attr_reader :id, :map, :moves, :player_id, :current_turn, :number_of_players, :time_limit_per_turn, :maximum_number_of_turns, :turns_left
|
6
6
|
|
7
7
|
# Keep track of all current games
|
8
8
|
@@games = {}
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 19
|
9
|
+
version: 0.0.19
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Christian Blais
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-07-
|
19
|
+
date: 2011-07-06 00:00:00 -04:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|