SlideShare a Scribd company logo
1 of 11
Games in Java
Department of Computer Science
Professor Yi Chen
HappyKim
Jennifer Villacis
Elisabeth Domond
Jose Munoz-Lopez
Pong
Jesus Gonzalez
James Laskey
Frustration
Erwin Aguilar
Reuben Orihuela
Basic Introduction to Java
• Class= a functioning part of a project
• Method= a command
• Variable = name for an object
• Line (X1,Y1,X2,Y2, canvas);
• FramedRect (x, y, width, height, canvas)
• FilledRect
• FramedOval/FilledOval
• Text
• Set Size
• Set Font
• Set Color
• Oval1.setColor(Color.ORANGE)
• Public void begin (): Starts effects once
canvas is opened. Other options include:
• onMouseClick
• onMousePress/onMouseRelease
• onMouseEnter/onMouseExit
• onMouseDrag
Sample Exercises
Pong
Pong
Why?
Pong is one of the first classic games to achieve
mainstream popularity.
The coding of Pong is a fun and enjoyable
experience!
Design:
Pong: The skeleton of the game, it displays the frame
and controls the paddles.
MovingPongBall: Controls the movement of the
pong ball.
Challenges:
1.It was difficult to code for the ball to stay within the
boundaries and bounce off the paddles.
2.Controlling the direction of the ball and where it
would head towards.
3.Having the top paddle be controlled by the mouse
keys.
4.Finalizing the game and making sure it runs
smoothly without lag.
Frustration
Frustration
Why?
• The purpose of our game is to frustrate
people as much as possible.
Design:
 Frustration controller(contains methods)
Falling tile (contains object animations)
Challenges:
• Making the original idea a reality
• Coding in the correct order
HappyKim
Why?
• It is a very well known game, so we
thought it would be fun to
recreate it.
• We thought it would be simple to
work with and to add our own
designs and animations.
Design:
Classes:
Controller-contains all the methods
Bird- used to control falling ball
animation
Tubes- used to create the tubes
Tubes Controller- used to control the
motion of the tubes
Challenges:
• It was difficult to program the
“bird” falling object to jump at
specific shifts.
• In addition, it was difficult to
program the motion of the tubes
and to generate random tube
heights.
Conclusion
We would like to give a
special Thank You to:
Sergio Marin
Dr. Maria Tucker
Professor Chen
Dunmi Alabi
Games in Java class projects

More Related Content

What's hot

Data Ward Final Presentation
Data Ward Final PresentationData Ward Final Presentation
Data Ward Final Presentationdarkeningsoul
 
Married to the Mob (programming)
Married to the Mob (programming)Married to the Mob (programming)
Married to the Mob (programming)Derek Graham
 
Quick prototyping (Construct 2 & Unity) by Roan Contreras
Quick prototyping (Construct 2 & Unity) by Roan ContrerasQuick prototyping (Construct 2 & Unity) by Roan Contreras
Quick prototyping (Construct 2 & Unity) by Roan ContrerasDEVCON
 
2scaredycatcomputerssession2 mouseandkeyboard-ver2
2scaredycatcomputerssession2 mouseandkeyboard-ver22scaredycatcomputerssession2 mouseandkeyboard-ver2
2scaredycatcomputerssession2 mouseandkeyboard-ver2iteachgeek
 
Gaming in the classroom
Gaming in the classroomGaming in the classroom
Gaming in the classroomJeff Pelich
 
Gamemaker - Intro and Core Objects
Gamemaker - Intro and Core ObjectsGamemaker - Intro and Core Objects
Gamemaker - Intro and Core ObjectsJoe Healy
 
3. production experiments
3. production experiments3. production experiments
3. production experimentsjosh22bailey
 
Alpha releasepresentation
Alpha releasepresentationAlpha releasepresentation
Alpha releasepresentationChuck Moyes
 
GameMaker:Studio and Windows
GameMaker:Studio and Windows GameMaker:Studio and Windows
GameMaker:Studio and Windows Lee Stott
 
