mazinator 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1fd16993c1bfb8a143556a1e50b76832f1833254
4
+ data.tar.gz: 55b114d6be7eb03c5aa8bf623155bbc9d5ab1d6b
5
+ SHA512:
6
+ metadata.gz: ba4992f37e1bb04403b255c671c2cecd35d2e4710b979c3a75a1cdd19a227b48551161e6b1a7c54ca32d396e07d1dba1080dc1de44bb53dee24e8621df28b39b
7
+ data.tar.gz: 0cafc3a0b81d539f123ba76a33eed0599e2ee34b7b6f446626f43be7c0368d814df50a1ebcab74afed3056b556fc5eeb5842c4a22d239abeff68ee58f22caa62
data/.gitignore ADDED
@@ -0,0 +1,35 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /test/tmp/
9
+ /test/version_tmp/
10
+ /tmp/
11
+
12
+ ## Specific to RubyMotion:
13
+ .dat*
14
+ .repl_history
15
+ build/
16
+
17
+ ## Documentation cache and generated files:
18
+ /.yardoc/
19
+ /_yardoc/
20
+ /doc/
21
+ /rdoc/
22
+
23
+ ## Environment normalisation:
24
+ /.bundle/
25
+ /vendor/bundle
26
+ /lib/bundler/man/
27
+
28
+ # for a library or gem, you might want to ignore these files since the code is
29
+ # intended to run in multiple environments; otherwise, check them in:
30
+ # Gemfile.lock
31
+ # .ruby-version
32
+ # .ruby-gemset
33
+
34
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
35
+ .rvmrc
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in mazinator.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,81 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ mazinator (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ coderay (1.1.0)
10
+ diff-lcs (1.2.5)
11
+ ffi (1.9.10)
12
+ formatador (0.2.5)
13
+ guard (2.13.0)
14
+ formatador (>= 0.2.4)
15
+ listen (>= 2.7, <= 4.0)
16
+ lumberjack (~> 1.0)
17
+ nenv (~> 0.1)
18
+ notiffany (~> 0.0)
19
+ pry (>= 0.9.12)
20
+ shellany (~> 0.0)
21
+ thor (>= 0.18.1)
22
+ guard-compat (1.2.1)
23
+ guard-rspec (4.6.4)
24
+ guard (~> 2.1)
25
+ guard-compat (~> 1.1)
26
+ rspec (>= 2.99.0, < 4.0)
27
+ listen (3.0.4)
28
+ rb-fsevent (>= 0.9.3)
29
+ rb-inotify (>= 0.9)
30
+ lumberjack (1.0.9)
31
+ method_source (0.8.2)
32
+ nenv (0.2.0)
33
+ notiffany (0.0.8)
34
+ nenv (~> 0.1)
35
+ shellany (~> 0.0)
36
+ pry (0.10.3)
37
+ coderay (~> 1.1.0)
38
+ method_source (~> 0.8.1)
39
+ slop (~> 3.4)
40
+ pry-nav (0.2.4)
41
+ pry (>= 0.9.10, < 0.11.0)
42
+ pry-remote (0.1.8)
43
+ pry (~> 0.9)
44
+ slop (~> 3.0)
45
+ rake (10.4.2)
46
+ rb-fsevent (0.9.6)
47
+ rb-inotify (0.9.5)
48
+ ffi (>= 0.5.0)
49
+ rspec (3.3.0)
50
+ rspec-core (~> 3.3.0)
51
+ rspec-expectations (~> 3.3.0)
52
+ rspec-mocks (~> 3.3.0)
53
+ rspec-core (3.3.2)
54
+ rspec-support (~> 3.3.0)
55
+ rspec-expectations (3.3.1)
56
+ diff-lcs (>= 1.2.0, < 2.0)
57
+ rspec-support (~> 3.3.0)
58
+ rspec-mocks (3.3.2)
59
+ diff-lcs (>= 1.2.0, < 2.0)
60
+ rspec-support (~> 3.3.0)
61
+ rspec-support (3.3.0)
62
+ shellany (0.0.1)
63
+ slop (3.6.0)
64
+ thor (0.19.1)
65
+
66
+ PLATFORMS
67
+ ruby
68
+
69
+ DEPENDENCIES
70
+ bundler (~> 1.10)
71
+ guard
72
+ guard-rspec
73
+ mazinator!
74
+ pry
75
+ pry-nav
76
+ pry-remote
77
+ rake (~> 10.0)
78
+ rspec
79
+
80
+ BUNDLED WITH
81
+ 1.10.6
data/Guardfile ADDED
@@ -0,0 +1,11 @@
1
+ guard 'rspec' do
2
+ # watch /lib/ files
3
+ watch(%r{^lib/(.+).rb$}) do |m|
4
+ "spec/#{m[1]}_spec.rb"
5
+ end
6
+
7
+ # watch /spec/ files
8
+ watch(%r{^spec/(.+).rb$}) do |m|
9
+ "spec/#{m[1]}.rb"
10
+ end
11
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 TODO: Write your name
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # Mazinator
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/mazinator`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'mazinator'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install mazinator
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/mazinator. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "mazinator"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,21 @@
1
+ module Mazinator
2
+
3
+ class Cell
4
+
5
+ attr_accessor :walls, :visited
6
+ attr_reader :row, :col
7
+
8
+ def initialize(row, col)
9
+ @row = row
10
+ @col = col
11
+ @walls = {left: true, right: true, up: true, down: true}
12
+ @visited = false
13
+ end
14
+
15
+ def visited?
16
+ self.visited
17
+ end
18
+
19
+ end
20
+
21
+ end
@@ -0,0 +1,40 @@
1
+ module Mazinator
2
+ class Maze
3
+
4
+ attr_accessor :maze, :start, :exit
5
+ attr_reader :rows, :cols
6
+
7
+ # def initialize(rows=10, cols=10, maze_generator=Mazinator::MazeGenerator.new)
8
+ def initialize(rows=10, cols=10, maze=nil)
9
+ @rows = rows
10
+ @cols = cols
11
+ @maze = maze
12
+ @start = maze[0,0]
13
+ @exit = maze[rows-1, cols-1]
14
+ end
15
+
16
+ def print
17
+ board = Array.new(@rows*3) { Array.new(@cols*3,'X') }
18
+ @maze.each{ |cell| put_cell_on_board(cell, board) }
19
+ board.each{|row| puts row.join('')}
20
+ end
21
+
22
+ private
23
+
24
+ def put_cell_on_board(cell, board)
25
+ cell_sign = cell.visited? ? '+' : ' '
26
+ print_cell(board, cell, cell_sign)
27
+ end
28
+
29
+ def print_cell(board, cell, cell_sign)
30
+ board_row = cell.row * 3 + 1
31
+ board_col = cell.col * 3 + 1
32
+ board[board_row][board_col] = cell_sign
33
+ board[board_row][board_col-1] = cell_sign unless cell.walls[:left]
34
+ board[board_row][board_col+1] = cell_sign unless cell.walls[:right]
35
+ board[board_row-1][board_col] = cell_sign unless cell.walls[:up]
36
+ board[board_row+1][board_col] = cell_sign unless cell.walls[:down]
37
+ end
38
+
39
+ end
40
+ end
@@ -0,0 +1,130 @@
1
+ require "mazinator/cell"
2
+ require "mazinator/maze"
3
+ require "matrix"
4
+
5
+ module Mazinator
6
+ class MazeGenerator
7
+ attr_accessor :stack, :visited, :unvisited, :current, :start
8
+ attr_reader :rows, :cols, :maze
9
+
10
+ def initialize(dimension)
11
+ @stack = []
12
+ @visited=[]
13
+ @unvisited = []
14
+ @current = nil
15
+ @rows = dimension
16
+ @cols = dimension
17
+ @maze = Matrix.build(@rows, @cols) {|row, col| Mazinator::Cell.new(row, col) }
18
+ end
19
+
20
+ def generate
21
+ # set entry to the maze
22
+ self.maze.first.walls[:left] = false
23
+ # set exit from the maze
24
+ self.maze[rows-1, cols-1].walls[:right] = false
25
+ self.current = self.maze.first
26
+
27
+ self.maze.each{ |cell| self.unvisited << cell }
28
+ while self.unvisited.any? do
29
+ self.visit
30
+ end
31
+
32
+ Mazinator::Maze.new(self.rows, self.cols, self.maze)
33
+ end
34
+
35
+ def visit
36
+ neighbours = self.get_neighbours(self.current)
37
+ if neighbours.any?
38
+ cell = neighbours.first
39
+ self.stack << self.current
40
+ wreck_wall(self.current, cell)
41
+ self.current = cell
42
+ make_visited(cell)
43
+ elsif self.stack.any?
44
+ cell = self.stack.pop
45
+ self.current = cell
46
+ else
47
+ unvisited_len = self.unvisited.length
48
+ cell = self.unvisited[rand(unvisited_len)]
49
+ self.current = cell
50
+ make_visited(cell)
51
+ end
52
+ end
53
+
54
+ def get_neighbours(cell)
55
+ nbrs = []
56
+ nbrs << self.get_left_neighbour(cell)
57
+ nbrs << self.get_right_neighbour(cell)
58
+ nbrs << self.get_upper_neighbour(cell)
59
+ nbrs << self.get_lower_neighbour(cell)
60
+
61
+ nbrs.compact.shuffle
62
+ end
63
+
64
+ def make_visited(cell)
65
+ i = self.unvisited.index(cell)
66
+ # this cell has been visited, return now
67
+ return false unless i
68
+ self.visited << cell
69
+ self.unvisited.delete(cell)
70
+ end
71
+
72
+
73
+ def wreck_wall(cell_a, cell_b)
74
+ if cell_a.row == cell_b.row
75
+ if cell_a.col == (cell_b.col - 1)
76
+ cell_a.walls[:right] = false
77
+ cell_b.walls[:left] = false
78
+ elsif cell_a.col == (cell_b.col + 1)
79
+ cell_a.walls[:left] = false
80
+ cell_b.walls[:right] = false
81
+ else
82
+ nil
83
+ end
84
+ elsif cell_a.col == cell_b.col
85
+ if cell_a.row == (cell_b.row - 1)
86
+ cell_a.walls[:down] = false
87
+ cell_b.walls[:up] = false
88
+ elsif cell_a.row == (cell_b.row + 1)
89
+ cell_a.walls[:up] = false
90
+ cell_b.walls[:down] = false
91
+ else
92
+ nil
93
+ end
94
+ else
95
+ # passed random cells, do nothing
96
+ nil
97
+ end
98
+ end
99
+
100
+ def get_left_neighbour(cell)
101
+ return nil if (cell.col - 1 < 0)
102
+ neighbour = self.maze[cell.row, cell.col-1]
103
+ return nil if self.visited.include?(neighbour)
104
+ neighbour
105
+ end
106
+
107
+ def get_right_neighbour(cell)
108
+ return nil if (cell.col+ 1 >= self.cols)
109
+ neighbour = self.maze[cell.row, cell.col+1]
110
+ return nil if self.visited.include?(neighbour)
111
+ neighbour
112
+ end
113
+
114
+ def get_upper_neighbour(cell)
115
+ return nil if (cell.row - 1 < 0)
116
+ neighbour = self.maze[cell.row-1, cell.col]
117
+ return nil if self.visited.include?(neighbour)
118
+ neighbour
119
+ end
120
+
121
+ def get_lower_neighbour(cell)
122
+ return nil if (cell.row + 1 >= self.rows)
123
+ neighbour = self.maze[cell.row+1, cell.col]
124
+ return nil if self.visited.include?(neighbour)
125
+ neighbour
126
+ end
127
+
128
+ end
129
+
130
+ end
@@ -0,0 +1,3 @@
1
+ module Mazinator
2
+ VERSION = "0.1.0"
3
+ end
data/lib/mazinator.rb ADDED
@@ -0,0 +1,6 @@
1
+ require "mazinator/version"
2
+ require "mazinator/maze"
3
+ require "mazinator/cell"
4
+ require "mazinator/maze_generator"
5
+ require "mazinator/maze_solver"
6
+ require "matrix"
data/mazinator.gemspec ADDED
@@ -0,0 +1,38 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'mazinator/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "mazinator"
8
+ spec.version = Mazinator::VERSION
9
+ spec.authors = ["Kamil Pluta"]
10
+ spec.email = ["detfis@gmail.com"]
11
+
12
+ spec.summary = %q{Generating and solving mazes}
13
+ spec.description = %q{Using this gem you can generate and solve maze}
14
+ spec.homepage = "https://github.com/detfis/mazinator"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
18
+ # delete this section to allow pushing this gem to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ else
22
+ raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
+ end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ spec.add_development_dependency "bundler", "~> 1.10"
31
+ spec.add_development_dependency "rake", "~> 10.0"
32
+ spec.add_development_dependency "rspec"
33
+ spec.add_development_dependency "guard"
34
+ spec.add_development_dependency "guard-rspec"
35
+ spec.add_development_dependency "pry"
36
+ spec.add_development_dependency "pry-remote"
37
+ spec.add_development_dependency "pry-nav"
38
+ end
metadata ADDED
@@ -0,0 +1,173 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mazinator
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Kamil Pluta
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-11-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.10'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.10'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: guard
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: guard-rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: pry-remote
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: pry-nav
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ description: Using this gem you can generate and solve maze
126
+ email:
127
+ - detfis@gmail.com
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - ".gitignore"
133
+ - CODE_OF_CONDUCT.md
134
+ - Gemfile
135
+ - Gemfile.lock
136
+ - Guardfile
137
+ - LICENSE.txt
138
+ - README.md
139
+ - Rakefile
140
+ - bin/console
141
+ - bin/setup
142
+ - lib/mazinator.rb
143
+ - lib/mazinator/cell.rb
144
+ - lib/mazinator/maze.rb
145
+ - lib/mazinator/maze_generator.rb
146
+ - lib/mazinator/version.rb
147
+ - mazinator.gemspec
148
+ homepage: https://github.com/detfis/mazinator
149
+ licenses:
150
+ - MIT
151
+ metadata:
152
+ allowed_push_host: https://rubygems.org
153
+ post_install_message:
154
+ rdoc_options: []
155
+ require_paths:
156
+ - lib
157
+ required_ruby_version: !ruby/object:Gem::Requirement
158
+ requirements:
159
+ - - ">="
160
+ - !ruby/object:Gem::Version
161
+ version: '0'
162
+ required_rubygems_version: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ requirements: []
168
+ rubyforge_project:
169
+ rubygems_version: 2.4.5.1
170
+ signing_key:
171
+ specification_version: 4
172
+ summary: Generating and solving mazes
173
+ test_files: []