Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 546 Bytes

File metadata and controls

5 lines (3 loc) · 546 Bytes

🖖 Rock Paper Scissors Lizard Spock

Piece of code written in C++ to practice its basic concepts. It is my personal solution to a challenge designed by Codecademy that requires techies to craft a game based on 'Rock-Paper-Scissors-Lizard-Spock', enabling users to compete against a computer player.

There is a peculiar approach when it comes to determine the winner, in the sense that I make use of a clear common pattern resulting from an ordered array of items. In this way, I don't have to rely on a long list of conditionals.