-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgame_2d.gemspec
51 lines (45 loc) · 2.38 KB
/
game_2d.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'game_2d/version'
Gem::Specification.new do |spec|
spec.name = 'game_2d'
spec.version = Game2d::VERSION
spec.authors = ['Greg Meyers']
spec.email = ['[email protected]']
spec.summary = %q{Client/server sandbox game using Gosu and REnet}
spec.description = <<EOF
Built on top of Gosu, an engine for making 2-D games. Gosu provides the means
to handle the graphics, sound, and keyboard/mouse events. It doesn't provide
any sort of client/server network architecture for multiplayer games, nor a
system for tracking objects in game-space. This gem aims to fill that gap.
Originally I tried using Chipmunk as the physics engine, but its outcomes were
too unpredictable for the client to anticipate the server. It was also hard to
constrain in the ways I wanted. So I elected to build something integer-based.
In the short term, I'm throwing anything into this gem that interests me. There
are reusable elements (GameSpace, Entity, ServerPort), and game-specific
elements (particular Entity subclasses with custom behaviors). Longer term, I
could see splitting it into two gems. This gem, game_2d, would retain the
reusable platform classes. The other classes would move into a new gem specific
to the game I'm developing, as a sort of reference implementation.
EOF
spec.homepage = 'https://github.com/sereneiconoclast/game_2d'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 1.9.3'
spec.add_runtime_dependency 'clipboard', ['>= 1.0.6']
spec.add_runtime_dependency 'facets', ['>= 2.9.3']
spec.add_runtime_dependency 'gosu', ['>= 0.8.5']
spec.add_runtime_dependency 'json', ['>= 1.8.1']
spec.add_runtime_dependency 'renet', ['>= 0.1.14']
spec.add_runtime_dependency 'treetop', ['>= 1.6.3']
spec.add_runtime_dependency 'trollop', ['>= 2.0']
# spec.add_runtime_dependency 'pry'
spec.add_development_dependency 'bundler', '~> 1.7'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3.1.0'
spec.add_development_dependency 'rr', '~> 1.1.2'
end