Computer Science Jan 2011 Robot Game. Introduction to Robot Arcade game Collect all of the items while avoiding the enemy (robot) Objectives More extensive.

Slides:



Advertisements
Similar presentations
Summer Computing Workshop. Introduction to Variables Variables are used in every aspect of programming. They are used to store data the programmer needs.
Advertisements

TOMORROW: Test + Irony packet due TODAY: World café ~
Program Transformations to Remove Integer-Handling Vulnerabilities in C Programs Zack Coker, Munawar Hafiz
02 | Expanding Your Game James Quick | Technical Evangelist Shahed Chowdhuri | Senior Technical Evangelist.
CS 206 Introduction to Computer Science II 03 / 04 / 2009 Instructor: Michael Eckmann.
By Tricia Sharkey C.A.S.E. Assistive Technology Introduction to Boardmaker Plus!
Top-Down Design CSC 161: The Art of Programming Prof. Henry Kautz 9/16/2009.
Use logic to teach the computer how to play a game
Introduction to TouchDevelop
Multimedia Authoring 2 Els Rogier. Introduction A game the environment is a maze-like room single-player intelligent robots.
INTRODUCTION TO SCRATCH. About Me Resources Scratch Website Learn Scratch Washington-Lee Computer.
Every week: Sign in at the door If you are new: Fill in Registration Form Ask a Mentor how to get started Make sure you are on the Athenry Parents/Kids.
CSCI 101 Introduction to Software Development and Design.
Aquaphobia Aaron Crutchfield. Why I Made This Game.
CSE 380 – Computer Game Programming AI & Collision Strategy Erin Catto’s Box2D.
Creative Commons Attribution 3.0 creativecommons.org/licenses/by/3.0 Key Abstractions in Game Maker Foundations of Interactive Game Design Prof. Jim Whitehead.
M1G Introduction to Programming 2 4. Enhancing a class:Room.
Lists. Lists store information in a certain order. You can add, remove, or rearrange items in a list. You can also pick out information from a list.
CSU 670 Review Fall Software Development Application area: robotic games based on combinatorial maximization problems. Software development is about.
By: Mike Astarb, Christine Miller, George Sewell, Bobby Mclaughlan.
CATCH SCRATCH! Programming from Scratch. Remember Scratch?
Final Presentation – CS 425 Aaron O'Banion Todd Astroth Chris Cobb Matt Stowe Mark Williams.
The Design Document The Design Document Introduction Game Mechanics Artificial Intelligence Characters, Items, and Objects/Mechanisms Story.
Class Usability Experience User slides are in BLUE.
Python Programming Using Variables and input. Objectives We’re learning to build functions and to use inputs and outputs. Outcomes Build a function Use.
Kevin Clow: Artificial Intelligence Programmer Level Designer 3D modeler Matthew Vaughan: Project Manager Graphical User Interface Programmer Audio Programmer.
ENGR-TS-2: The students will develop an understanding of how the design process is used to develop a technological system.
Using Lists Games Programming in Scratch. Games Programming in Scratch Extension – Using Lists Learning Objectives Create a temporary data store (list)
Variables and Random Numbers Computer App Session 4.
CompSci Introduction to Jam’s Video Game Package.
Marble Racer. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions.
Random Numbers Random numbers are extremely useful: especially for games, and also for calculating experimental probabilities. Formula for generating random.
CompSci 44.1 Game Package Introduction to Jam’s Video Game Package.
What’s in a Game? Your Game! Based On: “Tutorial: What is a good game? By Mark Overmars Your Game! Based On: “Tutorial: What is a good game? By Mark Overmars.
Scratch for Interactivity Dr. Ben Schafer Department of Computer Science University of Northern Iowa.
University Learning in Schools Computing Games Programming Lesson 5.
Randomising the behaviour of Sprites Games Programming in Scratch.
StarLogoTNG 101 Treasure Hunt Game Unit Wrap Up. Today’s Agenda Review Mini-lesson and programming practice on set camera and ID Finish making the treasure.
Lives and Scoring Games Programming in Scratch. Games Programming in Scratch L2 Lives and Scoring Learning Objectives Define a variable Understand the.
Sprite sets. project of the week: bubble popper o objects appear from the bottom and slide up o player needs to avoid objects to earn points (objects.
DAY 4. MAKING SOMETHING ‘JUMP’ Simple! Move it a certain amount ‘up’ Glide back to your original spot.
How are computer games designed?. Scratch game from scratch Introduction to the project.
Kodu Tinkering. Today we are learning about: Kodu & Tinkering ●I can explore Kodu for myself.
Intro CS – Costumes and Variables
Scratch Helicopter Game
More (C#) Scripting Day 2, Lesson 1.
Scratch 7B IT1.
MATHS 24 MATHS MATHS 24 MATHS 24 GAME RULES:
Exploring Computer Science Lesson 4-13
Thursday, March 30, 2017 Day 2 Agenda Science Notebook
Poster Directions The purpose of the poster is to showcase your favorite game you wrote this week. Choose your favorite game. Use blank notebook paper.
IF statements.
Diamond Hunt Mock Programming Project.
Chapter 16 – Programming your App’s Memory
2D Game Pitch Cave Explorer (FINAL)
Sensing and Variables.
And and or…and RANDOMNESS
Exploring Computer Science Lesson 4-11
YEAR 7 PROGRAMMING SCRATCH & E-SAFETY UNIT WRAPPER
Lesson Objectives To understand how to make sprites interact
Explain what touch develop is to your students:
Exploring Computer Science Lesson 4-13
Flappy bird Demo: Lesson 5 Flappy bird Demo:
Explain what touch develop is to your students:
Game Over Module 4 Lesson 2.
Computer Science 1 Dice Project.
Sensing and Variables.
Hint idea 2 Split into shorter tasks like this.
Detecting collisions Susan Ibach | Technical Evangelist
Presentation transcript:

Computer Science Jan 2011 Robot Game

Introduction to Robot Arcade game Collect all of the items while avoiding the enemy (robot) Objectives More extensive planning and coding than Pong Build an “intelligent” computer player Create, track and remove multiple items Introduce game-play extensions

Core requirements Movable player “sprite” Wrap at edges of screen Create ‘robot’ that follows the player Robot wins if it catches the player Create 5-10 items that player must collect Player wins when all items are collected

Demo starting code

Demo final version

Core requirements: player Movable player “sprite” that wrap at edges of screen 1. What is the ‘player’ object in the Catch code? 2. What directions does it move in (a) Catch and (b) Robot? 3. Where is screen width/height used (3 places each)? Why might we want to replace these with a variable expression? 4. What does ‘wrapping’ mean? How might we achieve this?

Core requirements: robot Create ‘robot’ that follows the player 5. Which object can be converted to the robot? 6. What determines the robot’s direction on each step? 7. Highlight code you don’t need in Robot. 8. How can you tell if the robot catches the player? 9. What should the user see when this happens?

Core requirements: items Create 5-10 items that the player must collect 9. How and where do we create the items? 10. What information do we need to store for each item? 11. How can we detect when an item is collected? 12. How do we prevent an item from being collected twice? 13. How do we track when all of the items have been collected?

Coding Robot Hand in your code analysis sheets Write the robot game, even if you haven’t finished Pong Requirements are listed on the ‘Robot game’ page Plan how to address difficult requirements If you complete it early: Advanced features are listed on the page Add your own features to the game

Grading rubric ReqDescriptionPoints 1Player sprite must be able to move in four directions using the keyboard5 2The player sprite wraps at the edges of the screen collectable items (coins) are created and placed onscreen10 4Items are removed once the player ‘collects’ them10 5A robot sprite follows the player around the screen20 6If the player collides with the robot, then the player loses (and the game ends)5 7If the player collects all the items, then the player wins (and the game ends)10 8Code legibility (meaningful variable names and code comments)10 9Code parsimony (no redundant or convoluted code)10 Completed on time10 Total100

Extension rubric ReqDescriptionPoints 1Teleport5 2Warping10 3Special Freeze Item10 4Multiple rounds with variable difficulty10