Skip to content
This repository was archived by the owner on Jan 2, 2026. It is now read-only.

vincentcomfy/project_rock_paper_scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

project_rock_paper_scissors

This repo is my working example of the Odin Project's "Rock Paper Scissors" project https://www.theodinproject.com/lessons/foundations-rock-paper-scissors This game is designed to be played in the console (but where's the fun in that?)

Objectives:

  • Set up a git project [done]

Write the logic to get the computerChoice

  • write the pseudocode [done]
  • write the function [done]
  • test the function returns the correct values [done]

Write the logic to get the humanChoice

  • write the pseudocode [done]
  • write the function [done] test the function returns the correct values [done]

Track score

  • write the pseudocode to track the score of the computer and human [done]
  • write a function that that holds variables that hold the score and initialize with 0 [done]

Write the logic to play a single round

  • Write the pseudocode for a function that takes the returned values from computerChoice and humanChoice as arguments [done]
  • Ensure that the input from a human accounts for any undesired variance, such as capitalization, blank values, out of range arguments etc. [done]
  • Write the logic to compare the human and computer arguments and declarea a winner. Have this increment playRound [done]

Write the logic to play the entire game

  • Move the playRound function and score so they are declared within a playGame function that calls playRound to play 5 rounds, keeps track of the score and declares a winner at the end.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published