Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (20 sloc) 427 Bytes
require './colors'
WIDTH = 640
HEIGHT = 480
module SpriteImage
Grass = 102
Earth = 101
Gravel = 100
Wall = 59
Bullet= 28
Tank = 39
end
NAME = "Tanks!"
SPRITESHEET = "assets/spritesheet.png"
MAPFILE = "assets/map.txt"
DEFAULT_HIT_POINTS = 10
SERVER = '0.0.0.0'
PORT = 1234
require 'randexp'
PLAYER_NAME = Randgen.first_name(length: 6)
PLAYER_COLOR = COLORS.values[rand(COLORS.size)]