Bowling 0.0.1 → 0.0.2
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 +8 -8
- data/README.md +51 -1
- data/lib/bowling/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MGVlMTE3NDU1MTRkZTYxMjk0MDdjMmM3ZjQzZWUxMDIwMTI5Nzk5NA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NmQ2OTM4ZWQ4Y2MxZTY1MmQ0M2Y3N2U5OTU3Y2IzY2I4MjVkNmI2OQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTE1Nzc2ZWM3YTkwNTVlYzdiMjUxOGI1MGUwMjY3ZDVlMGNlZWU2MWRlMzAz
|
10
|
+
MWY1NjJjODU3NTk5MzM4NGJiMTA0YjFhZWQzM2ZiNWE3MGEyYTAyYjAwMzNm
|
11
|
+
ZTRlMWQ5ZTY0ODcwMjQ0OGUxOTRiNmI1MWRiMzA0ZjMwNGQ2ZWI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDA3YjQ4MjI0ZGZlNjBmNDFmZTY5NzIzMjg1Y2VhMTExODAyZWFkOWY0MzIx
|
14
|
+
MWQ0YWQ3YmIyNTcyMjUxNjEyYmY2ZGY4MmVmYzc4NmFmYTI5ZDI3NmZmNTVi
|
15
|
+
OTE2MTYwN2Y3YzI4NjBjY2VlODVkMDkyNzhiNjBkODIxYjI1MDA=
|
data/README.md
CHANGED
@@ -18,7 +18,57 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
Installing this gem will add a simple 'bowling_game' utility to the $PATH and it
|
22
|
+
will ask you to input the scores for each ball, then calculate the score.
|
23
|
+
|
24
|
+
Sample output:
|
25
|
+
|
26
|
+
```
|
27
|
+
=== Starting Game ===
|
28
|
+
- Score for frame 1 ball 1? |0|
|
29
|
+
10
|
30
|
+
- Score for frame 1 ball 2? |0|
|
31
|
+
|
32
|
+
- Score for frame 2 ball 1? |0|
|
33
|
+
10
|
34
|
+
- Score for frame 2 ball 2? |0|
|
35
|
+
|
36
|
+
- Score for frame 3 ball 1? |0|
|
37
|
+
5
|
38
|
+
- Score for frame 3 ball 2? |0|
|
39
|
+
5
|
40
|
+
- Score for frame 4 ball 1? |0|
|
41
|
+
4
|
42
|
+
- Score for frame 4 ball 2? |0|
|
43
|
+
4
|
44
|
+
- Score for frame 5 ball 1? |0|
|
45
|
+
3
|
46
|
+
- Score for frame 5 ball 2? |0|
|
47
|
+
2
|
48
|
+
- Score for frame 6 ball 1? |0|
|
49
|
+
6
|
50
|
+
- Score for frame 6 ball 2? |0|
|
51
|
+
3
|
52
|
+
- Score for frame 7 ball 1? |0|
|
53
|
+
10
|
54
|
+
- Score for frame 7 ball 2? |0|
|
55
|
+
|
56
|
+
- Score for frame 8 ball 1? |0|
|
57
|
+
5
|
58
|
+
- Score for frame 8 ball 2? |0|
|
59
|
+
|
60
|
+
- Score for frame 9 ball 1? |0|
|
61
|
+
10
|
62
|
+
- Score for frame 9 ball 2? |0|
|
63
|
+
|
64
|
+
- Score for frame 10 ball 1? |0|
|
65
|
+
10
|
66
|
+
- Score for frame 10 ball 2? |0|
|
67
|
+
10
|
68
|
+
- Score for frame 10 ball 3? |0|
|
69
|
+
10
|
70
|
+
Total Game Score: 161
|
71
|
+
```
|
22
72
|
|
23
73
|
## Contributing
|
24
74
|
|
data/lib/bowling/version.rb
CHANGED