Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: (Golf) Let's go bowling

by nardo (Friar)
on Aug 08, 2001 at 22:04 UTC ( #103138=note: print w/ replies, xml ) Need Help??


in reply to Re: (Golf) Let's go bowling
in thread (Golf) Let's go bowling

One reason you're getting a higher score is because you aren't dealing with spares correctly. Look at the score after the first frame, it's 21 which is impossible for a spare frame. When a frame is a spare, you count the first ball twice because the ten pins that you assign a '/' includes the pins knocked down with the first ball which you already counted (i.e. I knock down 5 pins then another 5 pins for a spare -- you count 5 pins and another 10 pins for the spare which is wrong).


Comment on Re: Re: (Golf) Let's go bowling
Re: Re: Re: (Golf) Let's go bowling
by tachyon (Chancellor) on Aug 08, 2001 at 22:28 UTC

    So what is the score after the first frame? Do you ignore the 5 and say it is 10+6=16?

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

      Yes, the score for the first frame is 16.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://103138]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2014-08-29 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (277 votes), past polls