Skip to content

Simplified the logic for rock paper scissors and added tests#65

Open
tstinebaugh wants to merge 1 commit into
6-CSE:mainfrom
tstinebaugh:tstineba-ttt
Open

Simplified the logic for rock paper scissors and added tests#65
tstinebaugh wants to merge 1 commit into
6-CSE:mainfrom
tstinebaugh:tstineba-ttt

Conversation

@tstinebaugh

Copy link
Copy Markdown

I came across this code and wanted to improve the logic in the rock paper scissors game, so I created a dict to replace the conditional logic in the original code. I also added some tests to make sure the functions all behave as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant