ai_games-four_in_a_row 0.1.1 → 0.1.2

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: e057e2ea7141df490285e2e267381bace00675c4
4
- data.tar.gz: ef7e0e8be481e29083855005ffcf77bfbeb5962f
3
+ metadata.gz: 609bf72e80e0b4ce63526a8bb8e796e6ef3c9976
4
+ data.tar.gz: a5c1b85866d5c8af791e2efb96c9fb12ce38210e
5
5
  SHA512:
6
- metadata.gz: 80f650bd58529226d704a5058095e2d9d34000bb320774b982f2e34032a6966ab8eb86db9224e21eff0cd5cc963018a7c31a4bf15ee54a9b2e375df562788ef2
7
- data.tar.gz: d143a9861ad8dd1ccfc509d7b93c86e2880d146ff7f2c2e78a57e2db8a17ff87f892d8991b79bd8d0a0caf2f68b3585281909c5df518bc6012b8ba610faf7799
6
+ metadata.gz: 4784df6e596a63132d3c4d9ca81cffb92801cdaef3956d9949377b73954d9fb53d5752f9cfb1275662f229507f6081c0146583c460f288899e3decfafe0ef991
7
+ data.tar.gz: 3103ff9ef6d49831ffc20a7dbffe7b4334c99058592fa043a7ab7b24e354a901f2c64a0148df6e55e30502a5570dbff4280e64f342f0f19d387dd740d842ba3a
@@ -43,7 +43,7 @@ module AIGames
43
43
  # the column you want to drop a pin in. To customize your bot, overwrite
44
44
  # this method with your own implementation.
45
45
  def place_disc
46
- rand(0..match.columns)
46
+ rand(0...match.playing_field.columns)
47
47
  end
48
48
 
49
49
  # Starts this bot.
@@ -1,5 +1,5 @@
1
1
  module AIGames
2
2
  module FourInARow
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ai_games-four_in_a_row
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan David Nose