tictactoe-randall 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/bin/Board.rb +304 -305
- data/bin/ModalWindow.rb +25 -25
- data/bin/player.rb +33 -32
- data/bin/tictactoe.rb +488 -492
- data/{tictactoe_randall → tictactoe} +13 -13
- metadata +20 -28
@@ -1,13 +1,13 @@
|
|
1
|
-
#!/usr/bin/ruby
|
2
|
-
|
3
|
-
require 'vrlib'
|
4
|
-
|
5
|
-
#make program output in real time so errors visible in VR.
|
6
|
-
STDOUT.sync = true
|
7
|
-
STDERR.sync = true
|
8
|
-
|
9
|
-
#everything in these directories will be included
|
10
|
-
my_path = File.expand_path(File.dirname(__FILE__))
|
11
|
-
require_all Dir.glob(my_path + "/bin/**/*.rb")
|
12
|
-
|
13
|
-
board = Board.new.show
|
1
|
+
#!/usr/bin/ruby
|
2
|
+
|
3
|
+
require 'vrlib'
|
4
|
+
|
5
|
+
#make program output in real time so errors visible in VR.
|
6
|
+
STDOUT.sync = true
|
7
|
+
STDERR.sync = true
|
8
|
+
|
9
|
+
#everything in these directories will be included
|
10
|
+
my_path = File.expand_path(File.dirname(__FILE__))
|
11
|
+
require_all Dir.glob(my_path + "/bin/**/*.rb")
|
12
|
+
|
13
|
+
board = Board.new.show
|
metadata
CHANGED
@@ -1,104 +1,96 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tictactoe-randall
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Randall Reed
|
9
8
|
autorequire:
|
10
9
|
bindir:
|
11
|
-
- .
|
10
|
+
- "."
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2014-06-09 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: vrlib
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
|
-
- -
|
18
|
+
- - ">="
|
21
19
|
- !ruby/object:Gem::Version
|
22
20
|
version: 0.0.1
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
|
-
- -
|
25
|
+
- - ">="
|
29
26
|
- !ruby/object:Gem::Version
|
30
27
|
version: 0.0.1
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: gtk2
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
|
-
- -
|
32
|
+
- - ">="
|
37
33
|
- !ruby/object:Gem::Version
|
38
34
|
version: 0.0.1
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
|
-
- -
|
39
|
+
- - ">="
|
45
40
|
- !ruby/object:Gem::Version
|
46
41
|
version: 0.0.1
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: require_all
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
|
-
- -
|
46
|
+
- - ">="
|
53
47
|
- !ruby/object:Gem::Version
|
54
48
|
version: 0.0.1
|
55
49
|
type: :runtime
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
|
-
- -
|
53
|
+
- - ">="
|
61
54
|
- !ruby/object:Gem::Version
|
62
55
|
version: 0.0.1
|
63
56
|
description:
|
64
57
|
email:
|
65
58
|
executables:
|
66
|
-
-
|
59
|
+
- tictactoe
|
67
60
|
extensions: []
|
68
61
|
extra_rdoc_files: []
|
69
62
|
files:
|
63
|
+
- "./tictactoe"
|
70
64
|
- bin/Board.rb
|
71
65
|
- bin/ModalWindow.rb
|
72
|
-
- bin/
|
73
|
-
- bin/tictactoe.rb
|
66
|
+
- bin/blank.jpg
|
74
67
|
- bin/glade/Board.glade
|
75
68
|
- bin/glade/ModalWindow.glade
|
76
|
-
- bin/blank.jpg
|
77
69
|
- bin/o.jpg
|
70
|
+
- bin/player.rb
|
71
|
+
- bin/tictactoe.rb
|
78
72
|
- bin/x.jpg
|
79
|
-
- ./tictactoe_randall
|
80
73
|
homepage:
|
81
74
|
licenses: []
|
75
|
+
metadata: {}
|
82
76
|
post_install_message:
|
83
77
|
rdoc_options: []
|
84
78
|
require_paths:
|
85
|
-
- .
|
79
|
+
- "."
|
86
80
|
required_ruby_version: !ruby/object:Gem::Requirement
|
87
|
-
none: false
|
88
81
|
requirements:
|
89
|
-
- -
|
82
|
+
- - ">="
|
90
83
|
- !ruby/object:Gem::Version
|
91
84
|
version: '0'
|
92
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
|
-
none: false
|
94
86
|
requirements:
|
95
|
-
- -
|
87
|
+
- - ">="
|
96
88
|
- !ruby/object:Gem::Version
|
97
89
|
version: '0'
|
98
90
|
requirements: []
|
99
91
|
rubyforge_project: nowarning
|
100
|
-
rubygems_version:
|
92
|
+
rubygems_version: 2.2.2
|
101
93
|
signing_key:
|
102
|
-
specification_version:
|
94
|
+
specification_version: 4
|
103
95
|
summary: GUI Tic Tac Toe game.
|
104
96
|
test_files: []
|