Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Programming Language in Python interactive] GAME: WWW Submarine Warfare. We are now experiencing some simple game development skills. Assuming that you are the captain of

Programming Language in Python image text in transcribed
interactive] GAME: WWW Submarine Warfare. We are now experiencing some simple game development skills. Assuming that you are the captain of a submarine and you have a target ahead of you. You choose a torpedo type and let's assume the distance between your submarine and the target is constant (20 rows for weapon travelling or range). When the target is not aware of danger it sails at normal speed (N), but when realizes hazard, it changes to zigzag pattern (Z). Your program should solicit firing position (assuming the ocean wide is 40 columns and the movement of both your submarine and the target is from left to right), torpedo type of your design as long as not straight which is too simple), target speed (Nor) and run a simulated torpedo in-the-water trajectory to predict performance. Here is an illustration. Anything not defined you may enhance. Make sure you stipulate clear before the user press the keys. Reject all bad input format as usual. interactive] GAME: WWW Submarine Warfare. We are now experiencing some simple game development skills. Assuming that you are the captain of a submarine and you have a target ahead of you. You choose a torpedo type and let's assume the distance between your submarine and the target is constant (20 rows for weapon travelling or range). When the target is not aware of danger it sails at normal speed (N), but when realizes hazard, it changes to zigzag pattern (Z). Your program should solicit firing position (assuming the ocean wide is 40 columns and the movement of both your submarine and the target is from left to right), torpedo type of your design as long as not straight which is too simple), target speed (Nor) and run a simulated torpedo in-the-water trajectory to predict performance. Here is an illustration. Anything not defined you may enhance. Make sure you stipulate clear before the user press the keys. Reject all bad input format as usual

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