ttt_gem_8thlight 0.0.8 → 0.0.9
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 +4 -4
- data/lib/{mock_ui.rb → mocks/mock_ui.rb} +0 -0
- data/lib/tictactoe.rb +8 -7
- data/lib/{ai → ttt/ai}/ai_factory.rb +0 -0
- data/lib/{ai → ttt/ai}/unbeatable_ai.rb +0 -0
- data/lib/{ai.rb → ttt/ai.rb} +0 -0
- data/lib/{board.rb → ttt/board.rb} +0 -0
- data/lib/{game.rb → ttt/game.rb} +0 -0
- data/lib/{human.rb → ttt/human.rb} +0 -0
- data/lib/{player_factory.rb → ttt/player_factory.rb} +0 -0
- data/spec/ai/ai_factory_spec.rb +1 -1
- data/spec/ai/unbeatable_ai_spec.rb +1 -3
- data/spec/game_spec.rb +0 -2
- metadata +11 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 61cf6cb2c3398a9f85597236b94566ac32e8777b
|
|
4
|
+
data.tar.gz: e76d69e852bb315fa6a365edc01415b299b52d8d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba1b9bb6c4225f533af76c7742c244e3b198da83ea8858c0fd82d5b91ea4f4a04e4185f7c17ae69b75b8ff7c39b5b8bc7d3bf6912e91cf85d4fcb7b4b5acd2cb
|
|
7
|
+
data.tar.gz: a85241c5d0b524caf0d1a7b77c3499b8295c2f8eb530d6d2be461554233b2695ae468400868295e910252ed5fd971f8a4443d9f9e9387813cc320f8bfd1c30ab
|
|
File without changes
|
data/lib/tictactoe.rb
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
require '
|
|
2
|
-
require '
|
|
3
|
-
require '
|
|
4
|
-
require '
|
|
5
|
-
require '
|
|
6
|
-
require '
|
|
7
|
-
require '
|
|
1
|
+
require 'ttt/game'
|
|
2
|
+
require 'ttt/player_factory'
|
|
3
|
+
require 'ttt/board'
|
|
4
|
+
require 'ttt/human'
|
|
5
|
+
require 'ttt/ai'
|
|
6
|
+
require 'ttt/ai/unbeatable_ai'
|
|
7
|
+
require 'ttt/ai/ai_factory'
|
|
8
|
+
require 'mocks/mock_ui'
|
|
File without changes
|
|
File without changes
|
data/lib/{ai.rb → ttt/ai.rb}
RENAMED
|
File without changes
|
|
File without changes
|
data/lib/{game.rb → ttt/game.rb}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/spec/ai/ai_factory_spec.rb
CHANGED
data/spec/game_spec.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ttt_gem_8thlight
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Meagan Waller
|
|
@@ -38,7 +38,7 @@ dependencies:
|
|
|
38
38
|
- - '>='
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
|
-
description: Tic Tac Toe
|
|
41
|
+
description: Tic Tac Toe engine for powering CLI & Sinatra Web App
|
|
42
42
|
email: meaganewaller@gmail.com
|
|
43
43
|
executables: []
|
|
44
44
|
extensions: []
|
|
@@ -46,15 +46,15 @@ extra_rdoc_files: []
|
|
|
46
46
|
files:
|
|
47
47
|
- README.md
|
|
48
48
|
- Rakefile
|
|
49
|
-
- lib/
|
|
50
|
-
- lib/ai/unbeatable_ai.rb
|
|
51
|
-
- lib/ai.rb
|
|
52
|
-
- lib/board.rb
|
|
53
|
-
- lib/game.rb
|
|
54
|
-
- lib/human.rb
|
|
55
|
-
- lib/mock_ui.rb
|
|
56
|
-
- lib/player_factory.rb
|
|
49
|
+
- lib/mocks/mock_ui.rb
|
|
57
50
|
- lib/tictactoe.rb
|
|
51
|
+
- lib/ttt/ai/ai_factory.rb
|
|
52
|
+
- lib/ttt/ai/unbeatable_ai.rb
|
|
53
|
+
- lib/ttt/ai.rb
|
|
54
|
+
- lib/ttt/board.rb
|
|
55
|
+
- lib/ttt/game.rb
|
|
56
|
+
- lib/ttt/human.rb
|
|
57
|
+
- lib/ttt/player_factory.rb
|
|
58
58
|
- spec/ai/ai_factory_spec.rb
|
|
59
59
|
- spec/ai/unbeatable_ai_spec.rb
|
|
60
60
|
- spec/ai_spec.rb
|
|
@@ -85,5 +85,5 @@ rubyforge_project:
|
|
|
85
85
|
rubygems_version: 2.1.5
|
|
86
86
|
signing_key:
|
|
87
87
|
specification_version: 4
|
|
88
|
-
summary: Tic Tac Toe
|
|
88
|
+
summary: My Tic Tac Toe engine with unbeatable AI
|
|
89
89
|
test_files: []
|