Skip to content

bag3318/rps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPS (Rock Paper Scissors)

Table of Contents

Installation Instructions

Macintosh

Contents located in the Macintosh folder

  1. Move the root cloned/downloaded folder to the Desktop (extract it if needed)
    • What I mean is move the rps folder, or the rps-master.zip file to the desktop. Then, if you have the rps-master.zip file, double click it to extract it.
  2. Open the rps.bash file with the Terminal application
    • To do this, press command and space at the same time, then type in Terminal.app, and hit return. Then proceed to drag the rps.bash file onto the Terminal and press return

How to Run RPS at Any Time

Either open the rps file, or go into Terminal and type in rps and hit return

To open the Terminal, press command and space at the same time, then type in Terminal.app and hit return

How to Remove the RPS Command

If you wish to remove the rps command, then open the remover.sh with the Terminal application.

To open with Terminal, press command and space at the same time, then type in Terminal.app, and hit return. Then proceed to drag the remover.sh file onto the Terminal and press return

Windows

Contents located in the Windows folder

  1. Install ruby; download here
  2. Open the rps.bat file with the Command Prompt application
  3. In order to run any time: Just run the rps.bat file again.

Troubleshooting

Problem:

When I run the rps.bat file, it opens notepad.

Solution:

Right click the rps-win.rb file, then hover over the Open With option, then click Choose default program, then click the Ruby program (note: you will need to have Ruby installed for this to work, see above instructions for download link).

About

A Ruby-programmed rock paper scissors app

Resources

Stars

Watchers

Forks

Packages

No packages published