Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

# PYTHON Beginner Adventure Game Here is what I need help with: I'm trying to figure out how to randomly kill the player at any

# PYTHON Beginner Adventure Game

Here is what I need help with:

I'm trying to figure out how to randomly kill the player at any point in my basic adventure game, by generating a random integer between 1 and 100.

P.S. The game only has 1 player. there are no options to change player health or weapons etc. I just simply want to add a slim chance they might die randomly while they're trying to navigate through to the end of the game.

How would I go about this?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

=+18-4 Describe the loca- tion and function of feature. detectors.

Answered: 1 week ago