Track the current position and direction of the ball

Assignment Help Python Programming
Reference no: EM131327347

Python Code

Your version of pong will be more complete and have the following features at a minimum:

1) The scores for each player should be displayed

2) Option for ball speed - Choose between three different speed levels: slow/medium/fast

3) Option for player paddle size - Choose between three different paddle sizes for the player: small/medium/large

4) Option for game length - Choose between three game lengths: 7/15/21 points

5) Option for opponent - Choose between a two player game and a one player game against an automated paddle

6) Automated paddle - If the player chooses to play against an automated paddle, your program should control the motion of the paddle. You can track the current position and direction of the ball to estimate whether it should move up or down from its current position.

7) Expanding net - in addition to having the ball bounce off of the walls and paddles, there will be an additional obstacle the ball must avoid. There should be an object moving up and down in the middle of the screen, essentially a moving net. The net size should be relatively small in the beginning of a point so that it is not too hard to have the ball avoid it. However, every time the ball hits it, the ball should bounce off of it as if it were a wall and the size of this net object should grow and the net should begin to move a little faster. The net should never get as big as the entire screen, so that there is always some chance of getting the ball through.

These are the basic features that your game should have. You can add in other options and features such as changing ball speed and paddle size after a certain number of hits, moving the ball in a squiggly direction rather than always straight, etc. You should submit your code and any additional images or other things that you need to run the program.

Reference no: EM131327347

Questions Cloud

What is the interest rate on the loan : A fully amortizing mortgage is made for $100,000 at 6.5 percent interest. If the monthly payments are $1,000 per month, when will the loan be repaid?
What must monthly payments be over the 10 year period : If the interest rate is 7 percent, what must monthly payments be over the 10-year period?- If the borrower chooses to repay the loan after 5 years instead of at the end of year 10, what must the loan balance be?
What will the monthly payments be : What will the monthly payments be?- What will be the loan balance after 5 years?- If the loan is repaid after 5 years, what will be the yield to the lender?
Track the current position and direction of the ball : If the player chooses to play against an automated paddle, your program should control the motion of the paddle. You can track the current position and direction of the ball to estimate whether it should move up or down from its current position.
Contemporary theories to support your evaluation : Demonstrate a systematic understanding and critical appreciation of theories and models of creativity, innovation and change management in the context of contemporary organisations.
Why did preston brooks beat him so mercilessly : Why did Preston Brooks beat him so mercilessly? What you need to keep in mind at this point is that, at this point in time, slavery is not only not illegal but it is a constitutional protected institution. Not only the right to own slaves, but th..
What must the loan balance be if it is repaid after year 4 : What must the loan balance be if it is repaid after year 4? What will be the yield to the lender if the loan is repaid at the end of year 4?
With all of the investment to be made at the outset : A Japanese electronics manufacturer is contemplating investing $1 billion (with all of the investment to be made at the outset) in a 10-year investment project in the U.S. The Japanese company is well known in world capital markets and is universally..

Reviews

Write a Review

Python Programming Questions & Answers

  Explain a python program storing and processing simple bank

A Python program storing and processing simple bank records is in the early stages of development. The records are stored in a text file (bank.txt) that contains, for each bank customer, their given name, account number and balance.

  Question 1 research 5-8 species within one family of birds

question 1 research 5-8 species within one family of birds. be sure to use primary or very good secondary literature

  Code a console-based program in python

CP1404/CP5632 2016 SP2/22/52 Assignment 1 - Shopping List 1.0. You are to plan and then code a console-based program in Python 3, as described in the following information and sample output. This assignment will help you build skills using selectio..

  In this assignment you will write a program that does

in this assignment you will write a program that does simple packet routing. your program will take three command-line

  Create a custom python module

Write a program named program51.py that defines a value-returning function named cuber that returns both the surface area and volume of a cube. A cube is a rectangular prism with all sides equal.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

  Develop python script that will implement the given command

Write a python script that will implement the following command: merge sourcedirectory1 sourcedirectory2 destinationdirectory

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Write a program in python to draw a blue triangle

Write a program in Python to draw a blue triangle in a drawing window. Write a program in Python that moves the triangle in an animated movement. Write a program in Python to draw a simplified face.

  Write a program that obtains integer numbers from user

Emphasize standard approaches that verify you have successfully mastered the concepts of structured design - selects a menu item, program should perform calculation, display the result to the user, and return to the main menu.

  How many cents for each paper

Using Tkinter for cents Program, find the How many cents for each Paper

  Overall architecture diagram of the external facing system

Design a Service Oriented Architecture-based solution for a given domain. You must show a good understanding of Service Oriented principles. In addition you must show knowledge and understanding of specific SOA techniques, practices and approaches..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd