Can you please help do this? First, create a new file in the PyCharm integrated development environment (IDE), title it "TextBasedGame.py," and include a comment at the top with your full name. As you develop your code, remember that you must use industry standard best practices including in-line comments and appropriate naming conventions to enhance the readability and maintainability of the code. In order for a player to navigate your game, you will need to develop a function or functions using Python script. Your function or functions should do the following: Show the player the different commands they can enter (such as "go North", "go West", and "get [item Name]"). Show the player's status by identifying the room they are currently in, showing a list of their inventory of items, and displaying the item in their current room.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Can you please help do this?

First, create a new file in the PyCharm integrated development environment (IDE), title it "TextBasedGame.py," and include a comment at the top with your full name. As you develop your code, remember that you must use industry standard best practices including in-line comments and appropriate naming conventions to enhance the readability and maintainability of the code.

  1. In order for a player to navigate your game, you will need to develop a function or functions using Python script. Your function or functions should do the following:
    • Show the player the different commands they can enter (such as "go North", "go West", and "get [item Name]").
    • Show the player's status by identifying the room they are currently in, showing a list of their inventory of items, and displaying the item in their current room.

 

 

 

My Theme: Alien Encounters

  • You are a space trooper on a routine mission when suddenly an alien intruder breaches the ship cutting off the lights, your mission is to find all the items and exterminate the alien guest

· The rooms that I have are Cockpit, Hallway, Storage Room, Lower Deck, Weapons Quarters, Weapons Quarters Continued, Sleeping Quarters, Dinning Quarters, and Cargo Bay.

· The Items that can be gathered are Flash Light, Radio, Lasor Sword, Night Vison Goggles, Body Armor, and a Body Decoy.

· The villain is an Alien who breached the ship during a routine mission.

 

 

 

PSUEDOCODE:

INTRO: text setting the scene, two options SOUTH or EAST

IF EAST, player enters a hallway with a door at the end (No Items), two options EAST 

or WEST

IF WEST, enters back into starting area

IF EAST, enters Storage Room 

option collect Flash Light item

IF WEST (back into hallway and then back into Cockpit)

IF SOUTH, enters Lower Deck, finds Radio, two options NORTH or NORTH

option: Collect Radio

IF NORTH: enters back into Cockpit

IF SOUTH: enters Weapon Quarters, four options NORTH, SOUTH, EAST, 

Or WEST

option collect Lasor Sword

IF SOUTH: Continues through Weapon Quarters coming across Body Armor, two options NORTH or EAST

option collect Body Armor

IF NORTH: re-enters first section of Weapon Quarters

IF EAST: enters Cargo Bay were there is a Body Decoy, two options NORTH or WEST

IF WEST: enters back into Weapon Quarters continued

IF NORTH: enters Dining Quarters, two outcomes

IF player has obtained all items (FLASH LIGHT, RADIO, LASOR SWORD, NIGHT VISON GOGGLES, BODY ARMOR, BODY DECOY)

Player Wins and Alien is defeated

IF player has NOT obtained all items

Player Loses and is defeated GAME OVER

IF WEST: enters Sleeping Quarters 

option collect Night Vison Goggles

IF EAST: re-enters Weapon Quarters

IF EAST: enters Dining Quarters, two outcomes

IF player has obtained all items (FLASH LIGHT, RADIO, LASOR SWORD, NIGHT VISON GOGGLES, BODY ARMOR, BODY DECOY)

Player Wins and Alien is defeated

IF player has NOT obtained all items

Player Loses and is defeated GAME OVER

 

 

 

Subject: Python Programming

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY