Skip to content

Commit

Permalink
rock paper scissors game
Browse files Browse the repository at this point in the history
  • Loading branch information
myselfHimanshu committed Jul 1, 2018
1 parent 4ebf244 commit 5fe5f24
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 15 deletions.
Binary file not shown.
37 changes: 22 additions & 15 deletions Roshambo/Roshambo/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@
<rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<button opaque="NO" tag="1" contentMode="scaleAspectFit" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YZ2-ZF-Pjm" userLabel="Paper">
<rect key="frame" x="170" y="336" width="75" height="65"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<state key="normal" image="paper"/>
<state key="disabled" image="paper"/>
<state key="selected" title="Paper" image="paper"/>
<connections>
<action selector="selectPaper:" destination="BYZ-38-t0r" eventType="touchUpInside" id="0oe-ZT-RkQ"/>
</connections>
</button>
<button opaque="NO" contentMode="scaleAspectFit" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CJp-hs-PJy" userLabel="Rock">
<rect key="frame" x="87" y="222" width="75" height="65"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
Expand All @@ -38,25 +48,22 @@
<segue destination="lqc-58-p9l" kind="presentation" identifier="Hit" id="ua1-EP-D0A"/>
</connections>
</button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Let's Play" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="aCK-9Y-hVn">
<rect key="frame" x="132" y="78" width="150" height="36"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Rock Paper Scissors" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ixJ-5U-P4G">
<rect key="frame" x="79" y="88" width="258" height="34"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<fontDescription key="fontDescription" type="system" pointSize="30"/>
<color key="textColor" red="0.90940743684768677" green="0.41916555166244507" blue="0.43401077389717102" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<fontDescription key="fontDescription" type="system" weight="semibold" pointSize="28"/>
<color key="textColor" red="0.56246370077133179" green="0.29818174242973328" blue="0.089151643216609955" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" tag="1" contentMode="scaleAspectFit" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YZ2-ZF-Pjm" userLabel="Paper">
<rect key="frame" x="170" y="336" width="75" height="65"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Press on any button.." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="aCK-9Y-hVn">
<rect key="frame" x="92" y="590" width="231" height="36"/>
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
<state key="normal" image="paper"/>
<state key="disabled" image="paper"/>
<state key="selected" title="Paper" image="paper"/>
<connections>
<action selector="selectPaper:" destination="BYZ-38-t0r" eventType="touchUpInside" id="0oe-ZT-RkQ"/>
</connections>
</button>
<fontDescription key="fontDescription" type="system" weight="thin" pointSize="22"/>
<color key="textColor" red="0.49116742610931396" green="0.34075328707695007" blue="0.085632063448429108" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
</view>
<connections>
Expand Down Expand Up @@ -100,7 +107,7 @@
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<viewLayoutGuide key="safeArea" id="QAt-j7-Adp"/>
</view>
<navigationItem key="navigationItem" id="TEB-Ba-ad3"/>
Expand Down

0 comments on commit 5fe5f24

Please sign in to comment.