Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified lib/game.rb #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Modified lib/game.rb #2

wants to merge 3 commits into from

Conversation

Zrp200
Copy link

@Zrp200 Zrp200 commented Jan 27, 2016

Note: You should probably test this before merging. I couldn't test it.

  • Renamed methods
    • Game#occupied_check --> Game#occupied?
    • Game#numeric_check --> Game#numeric?
  • removed unneeded []s

Note: You should probably test this before merging. I couldn't test it.
* Renamed methods
 * `Game#occupied_check` --> `Game#occupied?`
 * `Game#numeric_check` --> `Game#numeric?`
* removed unneeded `[]`s
ask_a_valid_move(player)
end
if valid_move?(move) then move
else ask_a_valid_move(player) end

Choose a reason for hiding this comment

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

end at 42, 36 is not aligned with if at 41, 6.

@zlahham zlahham force-pushed the master branch 6 times, most recently from 41ea9c2 to ace2b41 Compare January 14, 2020 01:04
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