22
Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom Examples Quest for Effective Classroom Examples Peter van Emde Boas ILLC-WINS-Univ. of Amsterdam © Micro Prose

Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

  • View
    224

  • Download
    3

Embed Size (px)

Citation preview

Page 1: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

Games in the Classroom

Workshop OOPSLA’99 #2Denver Colorado; 19991101

Quest for Effective Classroom ExamplesQuest for Effective Classroom Examples

Peter van Emde BoasILLC-WINS-Univ. of Amsterdam

© Micro Prose

Page 2: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

Traditional Examples

• Business

• Hospitals

• Libraries

Boring / UninspiringTrivialFalse Feeling of Simplicity; Real Modeling Tasks never will be so easy....

Page 3: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

Traditional Examples

© C.J. Date; Introduction to Database Systems; 6th edition

We All Know whatWe All Know whatBusiness is ReallyBusiness is ReallyAbout.....About.....

Suppliers & PartsDatabase

Page 4: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

(Computer) Games

© Micro Prose

© Blizzard Entertainment

© Games Workshop

© 3D0 Company

Page 5: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

(Computer) Games• Strategic Games• Management• Competition• Combat• Characteristics:

– Turn Based / Real Time– Modern / History / Phantasy / SF– Grid Based World / Continuous– Atomic Combat / Subgames

Page 6: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

Advantages

• Non-Trivial & Inspiring (otherwise the game wouldn’t sell)

• Definite Universe of Discourse(it is all in the program)

• Familiarity• Scales to Object Modelling• Information Extraction• Politically Correct ???!

Page 7: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

Specific Topics

• The Gap between Tables in Documentation and the RDMS Model

• The impact of Leonardo’s Workshop on the Class Hierarchy

• The tree of Knowledge: easy and hard Algorithmic Problems

• Object Identity in Alien Worlds

The first three examples involve Civilization II ; the final one involves Dark Castle.

Page 8: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

Covers History from 4000 BC to the Space Age

Target: World Domination and/or Victory in Space Race

Management issues: Growth, Happiness, DefenseConquest, Diplomacy, Production, Research,Expansion, Development.

Basics: Land squares, Food, Shields, Money, CitiesAdvances, Improvements, Units, Wonders....

Turn Based / Real TimeModern / History / Phantasy / SFGrid Based World / ContinuousAtomic Combat / Subgames

Page 9: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

Page 10: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

Page 11: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

Page 12: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

Terrain Characteristics

Special Resources

Basic Properties

© Micro Prose

© Micro Prose

Page 13: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

Special Resources

Icons in Domain?

Set valued Attribute ?

A Table is a Table ?

Which Domain?

Null Values ?Converse topos. sp. res. ?

Basic Properties

© Micro Prose

© Micro Prose

Page 14: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

Units in Civ II

Special Features =Presence of Methods!© Micro Prose

Page 15: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

Class HierarchyBuildable

Building

Unit

Capitalization

Improvement Wonder

Attack Naval

DefenseBuild/Dev.

Diplomacy

MusketeersPikemen

Air

Page 16: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

Leonardo’s Workshop

Pikemen can become Musketeers !Pikemen can become Musketeers !

Page 17: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

Obsolescence units made obsolete

upgrades by Leonardo

Page 18: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

Class Hierarchy ?Buildable

Building

Unit

Capitalization

Improvement Wonder

Attack Naval

DefenseBuild/Dev.

Diplomacy

MusketeersPikemen

Air

Page 19: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

The Tree of Knowledge

Dependencies betweenCivilization Advances

Backward Edges / Implicit Edges

TASK: Design Nice Lay-out!

Stratification: Easy (Topological Sort)

Few Crossings: Hard(likely to be NP-hard)

© Micro Prose

Page 20: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

Identity Crisis in Dark Castle

© Delta Tao

Page 21: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

Identity Crisis in Dark Castle

© Delta Tao

How Often can you Kill the Same Rat or Bat ???How Often can you Kill the Same Rat or Bat ???

Rats are killed but re-appearBats are killed but re-appearRobots are knocked down andstand-up again. Later in the game they are destroyed....

You return to the same Dungeon, yet the keys are ondifferent pegs. You must knockdown the same Henchmen toget the keys......

Alien IdentityAlien Identity ConditionsConditions

Page 22: Peter van Emde Boas: Games in the Classroom; OOPSLA’99 Games in the Classroom Workshop OOPSLA’99 #2 Denver Colorado; 19991101 Quest for Effective Classroom

Peter van Emde Boas: Games in the Classroom; OOPSLA’99

Conclusions• All examples were used for a Classical

Relational Database Course

• Behavioral Aspects seem Attractive to OO courses as well.

• Alternative types of Games (tabletop, real-time, continuous world, flight simulators ....)

• Attractive examples for females and minorities must be found.