Lecture: MWF 2:00-2:50P
Lab: MW 3:00-3:50P
Classroom: Manchester 241
Dr. Yue-Ling Wong
Course Web Page:
Office: Manchester 227
Office Hours: by appointment
Check the Timetable often for the lecture and lab materials, due dates, and quiz dates!
There will be lab in the first week. Please bring your Thinkpad to the first class meeting.
Examples of labs and Programming Assignments (tentative):
Use of mouse events and event handling, and use of control structures (if/else)
A modified Pong game later in the semester applying object-oriented programming to add multiple balls
|To try out this example: Move the mouse inside||To try out this example: Move the mouse inside|
|Side-scrolling Platform Game|
|Use of control structures (if/else), keyboard events and event handling.
Problem-solving: How to make the platform scrolling continuously without making the platform infinitely long.
|To try out this example: Click once inside, use LEFT and RIGHT arrow keys to move the character, and use SPACEBAR for jumping|
|Use of 2d array to model the game board, use of if-else statements to toggle players' turns|
|To try out this example: Click on the cell to place an "X" or "O".|
|3D Fly-through drive-through|
|Keyboard event handling, use of loops, multi-dimensional arrays, and 3d perspective concepts|
|To try out this example: Click once inside, hold down UP/DOWN arrow keys to move forward/backward, hold down LEFT/RIGHT arrow keys to pan left/right, hold down SPACEBAR to fly up (see if you can spot the pterodactyl)|
|Use of mask and mouse event handling|
|To try out this example: Click and drag the black rectangle (the x-ray block) around.|