ttt_gem_8thlight 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f061b04b62fdc0c9480a82fcba161d1ea6d4ef20
4
- data.tar.gz: dfd0b214fedf5877b2ba79faee66bdb02301def9
3
+ metadata.gz: 61cf6cb2c3398a9f85597236b94566ac32e8777b
4
+ data.tar.gz: e76d69e852bb315fa6a365edc01415b299b52d8d
5
5
  SHA512:
6
- metadata.gz: 0afdb11059d6a690e397b1b3e43aa60f2db89664271e040b1c0abbb739848abde7b66482d1e87d04d8ad5cce50307223a7ccc53fdd424271417d65526b4c1f5a
7
- data.tar.gz: e8fbc0062700bda5e1e86b3052b99125fe23ac1fa0f3dcef94fa3c16e37051e9ebe0be0a2d1a1ff38767db412d2cd5026c21f78db7ac8e0180e78fa278dd2199
6
+ metadata.gz: ba1b9bb6c4225f533af76c7742c244e3b198da83ea8858c0fd82d5b91ea4f4a04e4185f7c17ae69b75b8ff7c39b5b8bc7d3bf6912e91cf85d4fcb7b4b5acd2cb
7
+ data.tar.gz: a85241c5d0b524caf0d1a7b77c3499b8295c2f8eb530d6d2be461554233b2695ae468400868295e910252ed5fd971f8a4443d9f9e9387813cc320f8bfd1c30ab
File without changes
data/lib/tictactoe.rb CHANGED
@@ -1,7 +1,8 @@
1
- require './lib/game'
2
- require './lib/player_factory'
3
- require './lib/board'
4
- require './lib/human'
5
- require './lib/ai'
6
- require './lib/ai/unbeatable_ai'
7
- require './lib/ai/ai_factory'
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
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,4 +1,4 @@
1
- require 'ai/ai_factory'
1
+ require 'spec_helper'
2
2
 
3
3
  describe TicTacToe::AIRules::Factory do
4
4
  it "makes an unbeatable AI move" do
@@ -1,6 +1,4 @@
1
- require 'ai/unbeatable_ai'
2
- require 'board'
3
-
1
+ require 'spec_helper'
4
2
  describe TicTacToe::AIRules::UnbeatableAI do
5
3
  let(:board) { TicTacToe::Board.new }
6
4
  let(:mark) { 'O' }
data/spec/game_spec.rb CHANGED
@@ -1,6 +1,4 @@
1
1
  require 'spec_helper'
2
- require 'mock_ui'
3
-
4
2
  describe TicTacToe::Game do
5
3
  let(:ui) { MockUI.new }
6
4
  let(:settings) {{:player_one => :human, :player_two => :ai }}
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.8
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 Gem
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/ai/ai_factory.rb
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: []