[PRL] Bowling Game Problem; Coding Dojos

Mitchell Wand wand at ccs.neu.edu
Wed Apr 5 19:51:52 EDT 2006


Dan F. was saying that I wasn't posting enough blog entries lately, so
here's one w/ a good little problem:

The Bowling Game Kata. The challenge was essentially to write some code that
> scores a full (ten-frame) game of bowling. A game is represented by a series
> of "rolls," each being the number of pins knocked down by a roll of the
> bowling ball. The scoring function must determine frame boundaries from the
> sequence of rolls and score all ten frames according to the rules of
> bowling, i.e., taking into account spares and strikes and the final frame.
>

http://blog.moertel.com/articles/2006/04/05/the-bowling-game-kata-in-haskell

This came from the "Pittsburgh Coding Dojo"--

http://www.insomnia-consulting.org/

I wonder whether something like this would be fun or useful for our
undergrads.

--Mitch
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the PRL mailing list