0% found this document useful (0 votes)
33 views

Start A: If Level "Beginner"

The document contains pseudocode for a game that tracks player scores at different difficulty levels. It takes input for the difficulty level and player choice, then displays instructions. For beginner level, it tracks the number of arrows a player misses and saves their score when they reach 10 arrows. For rookie level it does the same for a second player. It returns to the start when choice 1 is selected.

Uploaded by

Jay Ryan Mapanao
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views

Start A: If Level "Beginner"

The document contains pseudocode for a game that tracks player scores at different difficulty levels. It takes input for the difficulty level and player choice, then displays instructions. For beginner level, it tracks the number of arrows a player misses and saves their score when they reach 10 arrows. For rookie level it does the same for a second player. It returns to the start when choice 1 is selected.

Uploaded by

Jay Ryan Mapanao
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 7

Start a If Choice = 1 b If Choice =1

Input Level

If Choice =2

Display Instructions a

If Level = Beginner

Beginner I

If Choice =3

Display Options a

If Level = Rookie

Rookie I Expert I

If Level = Expert

Expert I

Expert I

If Choice =4

End

If Level = Back

Display error message

Display error message

Beginner I Start

ctrx= 0 arrow= 0 ctrc1=0 c Read Player 1

arrow = arrow + 1

If Player 1 does not hit the arrow

ctrx = ctrx + 1

If ctrx == 5 ctrc1 = ctrc1 + 1 c d

If arrow == 10

Save ctrc1 of Player 1

Beginner II

Return

Beginner II Start

ctrx= 0 arrow= 0 ctrc2=0

Read Player 2

arrow = arrow + 1

If Player 2 does not hit the arrow

ctrx = ctrx + 1

If ctrx == 5 ctrc2 = ctrc2 + 1 c

If arrow == 10

Save Score of Player 1

Return

Beginner I Start

ctrx= 0 arrow= 0 ctrc1=0

Read Player 1

arrow = arrow + 1

If Player 1 does not hit the arrow

ctrx = ctrx + 1

If ctrx == 5 ctrc1 = ctrc1 + 1 c

If arrow == 10

Save Score of Player 1

If Choice = 1

Return

Beginner I Start

ctrx= 0 arrow= 0 ctrc1=0

Read Player 1

arrow = arrow + 1

If Player 1 does not hit the arrow

ctrx = ctrx + 1

If ctrx == 5 ctrc1 = ctrc1 + 1 c

If arrow == 10

Save Score of Player 1

If Choice = 1

Return

Beginner I Start

ctrx= 0 arrow= 0 ctrc1=0

Read Player 1

arrow = arrow + 1

If Player 1 does not hit the arrow

ctrx = ctrx + 1

If ctrx == 5 ctrc1 = ctrc1 + 1 c

If arrow == 10

Save Score of Player 1

If Choice = 1

Return

Beginner I Start

ctrx= 0 arrow= 0 ctrc1=0

Read Player 1

arrow = arrow + 1

If Player 1 does not hit the arrow

ctrx = ctrx + 1

If ctrx == 5 ctrc1 = ctrc1 + 1 c

If arrow == 10

Save Score of Player 1

If Choice = 1

Return

You might also like