Module: Spacewar

Defined in:
lib/spacewar.rb,
lib/spacewar/spacewar.rb

Defined Under Namespace

Classes: Game, Planet, Player, Star

Constant Summary collapse

VERSION =
'0.0.2'
ROOT =
File.dirname(__FILE__)
G_CONST =
2000
SCREEN_WIDTH =
1280
SCREEN_HEIGHT =
800

Class Method Summary collapse

Class Method Details

.playObject



214
215
216
# File 'lib/spacewar/spacewar.rb', line 214

def self.play
  Game.new.show
end