The XP Washington DC group took up the deathless Bowling Game task at its 
CodeFests, fwiw. After I spent a session getting nothing done (I was trying 
endless to model the Platonic essence of the Frame class, before I could get to 
the Game itself), I sat down at home and wrote a procedural solution pretty 
much like Jeff's. If all you want to do is produce the correct final score, 
well, the requirement is satisfied.

I haven't figured out how to go beyond that, not because I ain't gonna need it, 
but because I can't figure out what I *do* need. I've considered letting the 
requirements be driven by an imaginary or mock scoring display, to which I feed 
each roll in turn, along with incremental scored. I mean, when I'm *at* the 
bowling alley, I need incremental scores, right? Has anyone watched any bowling 
on TV recently, just to get another perspective on potential requirements? I 
don't find it exciting to watch, really, but it's part of the job here. 

Another thing I might need is a BowlingGame implementation that would maintain 
more than one incremental score, since I prefer not to bowl alone (cf. 
http://www.amazon.com/exec/obidos/tg/detail/-/0743203046/qid=1104098361/sr=8-1/ref=pd_csp_1/104-6459054-7819934?v=glance&s=books&n=507846),
 nor do the rules allow me to bowl all ten frames before my opponents bowl any! 


[Non-text portions of this message have been removed]



To Post a message, send it to:   [EMAIL PROTECTED]

To Unsubscribe, send a blank message to: [EMAIL PROTECTED]

ad-free courtesy of objectmentor.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/extremeprogramming/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to