Login  Register

Re: exercism bowling challenge

Posted by Pharo Smalltalk Users mailing list on Sep 25, 2020; 5:45am
URL: https://forum.world.st/exercism-bowling-challenge-tp5122317p5122432.html

>
> As the other Richard seemed to suggest, this isn't an object rich
> problem. It's largely a question of how to implement an algorithm.
>
> Working examples on paper will help with internalising how to do it.
>

Oops, and I thinking of a solution with 3  classes.

the given class
a class Frame which is responsibility is to convert the numbers into
frames and validate it
a class ScoreBoard which is responsibility is too calculate the score

Roelof