Description
Scatch Pong Game
This week you will get to play with the Scratch graphic programming environment. We will use it to finish up the introduction to OOP. As we create the game of Pong, please note the objects, their fields, and methods. Here is the link to Scratch. You must do all work on the VM.
video link: https://online.stratford.edu/pluginfile.php/186146...
Submit your task report. Include a discussion of the ball object.
1. What fields are associated with the ball?
2. Although there are not specific class methods, what methods could be associated with this ball based on the code?
3. Do you see any fundamental concepts of programming in this game? (selection, iteration, and sequencing)
Challenge(optional): Can you automate the movement of the right paddle such that you can play as a single-player? (hint think about the location of the ball)
Explanation & Answer
Attached.
Pong Game
1. The ball object is associated with fields such as direction, operators, score, player,
and the X and Y-axis fields
2. Common methods associated wi...
Review
Review
24/7 Homework Help
Stuck on a homework question? Our verified tutors can answer all questions, from basic math to advanced rocket science!
Similar Content
Related Tags
The Bell Jar
by Sylvia Plath
The Good Earth
by Pearl S. Buck
Crime and Punishment
by Fyodor Dostoyevsky
The Age of Innocence
by Edith Wharton
Alice in Wonderland
by Lewis Carroll
100 Side Hustles
by Chris Guillebeau
Treasure Island
by Robert Louis
The Woman in the Window
by A. J. Finn
How to Win Friends and Influence People
by Dale Carnegie