berlin-ai 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
data/lib/berlin-ai.rb CHANGED
@@ -2,6 +2,12 @@ require 'optparse'
2
2
  require 'sinatra'
3
3
  require 'yajl/json_gem'
4
4
 
5
+ puts " __ __ __ _______ _______ "
6
+ puts "| |--..-----..----.| |__|.-----. | _ |_ _|"
7
+ puts "| _ || -__|| _|| | || | | |_| |_ "
8
+ puts "|_____||_____||__| |__|__||__|__| |___|___|_______|"
9
+ puts
10
+
5
11
  %w(game map node).each do |file|
6
12
  require File.expand_path( File.dirname( __FILE__ ) ) + "/ai/#{file}"
7
13
  end
data/lib/version.rb CHANGED
@@ -2,7 +2,7 @@ module Berlin
2
2
  module AI
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- BUILD = 13
5
+ BUILD = 14
6
6
 
7
7
  VERSION = "#{MAJOR}.#{MINOR}.#{BUILD}"
8
8
  end
data/test/test_ai.rb CHANGED
@@ -2,9 +2,8 @@ require 'rubygems'
2
2
  require 'berlin-ai'
3
3
 
4
4
  class Berlin::AI::Player
5
- def self.on_turn( game )
6
-
7
-
5
+ def self.on_turn( game )
8
6
  game.add_move( 1, 2, 12 )
7
+ game.add_move( 3, 4, 10 )
9
8
  end
10
9
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: berlin-ai
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 13
10
- version: 0.0.13
9
+ - 14
10
+ version: 0.0.14
11
11
  platform: ruby
12
12
  authors:
13
13
  - Christian Blais