class RobotsFindKitten::Thing
Attributes
symbol[R]
x[R]
y[R]
Public Class Methods
new()
click to toggle source
# File lib/robotsfindkitten/thing.rb, line 9 def initialize symbol = '#' symbol = ALPHABET.sample while symbol == '#' @symbol = symbol @x = rand(WIDTH) @y = rand(HEIGHT) end