1 / 5

SIGCSE Workshop Using the ACM Java Libraries

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.

bjorn
Download Presentation

SIGCSE Workshop Using the ACM Java Libraries

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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 don’t 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. 1. Set up the bricks. 2. Create the paddle. 3. Create the ball and let it bounce around. 4. Detect collisions with bricks and the paddle.

  5. The End

More Related