Java Games: Flashcards, matching, concentration, and word search.

Game Programming Final Exam Review

Vocab

AB
//symbols used for a comment
{opening bracket
VariablesExamples of this are:integer, string, float, double.
ConstantA variable that DOES NOT change during a program.
Functiona group of code that is blocked off with { }
DarkGDKfunction required for graphics in Visual C++
StringThe type of variable you would use for storing words.
( )shown after you call a function
640 x 480the default window size in DarkGDK
IntegerThe most common variable type we’ve used this semester.
X coordinatemeasures from left to right of a window
Y coordinatemeasures from top to bottom of a window
switchThis choice statement tests against a “menu” of values; uses break in between each one.
dbDotthis function creates a dot at a certain point
whilea looping statement that has while at the beginning of the code
Visual C++This is the name of the program we’ve used this semester.
1000the number of milliseconds in a second; often used in dbWait( )
CommentsLines that tell the programmer information about the code; these do not print.
dbLinethis creates a line
DWORDspecial data type when working with colors
atoiused for input statements
dbRNDused to create random numbers
RGBcolor codes (red, green, blue)
!=operator meaning not equal
dbWaitKey()used to pause program until key is pushed
dbInkchanges the color of text & lines
voidthe name given to an empty function
parametersthe number of items inside parenthesis
bitmapimages used in program are usually in this format
++increment operator
--decrement operator


Grandville High School

This activity was created by a Quia Web subscriber.
Learn more about Quia
Create your own activities