Crack, Train, Fix, Release - Keynote at DevIT Thessaloniki 2015
Crack, Train, Fix, Release - Keynote at DevIT Thessaloniki 2015Crack, Train, Fix, Release - Keynote at DevIT Thessaloniki 2015
Crack, Train, Fix, Release - Keynote at DevIT Thessaloniki 2015Christian Heilmann
 
About Me
About MeAbout Me
About Merulke
 
Uni presentation (pptx)
Uni presentation (pptx)Uni presentation (pptx)
Uni presentation (pptx)Volksjager
 

What's hot (13)

Data Ward Final Presentation
Data Ward Final PresentationData Ward Final Presentation
Data Ward Final Presentation
 
Married to the Mob (programming)
Married to the Mob (programming)Married to the Mob (programming)
Married to the Mob (programming)
 
jessicadsmithXtraNormal
jessicadsmithXtraNormaljessicadsmithXtraNormal
jessicadsmithXtraNormal
 
Quick prototyping (Construct 2 & Unity) by Roan Contreras
Quick prototyping (Construct 2 & Unity) by Roan ContrerasQuick prototyping (Construct 2 & Unity) by Roan Contreras
Quick prototyping (Construct 2 & Unity) by Roan Contreras
 
2scaredycatcomputerssession2 mouseandkeyboard-ver2
2scaredycatcomputerssession2 mouseandkeyboard-ver22scaredycatcomputerssession2 mouseandkeyboard-ver2
2scaredycatcomputerssession2 mouseandkeyboard-ver2
 
Gaming in the classroom
Gaming in the classroomGaming in the classroom
Gaming in the classroom
 
Gamemaker - Intro and Core Objects
Gamemaker - Intro and Core ObjectsGamemaker - Intro and Core Objects
Gamemaker - Intro and Core Objects
 
3. production experiments
3. production experiments3. production experiments
3. production experiments
 
Alpha releasepresentation
Alpha releasepresentationAlpha releasepresentation
Alpha releasepresentation
 
GameMaker:Studio and Windows
GameMaker:Studio and Windows GameMaker:Studio and Windows
GameMaker:Studio and Windows
 
Crack, Train, Fix, Release - Keynote at DevIT Thessaloniki 2015
Crack, Train, Fix, Release - Keynote at DevIT Thessaloniki 2015Crack, Train, Fix, Release - Keynote at DevIT Thessaloniki 2015
Crack, Train, Fix, Release - Keynote at DevIT Thessaloniki 2015
 
About Me
About MeAbout Me
About Me
 
Uni presentation (pptx)
Uni presentation (pptx)Uni presentation (pptx)
Uni presentation (pptx)
 

Similar to Games in Java class projects

A Brief Game Jam Survival Guide
A Brief Game Jam Survival GuideA Brief Game Jam Survival Guide
A Brief Game Jam Survival GuideLuca Galli
 
The Use of Modern Controller Devices at Schools: Game-Based Learning with the...
The Use of Modern Controller Devices at Schools: Game-Based Learning with the...The Use of Modern Controller Devices at Schools: Game-Based Learning with the...
The Use of Modern Controller Devices at Schools: Game-Based Learning with the...Educational Technology
 
Educational games overview
Educational games overviewEducational games overview
Educational games overviewDavid Farrell
 
Educational Games Design (STEG10 Keynote)
Educational Games Design (STEG10 Keynote)Educational Games Design (STEG10 Keynote)
Educational Games Design (STEG10 Keynote)David Farrell
 
Super Microbe World: Using Games to Teach Science and Hygiene
Super Microbe World: Using Games to Teach Science and HygieneSuper Microbe World: Using Games to Teach Science and Hygiene
Super Microbe World: Using Games to Teach Science and HygieneDavid Farrell
 
Coding io1-materials for students-group1
Coding io1-materials for students-group1Coding io1-materials for students-group1
Coding io1-materials for students-group1Georgeta Manafu
 
