RubyGems
npm
Organizations
Log in
Sign up
RubyGems
rubots
Versions diffs
0.2 → 0.2.1
rubots 0.2 → 0.2.1
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/rubots/game.rb
+1
-1
metadata
+1
-1
data/lib/rubots/game.rb
CHANGED
@@ -45,7 +45,7 @@ module Rubots
45
45
@taken ||= []
46
46
begin
47
47
pair = [rand(x_cells), rand(y_cells)]
48
-
end while
puts("coll") ||
@taken.include?(pair)
48
+
end while @taken.include?(pair)
49
49
@taken << pair
50
50
pair.map { |coord| coord * CELL_SIZE + CELL_SIZE / 2 }
51
51
end
metadata
CHANGED
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: rubots
3
3
version: !ruby/object:Gem::Version
4
-
version:
'
0.2
'
4
+
version: 0.2
.1
5
5
prerelease:
6
6
platform: ruby
7
7
authors: