SIGCSE Workshop - PowerPoint PPT Presentation

About This Presentation
Title:

SIGCSE Workshop

Description:

Pick up copies of the assignment handout, the Tutorial Guide, and your sample ... Create the paddle. 2. Create the ball and let it bounce around. 3. Detect ... – PowerPoint PPT presentation

Number of Views:56
Avg rating:3.0/5.0
Slides: 6
Provided by: EricRo
Category:

less

Transcript and Presenter's Notes

Title: SIGCSE Workshop


1
SIGCSE Workshop Using the ACM Java Libraries
SIGCSE 2007 Symposium Covington, Kentucky March
9, 2007 The ACM Java Task Force
Eric Roberts Stanford University Stanford, CA
Scott Grissom Grand Valley State
University Allendale, MI
Robb Cutler The Harker School San Jose, CA
2
Step 1
  • Pick up copies of the assignment handout, the
    Tutorial Guide, and your sample copy of The Art
    and Science of Java (provided by Addison-Wesley).
  • Work in teams of two on your laptop using
    whatever Java environment you ordinarily use. If
    you dont have Java on your laptop, pair up with
    someone who does.
  • Go to the web site for the Java Task Force
    materials atand follow the links to the Demo
    Gallery and go to the section on Simple
    applications using the ACM packages.
  • Download the hello.zip file, unpack it, and get
    it running.

http//jtf.acm.org/
3
Step 2
  • Create a new ConsoleProgram subclass that asks
    the user to enter a temperature in Fahrenheit and
    prints the equivalent temperature in Celsius

FahrenheitToCelsius
This program converts Fahrenheit to
Celsius. Enter Fahrenheit temperature Celsius
equivalent 100.0
212
  • Change only the header line of the program so
    that your program extends DialogProgram and run
    it again.

4
Step 3
  • Implement the Breakout game in stages.

Set up the bricks.
1.
Create the paddle.
2.
Create the ball and let it bounce around.
3.
Detect collisions with bricks and the paddle.
4.
5
The End
Write a Comment
User Comments (0)
About PowerShow.com