New game
Download
Get Academic Plan
Share game
Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Python Dice Game Quiz

Quiz

Played 0

About this activity

Test your knowledge of the dice game code.

Created by

Egypt

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Python Dice Game Quiz
 

Python Dice Game QuizOnline version

Test your knowledge of the dice game code.

by Alaa Elsisy
1

What module is imported to simulate dice in the game?

2

What does the game description say about 'Snake eyes'?

3

What is the function name that applies bonuses?

4

Which argument is NOT passed to apply_bonus?

5

What happens if double_sixes >= 5?

6

What happens if round_points >= 100?

7

What condition triggers a tripling bonus?

8

What condition doubles the account if met?

9

What happens if none of the bonuses apply?

10

Where is the player's total points stored across rounds?

11

What does round_points_list store?

12

What does round_rolls_list store?

13

What does total_rolls count?

14

How many rounds are in the main loop?

15

What is the initial value of account?

16

Which variable tracks current round points?

17

Which variable tracks current round rolls?

18

What does the dice rolling loop depend on?

19

What does dice1 use for its value?

20

What does dice2 use for its value?

21

What is the sum of dice after rolling?

22

What happens when both dice show 1 (Snake Eyes)?

23

What happens if a single die shows 1?

24

What happens if total equals 7?

25

What is added to round_points on a normal roll?

26

How are double sixes counted?

27

What prompts asking to roll again?

28

What happens when you bank points?

29

What function call applies bonuses?

30

What statistics are stored for end display?

31

Which loop prints final statistics?

32

What is the prize shop condition?

33

What happens with Insufficient Funds?

34

What type of game is described (in general)?

35

Which statement resets the round on snake eyes?

36

What does 'random.randint(1, 9)' imply about dice1?

37

What is the main purpose of the 'print' statements early?

Are you sure you want to leave the page?

If you leave, you will lose the game in progress.