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

Bowling JavaScript challenge #1623

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open

Bowling JavaScript challenge #1623

wants to merge 40 commits into from

Conversation

snptrs
Copy link

@snptrs snptrs commented Jun 18, 2023

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