Skip to content

Ror assignment day 03#4

Open
YashShah-Josh wants to merge 2 commits intomasterfrom
ROR-Assignment-Day-03
Open

Ror assignment day 03#4
YashShah-Josh wants to merge 2 commits intomasterfrom
ROR-Assignment-Day-03

Conversation

@YashShah-Josh
Copy link
Owner

Converted the hangman game into class format.

@@ -0,0 +1,99 @@
class Hangman
attr_accessor :categories, :lives
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If i remove this line, how and where do you think it will affect the game execution or code flow?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the line is removed then the code flow will not be affected. The reason why it is added is it makes easier to access and modify the variables

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.

2 participants