CS10 The Beauty and Joy of Computing Lecture #25 : Tree Recursion 2010-11-29 The newly released (and much- hyped) Microsoft Kinect system for the XBOX.

Slides:



Advertisements
Similar presentations
What do you want to be? What are you good at? What do you like?
Advertisements

Tic Tac Toe Prototype Following is a prototype of a Tic Tac Toe program. The main goal of the program is to provide quick and simple entertainment. It.
Microsoft® Small Basic Advanced Games Estimated time to complete this lesson: 1 hour.
Tic Tac Toe Architecture CSE 5290 – Artificial Intelligence 06/13/2011 Christopher Hepler.
CS10 The Beauty and Joy of Computing Lecture #22 : Computational Game Theory A 19-year project led by Prof Jonathan Schaeffer, he used dozens.
For the ultimate in entertainment, play with 2 or more people, individually or as a team Players alternate turns Each player picks an “answer” and must.
MATH CLASH Integer Addition Game 1. Player Rules Players must be paired with another person Cards must be evenly divided at the start of the round Players.
CS10 : The Beauty and Joy of Computing Lecture #14 : Computational Game Theory A 19-year project led by Prof Jonathan Schaeffer, he used dozens.
Learning C++ the Fun Way Taesoo Kim Dr. Ramon Lawrence Computer Science.
CS10 The Beauty and Joy of Computing Lecture #7 Algorithmic Complexity One million Wi-Fi devices isn’t cool. You know what’s cool? A Billion.
Everything You Always Wanted To Know about Game Theory* *but were afraid to ask Dan Garcia, UC Berkeley David Ginat, Tel-Aviv University Peter Henderson,
CS10 The Beauty and Joy of Computing Lecture #21 Artificial Intelligence IBM’s Watson is being used by researchers in Canada to “provide early.
CS10 The Beauty and Joy of Computing Lecture #10 Social Implications of Computing Having just returned from the UC Online Pilot Project Workshop,
CS10 The Beauty and Joy of Computing Lecture #11 : Recursion II Microsoft filed a patent that proposed to use the 3D depth camera to estimate.
CS10 The Beauty and Joy of Computing Lecture #22 : Computational Game Theory A 19-year project led by Prof Jonathan Schaeffer, he used dozens.
CS39N The Beauty and Joy of Computing Lecture #4 : Computational Game Theory A 19-year project led by Prof Jonathan Schaeffer, he used dozens.
CHECKMATE! A Brief Introduction to Game Theory Dan Garcia UC Berkeley The World Kasparov.
CHECKMATE! A Brief Introduction to Game Theory Dan Garcia UC Berkeley The World Kasparov.
CS10 The Beauty and Joy of Computing Lecture #1 Welcome; Abstraction At CES 2011 in Vegas, companies showed lots of tablets and internet TV.
CS39N The Beauty and Joy of Computing Lecture #11 Recursion II Researchers at Microsoft, UW and U Toronto have come up with a technique to interact.
CS10 The Beauty and Joy of Computing Lecture #1 Welcome; Abstraction Watch the student testimonials about CS10, what it means to them, and how.
CS10 The Beauty and Joy of Computing Lecture #17 Higher Order Functions I Silicon (normally what processors are made of) is rigid and expensive,
CS39N The Beauty and Joy of Computing Lecture #11 Recursion III It has been a challenge to power electronic components implanted within a body.
CS10 The Beauty and Joy of Computing Lecture #23 : Limits of Computing Thanks to the success of the Kinect, researchers all over the world believe.
CS10 The Beauty and Joy of Computing Lecture #11 : Recursion II Will Apple continue to thrall its users with outstanding technology amidst tons.
The Beauty and Joy of Computing Curriculum and the AP CS: Principles project Brian Harvey, UC Berkeley Dan Garcia, UC Berkeley Jens Mönig, MioSoft.
CS10 : The Beauty and Joy of Computing Lecture #10 Social Implications of Computing CS10 has been chosen as one of 30 courses (all across 10.
The Beauty and Joy of Computing Lecture #6 Algorithms Alan Turing ( ) would have turned 100 this year. He was a brilliant British mathematician.
1 Adversary Search Ref: Chapter 5. 2 Games & A.I. Easy to measure success Easy to represent states Small number of operators Comparison against humans.
Minimax Trees: Utility Evaluation, Tree Evaluation, Pruning CPSC 315 – Programming Studio Spring 2008 Project 2, Lecture 2 Adapted from slides of Yoonsuck.
The Beauty and Joy of Computing Lecture #1 Welcome; Abstraction Watch the student testimonials about the course, what it means to them, and how it has.
Game Playing.
Probability (Grade 12) Daljit Dhaliwal. Sticks and Stones game.
CS10 The Beauty and Joy of Computing Lecture #11 : Recursion II Instructor : Sean Morris Security Flaws in your OS
UC Berkeley EECS Sr Lecturer SOE Dan Garcia printing-aims-to-prevent-a-piracy-plague/ Quest.
150 Students Can’t Be Wrong! GamesCrafters, a Computational Game Theory Undergraduate Research and Development Group at UC Berkeley 12:00-13:00.
The role of data mining in the last presidential election. A mind-blowing piece on how the Obama campaign used various sources of data to target voters.
CS10 The Beauty and Joy of Computing Lecture #1 Welcome; Abstraction The algorithm is rapidly taking over vital functions of businesses, from.
What do you like doing ? I like cooking. What do you like doing ? I like reading.
XBOX Kinect. Features Controller-free gaming means Kinect responds to how you move Once you wave your hand to activate the sensor, your Kinect will.
The Beauty and Joy of Computing Lecture #10 Social Implications of Computing Online education now has a player in the open access / free education space,
What do you want to be? What are you good at? What do you like?
Today’s Topics Playing Deterministic (no Dice, etc) Games –Mini-max –  -  pruning –ML and games? 1997: Computer Chess Player (IBM’s Deep Blue) Beat Human.
The Beauty and Joy of Computing Lecture #6 Algorithms I UC Berkeley EECS Sr Lecturer SOE Dan Garcia.
Winning Strategies of Games Played with Chips. I got a interesting game Now we show the game P 1 =4 P 2 =6 P 3 =8 Rule 1: Two players.
Multiples and Factors. Multiples A multiple is a number that is in the times tables. A multiple is a number that is in the times tables. Multiples of.
The Beauty and Joy of Computing Lecture #23 Limits of Computing Researchers at Facebook and the University of Milan found that the avg # of “friends” separating.
The Beauty and Joy of Computing Lecture #17 Social Implications of Computing III Instructor: Sean Morris Online education now has a player in the open.
“The coolest phones we’ve seen from the world’s largest mobile show so far include quad-core chips, larger screens, and even one with a projector built.
The Beauty and Joy of Computing Lecture #11 Recursion II Toby Shachman created this amazing spatial programming language called “Recursive Drawing” that.
The Beauty and Joy of Computing Lecture #7 Algorithms II minors-delete-activity/story?id= /
The Beauty and Joy of Computing Lecture #12 Social Implications of Computing I Online education now has a player in the open access / free education space,
The Beauty and Joy of Computing Lecture #7 Algorithmic Complexity “Data scientists at Yahoo are using prediction markets – along with polls, sentiment.
UC Berkeley EECS Sr Lecturer SOE Dan Garcia printing-aims-to-prevent-a-piracy-plague/ Quest.
The Beauty and Joy of Computing Lecture #16 Computational Game Theory A 19-year project led by Prof Jonathan Schaeffer, he used dozens (sometimes hundreds)
The Beauty and Joy of Computing Lecture #1 Welcome; Abstraction Watch the student testimonials about the course, what it means to them, and how it has.
UC Berkeley EECS Lecturer SOE Dan Garcia The success of Apple’s Siri (only available on the iPhone 4S) has sparked competition, to be sure. Google’s IRIS.
CS10 The Beauty and Joy of Computing Lecture #4 : Functions UC Berkeley EECS Lecturer SOE Dan Garcia Researchers at Microsoft and UW are working.
UC Berkeley EECS Sr Lecturer SOE Dan Garcia Valve (video game makers of Half-Life) believes the future of video games may not be in the input device (ala.
UC Berkeley EECS Sr Lecturer SOE Dan Garcia
The Beauty and Joy of Computing Lecture #4 Functions
The Beauty and Joy of Computing Lecture #10 Recursion II
STAAR – R2 Force, Motion & Energy
STAAR – R2 Force, Motion & Energy
Tree Diagrams and Mutually Exclusive Events
Click on “Slide Show” and “From Beginning
Homework 2 (June 6) Material covered: Episodes 3 and 4        
Goal Space Parts Rules Mechanics Space – Where the game takes place
Jeopardy.
Presentation transcript:

CS10 The Beauty and Joy of Computing Lecture #25 : Tree Recursion The newly released (and much- hyped) Microsoft Kinect system for the XBOX 360 used controller-free body motions to control games, music, and movies. UC Berkeley EECS Lecturer SOE Dan Garcia xbox.com/kinect/

UC Berkeley CS10 “The Beauty and Joy of Computing” : Tree Recursion (2) Garcia, Fall 2010 Review: What’s in a Strong Solution  For every position  Assuming alternating play  Value … (for player whose turn it is) Winning (  losing child) Losing (All children winning) Tieing (!  losing child, but  tieing child) Drawing (can’t force a win or be forced to lose)  Remoteness  How long before game ends? W L L WWW W T WWW T D WWW D W

UC Berkeley CS10 “The Beauty and Joy of Computing” : Tree Recursion (3) Garcia, Fall 2010 Review : Example: 1,2,…,10  Rules (on your turn):  Running total = 0  Rules (on your turn):  Add 1 or 2 to running total  Goal  Be the FIRST to get to 10  Example  Ana: “2 to make it 2”  Bob: “1 to make it 3”  Ana: “2 to make it 5”  Bob: “2 to make it 7”  photo  Ana: “1 to make it 8”  Bob: “2 to make it 10” I WIN! 7 ducks (out of 10)

UC Berkeley CS10 “The Beauty and Joy of Computing” : Tree Recursion (4) Garcia, Fall 2010  0 = Win  1 = Lose  2 = Win  3 = Win  4 = Lose  5 = Win  6 = Win  7 = Lose  8 = Win  9 = Win  10 = Lose  P = Position  M = Move  We only need 3 blocks to define a game  Do Move M on Position P   a new Position  Generate Moves from Position P   list of Moves  Primitive Value of Position P   {win, lose, tie, undecided}  Let’s write Value of Position P Let’s write code to determine value!

UC Berkeley CS10 “The Beauty and Joy of Computing” : Tree Recursion (5) Garcia, Fall 2010 Answer