Interactive Fiction and Game Design Using Inform7
Interactive Fiction and Game Design Using Inform7Interactive Fiction and Game Design Using Inform7
Interactive Fiction and Game Design Using Inform7Douglas Kiang
 
Super Gun Kids: The Making Of by Iain Lobb
Super Gun Kids: The Making Of by Iain LobbSuper Gun Kids: The Making Of by Iain Lobb
Super Gun Kids: The Making Of by Iain Lobbmochimedia
 
Games for Health - Joep Jansen - Padwalk: Interactive Led Floor for Therapy
Games for Health - Joep Jansen - Padwalk: Interactive Led Floor for TherapyGames for Health - Joep Jansen - Padwalk: Interactive Led Floor for Therapy
Games for Health - Joep Jansen - Padwalk: Interactive Led Floor for TherapyGames for Health Europe
 
3. Production Experiments (FMP).pptx
3. Production Experiments (FMP).pptx3. Production Experiments (FMP).pptx
3. Production Experiments (FMP).pptxLilGabbo64
 
Tandem Transformational Game Design
Tandem Transformational Game DesignTandem Transformational Game Design
Tandem Transformational Game DesignAlexandra To
 
Workingwithunity 110519054824-phpapp01
Workingwithunity 110519054824-phpapp01Workingwithunity 110519054824-phpapp01
Workingwithunity 110519054824-phpapp01Srijib Roy
 
Games for Learning – Design Principles for Student Engagement in Blended Lear...
Games for Learning – Design Principles for Student Engagement in Blended Lear...Games for Learning – Design Principles for Student Engagement in Blended Lear...
Games for Learning – Design Principles for Student Engagement in Blended Lear...DreamBox Learning
 
GAME 3400 Level Design - Puzzle Design
GAME 3400 Level Design - Puzzle DesignGAME 3400 Level Design - Puzzle Design
GAME 3400 Level Design - Puzzle DesignSeth Sivak
 
Week11 puzzle-games-2-
Week11  puzzle-games-2-Week11  puzzle-games-2-
Week11 puzzle-games-2-NaimChePee
 
CreativityExercises.ppt
CreativityExercises.pptCreativityExercises.ppt
CreativityExercises.pptYashwanth Rm
 
Proposal- Video Game
Proposal- Video GameProposal- Video Game
Proposal- Video Gamealiceleeman
 

Similar to Games in Java class projects (20)

CS Research Poster 2014
CS Research Poster 2014CS Research Poster 2014
CS Research Poster 2014
 
A Brief Game Jam Survival Guide
A Brief Game Jam Survival GuideA Brief Game Jam Survival Guide
A Brief Game Jam Survival Guide
 
Kodu game design
Kodu game designKodu game design
Kodu game design
 
The Use of Modern Controller Devices at Schools: Game-Based Learning with the...
The Use of Modern Controller Devices at Schools: Game-Based Learning with the...The Use of Modern Controller Devices at Schools: Game-Based Learning with the...
The Use of Modern Controller Devices at Schools: Game-Based Learning with the...
 
Educational games overview
Educational games overviewEducational games overview
Educational games overview
 
Educational Games Design (STEG10 Keynote)
Educational Games Design (STEG10 Keynote)Educational Games Design (STEG10 Keynote)
Educational Games Design (STEG10 Keynote)
 
Super Microbe World: Using Games to Teach Science and Hygiene
Super Microbe World: Using Games to Teach Science and HygieneSuper Microbe World: Using Games to Teach Science and Hygiene
Super Microbe World: Using Games to Teach Science and Hygiene
 
Coding io1-materials for students-group1
Coding io1-materials for students-group1Coding io1-materials for students-group1
Coding io1-materials for students-group1
 
Interactive Fiction and Game Design Using Inform7
Interactive Fiction and Game Design Using Inform7Interactive Fiction and Game Design Using Inform7
Interactive Fiction and Game Design Using Inform7
 
Super Gun Kids: The Making Of by Iain Lobb
Super Gun Kids: The Making Of by Iain LobbSuper Gun Kids: The Making Of by Iain Lobb
Super Gun Kids: The Making Of by Iain Lobb
 
