Syntax
Adventure Game
Pong
Programming
Eclipse
100

Print to the screen

System.out.println

100
T or F: Uses more than one class

False

100

The ball class uses doubles for xPos and yPos because

you want more precision

100

The type of code that allows for choice

Selection
100

Put windows back to default view

Reset Perspective

200

Object to use to get input

Scanner

200

Input is based on what data type

int

200

Player is instantiated how many times

2

200

Used to hold a value

Variable

200

Little red x on the left side of code

Indicates error

300

Code for selection

if else

300

T or F: Indentation is NOT very important

False

300

Input implements what interface

KeyListener

300

Code that initializes variables in a class

Constructor

300
How to save project file archive

Export

400

Loop when you know how many times

for
400

What method call is used to keep the game going

playAgain();
400

What is the object that opens a graphics window?

JFrame

400

Used to hold a list of values

Array

400
Shows system.out.println output

Console

500
loop when you don't know how many times

while

500

What code do you need everytime you offer a choice?

choice = getInput(n);

500

The method that is called to see if the ball bounces off the paddle(Player)?

checkCollision(Player player);

500

Variable to hold a true or false value

boolean

500
Panel to be in to add classes

Package Explorer