Back to Basic Computer Games

README

18_Bullseye/README.md

latest1.5 KB
Original Source

Bullseye

In this game, up to 20 players throw darts at a target with 10-, 20-, 30-, and 40-point zones. The objective is to get 200 points.

You have a choice of three methods of throwing:

ThrowDescriptionProbable Score
1Fast overarmBullseye or complete miss
2Controlled overarm10, 20, or 30 points
3UnderarmAnything

You will find after playing a while that different players will swear by different strategies. However, considering the expected score per throw by always using throw 3:

Score (S)Probability (P)S x P
401.00-.95 = .052
30.95-.75 = .206
30.75-.45 = .306
10.45-.05 = .404
0.05-.00 = .050

Expected score per throw = 18

Calculate the expected score for the other throws and you may be surprised!

The program was written by David Ahl of Creative Computing.


As published in Basic Computer Games (1978):

Downloaded from Vintage Basic at http://www.vintage-basic.net/games.html

Porting Notes

(please note any difficulties or challenges in porting here)