SOLUTION: CS 210 WVU Football Overtime Simulator Programming Fundamentals Coding

CS 210: Programming Fundamentals
College Football Overtime Simulator
Due Wednesday, March 3 at 6:00pm
38 points
In this example, you will simulate a single possession of a college football overtime. In overtime, you
take possession of the ball at the 25 yard line, and you try to score. In our simulation, we will assume
that your kicker is awful, so you will never try for a field goal. You have to score a touchdown to win.
As in real football, you have four downs to go 10 yards. When you do go 10 yards, the downs are reset. If
you fail to go 10 yards after four tries, you lose possession and, in our case, you lose the game.
In your program, you will draw the football field and the position of the ball in turtle graphics. You will
ask the user what play they want to run – either a run or a pass – and they will press p to pass and r to
run. If the user chooses to pass the ball, they have a 50% chance of completing the pass. If they
complete the pass, it will be for between 3 and 15 yards. If they choose to run, the play will advance the
ball up to 8 yards, or it could result in a loss of up to 3 yards.
After each play, you must show the current status. If they lost because they were unable to go 10 yards
in 4 downs, then you should display the fact that they lost. If they win because they go to the goal line,
you should display that they won. Otherwise, you should display their current down and how many
yards they have to go.
The game will display both the football field and text on the input window where the player indicates
what they want to do. Here is what the football field should look like:
To play the game, the player will enter r to run and p to pass in the terminal. As they select their plays,
the terminal will update to show them their down and how far they have to go on the current down. The
turtle that represents the player’s position will also update to show the new position. Here is an
example of how the game will proceed:
Here’s another example of how the game will proceed that has a better outcome:
Here is how points will be rewarded
You draw the field with yard lines and yard line markers.
You respond to the user entering “p” correctly, with a 50% probability of
completion that will yield between 3 and 15 yards.
You respond to the user entering “r” correctly, with a gain of up to 8
yards, and a loss of up to 3 yards.
10 points
6 points
5 points
You correctly determine when the player wins or loses and display that
near the bottom of the screen and in the terminal window, and you end
the program when they have either won or lost.
You correctly express the down and how many yards to go and display
that near the bottom of the football field and in the terminal window.
You place the player on the correct yard line, scaling as needed to make
sure their placement on the field matches the yard they are on.
You include comments in your code.
You submit your game as lastname_football.py on Blackboard
5 points
4 points
5 points
1 point
2 point
So, all together, this assignment is worth 38 points.
If you copy any part of your code, or if you provide your code to anyone else, you will earn -38 points
out of 38.
If your program crashes when I run it, you will be penalized 12 points.

Purchase answer to see full
attachment

Order a unique copy of this paper
(550 words)

Approximate price: $22

Our Basic features
  • Free title page and bibliography
  • Plagiarism-free guarantee
  • Unlimited revisions
  • Money-back guarantee
  • 24/7 support
Our Options
  • Writer’s samples
  • Expert Proofreading
  • Overnight delivery
  • Part-by-part delivery
  • Copies of used sources
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

AcademicWritingCompany guarantees

Our customer is the center of what we do and thus we offer 100% original essays..
By ordering our essays, you are guaranteed the best quality through our qualified experts.All your information and everything that you do on our website is kept completely confidential.

Money-back guarantee

Academicwritingcompany.com always strives to give you the best of its services. As a custom essay writing service, we are 100% sure of our services. That is why we ensure that our guarantee of money-back stands, always

Read more

Zero-plagiarism tolerance guarantee

The paper that you order at academicwritingcompany.com is 100% original. We ensure that regardless of the position you are, be it with urgent deadlines or hard essays, we give you a paper that is free of plagiarism. We even check our orders with the most advanced anti-plagiarism software in the industry.

Read more

Free-revision guarantee

The Academicwritingcompany.com thrives on excellence and thus we help ensure the Customer’s total satisfaction with the completed Order.To do so, we provide a Free Revision policy as a courtesy service. To receive free revision the Academic writing Company requires that the you provide the request within Fifteen (14) days since the completion date and within a period of thirty (30) days for dissertations and research papers.

Read more

Privacy and Security policy

With Academicwritingcompan.com, your privacy is the most important aspect. First, the academic writing company will never resell your personal information, which include credit cards, to any third party. Not even your lecturer on institution will know that you bought an essay from our academic writing company.

Read more

Adherence to requirements guarantee

The academic writing company writers know that following essay instructions is the most important part of academic writing. The expert writers will, therefore, work extra hard to ensure that they cooperate with all the requirements without fail. We also count on you to help us provide a better academic paper.

Read more

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2020 at 10:52 AM
Total price:
$26
The price is based on these factors:
Customer Academic level
Number of pages required
Urgency of paper