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

First Commit #258

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

First Commit #258

wants to merge 1 commit into from

Conversation

RonanHughes1
Copy link

Ronan Hughes Code Review

<input type="submit" value="Submit">
</li>
</ul>
</form>
Copy link

Choose a reason for hiding this comment

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

nicely formatted html (with the indentations and stuff)

def name
return name
end
end
Copy link

Choose a reason for hiding this comment

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

single responsibility principle seems good here

expect( player.name ).to eq "Ronan"
end
end
end
Copy link

Choose a reason for hiding this comment

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

test is easy to understand

get '/play' do
@player1 = $player1.name
@player2 = $player1.name
erb :play
Copy link

Choose a reason for hiding this comment

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

does :play need to be in brackets?

@@ -1,8 +1,28 @@
require 'sinatra/base'
require 'sinatra/reloader'

Copy link

Choose a reason for hiding this comment

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

need a require './lib/player'

end
get '/' do
"hey"
end
Copy link

Choose a reason for hiding this comment

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

may need to introduce erb (:index) here so that the user can move forward onto next page

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.

None yet

2 participants