top of page

PROGRAMMING CHALLENGES

Pig Dice Game

Difficulty:

3 Hard

1.8 Functions and Procedures

Topic:

Write a program that plays the Pig Dice game, where players take turns rolling dice to accumulate points but risk losing them if a one is rolled.

Use functions to handle the game logic, including rolling dice and updating scores.

Need help with your programming skills?

If you need more help than just independent practise, then we're here for you. Book a 1:1 with us and we will be able to guide you to becoming a proficient programmer who can tackle any of the challenges an exam board can throw at you.

bottom of page