Skip to content

Bowling JavaScript challenge - #1623

Open
snptrs wants to merge 40 commits into
makersacademy:mainfrom
snptrs:main
Open

Bowling JavaScript challenge#1623
snptrs wants to merge 40 commits into
makersacademy:mainfrom
snptrs:main

Conversation

@snptrs

@snptrs snptrs commented Jun 18, 2023

Copy link
Copy Markdown

This is working (although I think there may still be some slightly janky frame-10 edge cases).

I created a frontend, which I've deployed to Glitch for testing: https://sp-bowling-scorecard.glitch.me

I wanted to try creating it without any client-side JavaScript, so all the processing happens server-side.

The unit tests are pretty comprehensive. Integration testing and mocking of the user interface, not so much.

As much as possible, I tried to do a direct translation of Ruby into JS. Although this works, I've ended up creating some horrible code to workaround things that weren't functioning properly. Next steps would be to do a complete refactor and simplify some of the logic. I suspect I could remove at least a quarter of the code.

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