About PlayRockPaperScissorsGame (RPS)

The RPS1 game has been around for many years. In fact, it originally was from Asia. I have decided to code a Ruby-programmed RPS game that uses full CLI2 (command line interface).

Why use Ruby?

Ruby is a programming language that has been around for a little over 2 decades. The gem-attributed language was primarily developed by Yukihiro “Matz” Matsumoto in Japan. Ruby stood out to me because of it’s unique code structure design. I decided to use Ruby becuase I wanted to learn an object oriented programming language3. Ruby appealed to me by its unique code structure.

The Code

I didn’t want to make code that just yielded a bunch of if, elsif, and else statements. Instead, I strived toward a more professionally structured and modularized code. See the comparing code page for more detailed information about this subject matter.


1. RPS = rock-paper-scissors

2. CLI means that it is executed in a command line app, such as CMD (command prompt) for Windows, or Terminal for Mac.

3. Object Oriented languages like Ruby, C#, etc…, follow a similar syntax format.