yahtzee 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yahtzee.rb +2 -2
- 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: 61832d3c38eea74ddf9572c8038a086b5c0f6a9c
|
4
|
+
data.tar.gz: 56aed393342d9dd5439ef54f9c86e01a75241171
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61880104416609becaa2ea60ebda2097bc26bb3c90bdd255c1063a66576a6f69b68936be0e22212aa006c453edc2579f5940f1144af73883200f7c7da92a0858
|
7
|
+
data.tar.gz: e161dc2dcaea0ef7ce3dc299ae9bd18d8c0226ba841f222dc5b213c50b44bb291b75eadb0d8da1ead01920d05ea0f1b1c6b81d1ce95e84a01217000c1381245f
|
data/lib/yahtzee.rb
CHANGED
@@ -392,8 +392,8 @@ module Yahtzee
|
|
392
392
|
game.reroll determine_preserve(selection)
|
393
393
|
|
394
394
|
m1 = ""
|
395
|
-
success =
|
396
|
-
while
|
395
|
+
success = -1
|
396
|
+
while success == -1
|
397
397
|
selection = print game.get_data, game.get_dice, m1, "Select the category for this roll. Type the", "letter of the category followed by enter: "
|
398
398
|
m1 = "Selection invalid"
|
399
399
|
success = game.score(parse(selection.split("")[0]))
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yahtzee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Hinstorff
|
@@ -37,7 +37,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
37
37
|
version: '0'
|
38
38
|
requirements: []
|
39
39
|
rubyforge_project:
|
40
|
-
rubygems_version: 2.0.
|
40
|
+
rubygems_version: 2.0.0.rc.2
|
41
41
|
signing_key:
|
42
42
|
specification_version: 4
|
43
43
|
summary: Yahtzee
|