Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a Python Jupyter notebook program about a simple text based dungen games with 4 rooms and items. See outline below and try to do

Write a Python Jupyter notebook program about a simple text based dungen games with 4 rooms and items. See outline below and try to do it in python code to use in jypyter. You can use gaming modules if you can. Please if you do not know how to do it, dont answer half code solution. The game is text based meaning the user will see many print text outputs and choose just like old RPG pc games.

Game outline for Dungeon text-based game

# Game intro info in print text

#User entered first room with ice sword already equipped with ice sword.

# room 1 using while loop or whatever best method. First room Fire dragon (Monster of room 1) beaten with ice sword (Loop to user to choose current available swords) getting the fire sword (If user choose ice sword, fire dragon dies, user obtain new fire sword then user proceed to room 2)

# output print text for user to notify the second room entry. Second room Electric Dragon (Monster of room 2) beaten with the ice sword (Loop to user to choose currently available swords. User must choose ice sword, if user choose other sword a text will output that its game over and program start again) getting the Electric sword(If user choose ice sword, electric dragon dies, user obtain electric sword then user proceed to room 3)

Third room Ice dragon (Monster of room 3) Beaten with fire sword (Loop to user to choose current available swords. User must choose fire sword, if user choose other sword a text will output that its game over and program start again) Getting the Master key (user obtain the master key object for entering Final boss room)

Fourth room Dark beast Ganon (Final monster of room 4) Beaten with all swords in specific order (an input or loop asking user to choose swords in an order, if user didn't choose correct order, program output "Game Over" and program restart again.) Beating final monster (swords specific order is ice sword then fire sword then electric sword. User will choose in a form of a b c. After choosing correct order, game will output print message to user saying that you won the game.

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

Recommended Textbook for

DB2 9 For Linux UNIX And Windows Advanced Database Administration Certification Certification Study Guide

Authors: Roger E. Sanders, Dwaine R Snow

1st Edition

1583470808, 978-1583470800

More Books

Students also viewed these Databases questions