Try this structure:
################ app/main.rb
require 'app/init.rb'
require 'app/tick.rb'
################ app/init.rb
Color = [100,100,100]
module Init
def fun
puts "sup"
end
end
################ app/tick.rb
class Game
include Init
end
$game = Game.new
puts Color
def tick
puts Color
$game.fun
end