Games for Health - Joep Jansen - Padwalk: Interactive Led Floor for Therapy
Games for Health - Joep Jansen - Padwalk: Interactive Led Floor for TherapyGames for Health - Joep Jansen - Padwalk: Interactive Led Floor for Therapy
Games for Health - Joep Jansen - Padwalk: Interactive Led Floor for Therapy
 
3. Production Experiments (FMP).pptx
3. Production Experiments (FMP).pptx3. Production Experiments (FMP).pptx
3. Production Experiments (FMP).pptx
 
Tandem Transformational Game Design
Tandem Transformational Game DesignTandem Transformational Game Design
Tandem Transformational Game Design
 
Workingwithunity 110519054824-phpapp01
Workingwithunity 110519054824-phpapp01Workingwithunity 110519054824-phpapp01
Workingwithunity 110519054824-phpapp01
 
Games for Learning – Design Principles for Student Engagement in Blended Lear...
Games for Learning – Design Principles for Student Engagement in Blended Lear...Games for Learning – Design Principles for Student Engagement in Blended Lear...
Games for Learning – Design Principles for Student Engagement in Blended Lear...
 
GAME 3400 Level Design - Puzzle Design
GAME 3400 Level Design - Puzzle DesignGAME 3400 Level Design - Puzzle Design
GAME 3400 Level Design - Puzzle Design
 
Seriously fun
Seriously funSeriously fun
Seriously fun
 
Week11 puzzle-games-2-
Week11  puzzle-games-2-Week11  puzzle-games-2-
Week11 puzzle-games-2-
 
CreativityExercises.ppt
CreativityExercises.pptCreativityExercises.ppt
CreativityExercises.ppt
 
Proposal- Video Game
Proposal- Video GameProposal- Video Game
Proposal- Video Game
 

Games in Java class projects

  • 1. Games in Java Department of Computer Science Professor Yi Chen HappyKim Jennifer Villacis Elisabeth Domond Jose Munoz-Lopez Pong Jesus Gonzalez James Laskey Frustration Erwin Aguilar Reuben Orihuela
  • 2. Basic Introduction to Java • Class= a functioning part of a project • Method= a command • Variable = name for an object • Line (X1,Y1,X2,Y2, canvas); • FramedRect (x, y, width, height, canvas) • FilledRect • FramedOval/FilledOval • Text • Set Size • Set Font • Set Color • Oval1.setColor(Color.ORANGE) • Public void begin (): Starts effects once canvas is opened. Other options include: • onMouseClick • onMousePress/onMouseRelease • onMouseEnter/onMouseExit • onMouseDrag
  • 5. Pong Why? Pong is one of the first classic games to achieve mainstream popularity. The coding of Pong is a fun and enjoyable experience! Design: Pong: The skeleton of the game, it displays the frame and controls the paddles. MovingPongBall: Controls the movement of the pong ball. Challenges: 1.It was difficult to code for the ball to stay within the boundaries and bounce off the paddles. 2.Controlling the direction of the ball and where it would head towards. 3.Having the top paddle be controlled by the mouse keys. 4.Finalizing the game and making sure it runs smoothly without lag.
  • 7. Frustration Why? • The purpose of our game is to frustrate people as much as possible. Design:  Frustration controller(contains methods) Falling tile (contains object animations) Challenges: • Making the original idea a reality • Coding in the correct order
  • 8.
  • 9. HappyKim Why? • It is a very well known game, so we thought it would be fun to recreate it. • We thought it would be simple to work with and to add our own designs and animations. Design: Classes: Controller-contains all the methods Bird- used to control falling ball animation Tubes- used to create the tubes Tubes Controller- used to control the motion of the tubes Challenges: • It was difficult to program the “bird” falling object to jump at specific shifts. • In addition, it was difficult to program the motion of the tubes and to generate random tube heights.
  • 10. Conclusion We would like to give a special Thank You to: Sergio Marin Dr. Maria Tucker Professor Chen Dunmi Alabi