CASCON 2007 Workshop Presentation 1 USING THE BOARD TO CREATE (INTERESTING, USEFUL, EXTENDIBLE...) GAMES Troy Vasiga 02/06/20 Lecturer, Cheriton School of Computer Science University of Waterloo Outline 2
What makes an assignment good? Introduction and overview of Board class Motivation Simple animations and extensions Dealing with clicks and lines Larger scale projects Summary CASCON 2007 Workshop Presentation 02/06/20 3
What makes an assignment good? Assignments should be: Interesting Approachable (for beginning students) Extendible (for higher level students) Useful Related to the curriculum CASCON 2007 Workshop Presentation 02/06/20
Board overview 4 Create one dimensional and two dimensional Boards of arbitrary (discrete) size Boards allow us to put pegs (of virtually any colour) and remove pegs
Boards allow us to place lines between any two positions and remove lines Boards allow messages to be printed Boards allow us to obtain their size Boards allow mouse clicks to be obtained from each position See handout: BoardReference.pdf CASCON 2007 Workshop Presentation 02/06/20 My motivation 5 CASCON 2007 Workshop Presentation 02/06/20 Pong 6
9 All these games have Low-resolution (good for the board) Discrete motion Simple animation involving a moving ball Simple animation involving a blocker/ bouncer CASCON 2007 Workshop Presentation 02/06/20
Simple Animation 10 This program should be accessible to all students Deals only with method calls No if statements No loops
Specification: create a one-dimensional board of size 5. Have a black peg move across from left to right as if it was moving. It should disappear at the end. Enhancements: Have it loop Have it bounce back and forth CASCON 2007 Workshop Presentation 02/06/20 More extensions 11
Instead of simply bouncing, lets have the animation do something more complicated, like go in a spiral. A static version is shown here: spiral.pdf Note the ability for students at various levels to approach this problem: Simple lines Static points Dynamic animation CASCON 2007 Workshop Presentation 02/06/20 12
Getting a grasp on clicks and lines To begin, we will get a grasp on clicks This will be the input mechanism to move the bouncer A nice warm up exercise: linedraw.pdf Simple loop, no if statements, very few variables CASCON 2007 Workshop Presentation
02/06/20 Simple bouncer 13 Lets create the bouncer It should move along the bottom of a given board A click to the right of the bouncer should move it to the right. A click to the left of the bouncer should move it to the left.
CASCON 2007 Workshop Presentation 02/06/20 Larger scale projects 14 Flipper: flipper.pdf Checkers Chess (colours can be different pieces: messages can indicates which pieces are being moved) Mario-type game
CASCON 2007 Workshop Presentation 02/06/20 Summary 15 The Board offers lots of benefit Little overhead (compared to other
graphics libraries in Java) Discrete, integer based model Easy to create animation Accessible to students of all ability (easy to partition assignments into approachable levels) Free CASCON 2007 Workshop Presentation 02/06/20
It is composed primarily of calcium carbonate. Determine if the following rock samples are foliated or non-foliated: Amphibolite Quartzite Phyllite Foliated Be sure to complete your "Types of Rocks" notes as you view this presentation.
Université en Ligne, UeL Nicole BERNARD La place de l'Autoformation et de l'Enseignement Médiatisé dans le supérieur 2007 ... masse de ressources Cdroms, en ligne (intranet, internet) Initiative des enseignants sur le campus hors campus pédagogiques Initiative des étudiants ...
Mobile Phone Timeline. First Clamshell (Flip) phone was the Motorola Star TAC it also had first ever display for numbers and was available in 1996 it cost $1000. This Nokia 5110 (1998) was the most successful model at the time...
Description of interview process & reports . Interrater agreement . ... Next steps . Rationale . 171 of 295 Washington school districts reported implementing RTI in 2010. Unknown implementation quality . Unclear implementation metric in prior evaluation of RTI pilot...
Determination of Pregnancy Presumptive Signs Amenorrhea Nausea and vomiting Frequent urination Breast changes Changes in shape of the abdomen Quickening Skin changes Chadwick's sign Determination of Pregnancy Probable Signs Changes in the Reproductive Organs Hegar's sign Goodell's sign Ballottement Positive...
The Evolution of Queer Representation in the young adult genre. By John W. Goldsmith. Advisor: Dr. Henry Hughes. Acknowledgements. I wish to express sincere gratitude to my thesis adviser, Dr. Henry Hughes. His patience and diligence helped make this project...
ANCIENT ROME Purpose of the Arena How was the purpose of the arena similar to the purpose of the hunger games? The purpose was to punish people for there crimes though the biggest part of it was for entertainment many...
Ready to download the document? Go ahead and hit continue!