mineswiper 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -17
- data/lib/mineswiper.rb +0 -1
- data/lib/mineswiper/version.rb +1 -1
- data/mineswiper.gemspec +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 039a439e0839a8da8ce18937485b3d675ba20649
|
4
|
+
data.tar.gz: 3d7d1c327722f7ada2dd27602ced7e4a1c7ee225
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7870851029f624a4c182a26fe5eca7d026cbe77572b4b9541506aa7c0ab237c5d06f50403dca9651f2e52cbd7068ecb248320ccfce3d1cded7499dd68338e286
|
7
|
+
data.tar.gz: a68dc27da8309d8b1308dfe22a7f52dadf2265aa796783f3845af0101b4af8cb47f31d28fe56233bf28d63f7530dac34f3938d5b929574fe8927599a5c277497
|
data/README.md
CHANGED
@@ -1,13 +1,9 @@
|
|
1
1
|
# Mineswiper
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
A simple command line minesweeper.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
9
|
-
Add this line to your application's Gemfile:
|
10
|
-
|
11
7
|
```ruby
|
12
8
|
gem 'mineswiper'
|
13
9
|
```
|
@@ -22,20 +18,19 @@ Or install it yourself as:
|
|
22
18
|
|
23
19
|
## Usage
|
24
20
|
|
25
|
-
|
26
|
-
|
27
|
-
|
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
|
21
|
+
```
|
22
|
+
require 'mineswiper'
|
23
|
+
```
|
34
24
|
|
35
|
-
|
25
|
+
then in the command line
|
36
26
|
|
27
|
+
```
|
28
|
+
new_game = Mineswiper::Game.new
|
29
|
+
new_game.play
|
30
|
+
```
|
37
31
|
|
38
|
-
|
32
|
+
control the movement using W-A-S-D, Space to click, and f to put the flag.
|
39
33
|
|
40
|
-
|
34
|
+
## Credit
|
41
35
|
|
36
|
+
[ndevvy](https://github.com/ndevvy/minesweeper)
|
data/lib/mineswiper.rb
CHANGED
data/lib/mineswiper/version.rb
CHANGED
data/mineswiper.gemspec
CHANGED
@@ -10,7 +10,6 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["lby89757@hotmail.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{Command line version Minesweeper game. Original author: https://github.com/ndevvy/minesweeper}
|
13
|
-
spec.description = %q{require 'mineswiper'}
|
14
13
|
spec.homepage = "http://www.liangboyuan.pub"
|
15
14
|
spec.license = "MIT"
|
16
15
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mineswiper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BranLiang
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
description:
|
69
|
+
description:
|
70
70
|
email:
|
71
71
|
- lby89757@hotmail.com
|
72
72
|
executables: []
|