Write a Python program to simulate an adventure game called 'Treasure Hunt'.
The rules of the game are as follows:
You can see an example of two different executions below:
Example Run 1 (Double rolled):
Roll 1: 3
Roll 2: 7
Current gold: 100
Would you like to explore further? (y/n): y
Roll 1: 5
Roll 2: 5
Trap sprung! You lose all your gold!
Example Run 2 (Player stops):
Roll 1: 2
Roll 2: 8
Current gold: 100
Would you like to explore further? (y/n): y
Roll 1: 4
Roll 2: 1
Current gold: 150
Would you like to explore further? (y/n): n
Game over! Your final gold count is: 150
You should use meaningful variable names, correct data types, and proper syntax in your answer.
298 exam-style questions on AQA GCSE Computer Science Programming concepts. Each one has a worked solution and a mark scheme showing where the marks go.