Find Jobs
Hire Freelancers

Python 3.x Simple Text Based Game -- 2

$10-30 USD

Closed
Posted about 7 years ago

$10-30 USD

Paid on delivery
Problem Description: Your are to create a text base game to try and hit a target in two dimensional plane (X,Y) using a cannon ball. The program will randomly create 5 targets (5 sets of X,Y) and display the set on screen. Choose the coordinates of the targets such that: 500 < X < 5000 (meters) and 500 < Y < 5000 (meters) The player will have 3 chances to hit any of the 5 square targets, which are 10 X 10 meters. The player will attempt to hit the targets by entering the initial velocity and initial angle. The coordinate of the target is at the center of the target. If the player hits a target, the program will display the name, the number of tries used, a message indicating that the player won, the time it took to hit the target (time of flight for the hit try), and the target number with audible beeps for indication that a target was hit. If the player did not hit any target in 3 tries, the program will display the initial angles and the initial velocities that were needed to hit each target and list them on the screen. Regardless of win or lose, the program must record the target numbers and their coordinates in a file with the players name (a name from [login to view URL], below), for example [login to view URL] The game can be played only if the user first enters a correct name and corresponding correct ID. The list of names and ID’s are given in a text file called [login to view URL], such as below           leia       12345           darth     23456           r2d2     34567           solo      45678           jabba    56789           yoda      67890 . Game Requirements: 1. You must use a 2D list for targets for each game. The members of the list are: target # (1 to 5) and coordinate of the target (X,Y) 2. The player must enter a correct name and matching ID (in [login to view URL] file) to get access to the game 3. Player can choose to play again 4. Use random number generator for X and Y of each target 5. Must save the result in a file 6. The program must handle one type of exception. More requirements, In addition to our standards: 1. The main function must do very little other than calling other functions and passing parameters to those functions. 2. Your program should be modularly designed with functions designed to do one task and one task well. 3. Do not use global variables. Pass data back and forth via parameters or as return values. 4. Make your functions as general as possible so that they can be called more than once if needed. 5. Document your main function as well as every function you write. 6. Use defined constants for ALL constants (if any) in your program. General requirement 1- Following comments must be the first lines of your source code # ----------------------------------------------- # Submitted By: <Your Name> # Homework Number: <whichever homework you are doing> # Credit to: # <Name or names> # Submitted On: <Date> # By submitting this program with my name, # I affirm that the creation and modification # of this program is primarily my own work. # ------------------------------------------------ 2- Next few line of your source code must be comments describing what this program is supposed to do. 3- The first output (display) must be your name 4- The source code file must include comments documenting the design. 5- Indentation and spacing should be used to make the program readable. 6- Throughout this class (including this program you are not permitted to use the following commands: continue, break, exit, or any library functions that perform similarly
Project ID: 13731071

About the project

10 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
10 freelancers are bidding on average $89 USD for this job
User Avatar
Greetings sir, i am an expert freelancer for this job and your 100% satisfaction is assured if you allow me to serve. Here is the reason. Why you should pick me? a) I am a very expert and have the same kind of experience of 5 years. b) I work very hard (16+ hours a day and 7 days a week) and also very fast so... it will be done very soon than most of the other providers c) And most important part is my policy: "I will give you (to my client) life time support (as long as you keep relation with me). And fix any bugs/problem without any cost. So, don't ever worry about me” Please sir, leave a reply ASAP, as I am waiting for your kind reply
$150 USD in 1 day
4.9 (74 reviews)
6.7
6.7
User Avatar
Hi, I'm Sid, a Software Engineer working. I have extensive skills with c++, java, Android and Python of four years. Knock me up if you need it ASAP !!! .................
$72 USD in 1 day
4.9 (102 reviews)
6.4
6.4
User Avatar
Hello, expert in Python programming here. I can implement for you a text based shooting game as described in the Word document attached to your project description. Let me know if you are interested to work with me. Thanks, Paul
$300 USD in 7 days
5.0 (14 reviews)
5.9
5.9
User Avatar
Hi there, I would like to do this project if given the opportunity. Let me know if you are interested so I can have further details. Thanks.
$50 USD in 1 day
4.9 (39 reviews)
4.8
4.8
User Avatar
Hi. I have gone through the entire description. I have good command over python programming language. I will cover all points given in the rubric
$30 USD in 2 days
4.9 (18 reviews)
3.7
3.7
User Avatar
I have been working as a software developer for more than one and half year on python scripting and having good knowledge of algorithms and data structures and good problem solving skills and I'm very much interested in your project.
$80 USD in 3 days
3.9 (7 reviews)
3.2
3.2
User Avatar
Hello, my name is Hunor from the UK. I'm an expert software developer especially in Python. I would like to apply to this job. Please write me a message to discuss the details.
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
0.0
0
Member since Apr 15, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.