Download presentation

Presentation is loading. Please wait.

Published byMia Starry Modified over 2 years ago

1
GCSE Computing Working with numbers

2
Challenge ‘Crimson Mystical Mages’ is a fantasy role playing board game. You need to create an electronic program to calculate powers for players.

3
Challenge A player gets powers by rolling two dice. 1 is a 4 sided dice, the other is a 12 sided dice. The person’s power is the score of the 12 sided dice divided by the score on the 4 sided dice PLUS 10.

4
Challenge You need to create a program which calculates a person’s power score It must simulate the throwing of both dice Then calculate the score and tell the player

5
Challenge There is some help..... Visual Basic does the dice job for you.....

6
Random Numbers RND is a function in visual basic It randomly generates a number greater than 0 but smaller than 1 e.g. 0.2, 0.91, 0.456, 0.01......

7
Random Numbers Dim Result as integer To create a number between 1 and 6.... Result = Int((6 * Rnd) + 1)

8
Combat When there is an encounter between two characters a battle occurs! the outcome is determined by the following process:

9
Combat The differences between the power score for the two characters is calculated This difference is divided by 2 and then rounded down to create a ‘strength modifier’ Then each player rolls a 6 sided dice

10
Combat Whoever has the highest score gets the strength score added to their power score. The loser gets the strength score subtracted from their power score.

Similar presentations

OK

Lucky Candies Probability Game By: Laura Santa Maria Isabella Moreno.

Lucky Candies Probability Game By: Laura Santa Maria Isabella Moreno.

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on needle stick injuries reports Ppt on service oriented architecture soa Ppt on multi level marketing Ppt on brain tumor detection Ppt on active and passive voice Ppt on loan against property Convert pdf to ppt online free download Ppt on series and parallel combination of resistors experiment Ppt on national culture Presentation ppt on motivation