PlayRockPaperScissorsGame 1.7.0 → 1.7.1

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: 970e9aec3dd20cca11e5a982594059905ce545e7
4
- data.tar.gz: 4b45df6800e07ef2ac2b537f9dcca6da1a4e12a2
3
+ metadata.gz: bfd94bc9e67ee79c48b3c84b21bf5634a0f2dcdb
4
+ data.tar.gz: 0f582332e4bb3f6330fb81efb528eafadc5aa240
5
5
  SHA512:
6
- metadata.gz: daa742b72b8689606d6e1d8d3550473ff5d998fa22a0613f74e79199991ed63237e74651220128659b9bd2015d612d8f2ca3d71639f8f612ea8e9a87ef29b79a
7
- data.tar.gz: 82ef4f1019de8c029aea8d569afc8d4e10ba94a20ebb5b388805e5a921f7818746455594ddf44268ab76e0e951c93ba243405a234a3c9fc579c87919a51a3ecb
6
+ metadata.gz: fe8e152accb918a5b1a871e6c4c3b48a15ab3d6a51362916b2d9fa129f056ff8cfc460ff6630a8db4db6d16a06005148f80217cf8ec63baafcc27b915be1e792
7
+ data.tar.gz: a869680715f04637c51fb15054c4c806c1c86b345685c1c227518883708005484fdf48372d70ec52d34c45a8f3d5cf6e1306f4754cf730f2abaf293c89266b36
data/README.md CHANGED
@@ -1,17 +1,6 @@
1
1
  Rock Paper Scissors
2
2
  ===================
3
3
 
4
- <!--
5
- **Table of Contents**
6
-
7
- - [Rock Paper Scissors](#rock-paper-scissors)
8
- - [How to Run and Install](#how-to-run-and-install)
9
- - [Install and Run on Mac](#install-and-run-on-mac)
10
- - [Running](#running)
11
- - [Uninstalling](#uninstalling)
12
- - [Install and Run on Windows](#install-and-run-on-windows)
13
- - [Running](#running-1)-->
14
-
15
4
  How to Run and Install
16
5
  ----------------------
17
6
 
@@ -1,12 +1,23 @@
1
1
  @ECHO OFF
2
2
 
3
3
  :master
4
-
4
+ :confirm
5
+ CHOICE /C YN "Would you like to play Rock Paper Scissors?"
6
+ if "%ERRORLEVEL%"=="1" CALL:process
7
+ if "%ERRORLEVEL%"=="2" CALL:exiting
8
+ GOTO:EOF
9
+ REM start process
5
10
  :process
6
11
  START cmd.exe /K PlayRockPaperScissorsGame
12
+ IF %ERRORLEVEL% EQU 9009 (
13
+ ECHO error - cmd.exe file not found in your PATH
14
+ )
15
+ GOTO:EOF
16
+ REM end process
17
+
18
+ :exiting
19
+ EXIT
7
20
  GOTO:EOF
8
-
9
- CALL:process
10
21
 
11
22
  GOTO:EOF
12
23
 
@@ -1,6 +1,6 @@
1
1
  require "colorized_string";
2
- ColorizedString.colors
3
- ColorizedString.modes
2
+ ColorizedString.colors;
3
+ ColorizedString.modes;
4
4
  module Constants
5
5
  NTRY_TO_SYM = {
6
6
  'p' => :PAPER,
@@ -1,6 +1,6 @@
1
1
  require "colorized_string";
2
- ColorizedString.colors
3
- ColorizedString.modes
2
+ ColorizedString.colors;
3
+ ColorizedString.modes;
4
4
  module PrivateMethods
5
5
  class << self
6
6
  def player_choice
@@ -1,3 +1,3 @@
1
1
  module PlayRockPaperScissorsGame
2
- VERSION = "1.6.9"
3
- end
2
+ VERSION = "1.6.9";
3
+ end;
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "PlayRockPaperScissorsGame"
3
- spec.version = "1.7.0"
3
+ spec.version = "1.7.1"
4
4
  spec.date = "2017-04-01"
5
5
  spec.summary = "A Rock Paper Scissors Ruby Gem"
6
6
  spec.description = "A Ruby-programmed rock paper scissors game. To install: gem install PlayRockPaperScissorsGame; To run: rps; or: PlayRockPaperScissorsGame; For issues: https://github.com/bag3318/RockPaperScissors/issues"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: PlayRockPaperScissorsGame
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - bag3318