Skip to content

Instantly share code, notes, and snippets.

View sjoulbak's full-sized avatar

Remco Meinen sjoulbak

View GitHub Profile
def do_i_win my_choice, your_choice
if my_choice == 'rock' and your_choice == 'scissors'
return true
elsif my_choice == 'paper' and your_choice == 'rock'
return true
elsif my_choice == 'scissors' and your_choice == 'paper'
return true
end
return false
end