Question: 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
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
Get step-by-step solutions from verified subject matter experts
