Skip to content

bevanloon/paring_workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is it?

A basic ruby / rspec project setup and ready to go.

Instructions

Write a programme that simulates ‘rock paper scissors’

Rules:

Each player chooses one of Rock, Paper, Scissors. When both have selected the following rules are applied to determine the winner:

  • Rock beats Scissors
  • Scissors beats Paper
  • Paper beats Rock
  • Same move is a draw

Start by implementing the logic. If you get chance you can extend the programme by making it interactive and adding a UI

Use it

Clone the repository.

Bundle.

Run bin/rspec - you should get "No examples found".

Start writing your code.

About

Basic ruby/rspec setup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages