S S S S erious Games erious Games erious Games erious Games + - - PDF document

s s s s erious games erious games erious games erious
SMART_READER_LITE
LIVE PREVIEW

S S S S erious Games erious Games erious Games erious Games + - - PDF document

1 S erious Games + Computer S cience = S erious CS K.Becker & J.R.Parker S S S S erious Games erious Games erious Games erious Games + Computer S + Computer S + Computer S + Computer S cience cience cience cience = S = S


slide-1
SLIDE 1

1

1

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

S erious Games S erious Games + Computer S cience + Computer S cience = S erious CS = S erious CS S erious Games S erious Games + Computer S cience + Computer S cience = S erious CS = S erious CS

This session focuses on how games can fit into a CS

2

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

Katrin Becker / J.R.Parker University of Calgary October 2007

This session focuses on how games can fit into a CS curriculum at various levels and in various ways.

slide-2
SLIDE 2

2

Why? Why?

Enrollment Engagement Motivation C ti Connection Learner-Centered Applied Real-World Contexts

3

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

Contexts S tart where learners are

Ready, Set, GO!! Ready, Set, GO!!

Games as Assignments - Year 1 A Game Programming Course Computer S cience and Arts Collaborative Efforts

4

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

slide-3
SLIDE 3

3

Games as Assignments - Year 1

5

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

Vampire: The Masquerade

Use of Classic Arcade Games

  • S

tudents understand the problem

  • Recognizable

cultural obj ects

6

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

  • Classic games make

use of older and simple technology

  • Known Rules
  • Exemplars exist
slide-4
SLIDE 4

4

Assignments

S tandard S et: 1. Read percentage grades and print Game-based Assignment S et: 1. An implementation of a simple p g g p corresponding letter grades. 2. Create a class that represents a point in a two dimensional Cartesian coordinate system. 3. Create subclasses shape, rectangle, circle, and test from the point class defined in assignment 2. b d l l p p calculator (no classes). 2. First class - integrate a BigNum class into the calculator. 3. Write an ACS II-graphics version of the Four S easons S

  • litaire game.

7

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

4. S wing-based mortgage calculator. 5. Simulate a greenhouse. Has sensors and effectors, uses threads and a simple GUI. 4. Design and write a recursive parser for expressions. 5. Design and implement an AS CII- graphics, turn-based version of the Centipede arcade game.

Games Vs Other Assignments

(N) Number of Tokens (v) Vocabulary (L) Length ( ) g (LOC) Lines of Code (E) Effort (TC) Time to Code (CC) Cyclomatic complexity [-]

8

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

slide-5
SLIDE 5

5

n1 = the number of distinct operators n2 = the number of distinct operands N1 = the total number of operators N2 = the total number of operands

N: This is a measure of program length in terms of the number of tokens used 9

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

in terms of the number of tokens used by the program. It is calculated as N = N1 + N2 Length: The length is a relationship between the token length N and the vocabulary n. It is defined as: N = n1 log(n1) + n2 log(n2) Vocabulary: This is the number of distinct symbols used in the definition of the program. It is defined as: n = n1 + n2

Programming Effort

(Halstead measure)

E = V/PL

where the symbol V represents a quantity named program volume, an estimate of the volume of information required to specify a software program; and the symbol PL is the program level, a measure of the relation between the volumes of the most compact representation and the actual program.

PL = 1 / (( n1 / 2 ) * ( N2 / n2 )) (( ) ( )) V= N * (LOG2 n)

Time to Code: This is an estimate of how long it would

generally take to write the program. This measure correlates very well with the actual measured time to write programs, and is also an established measure of program difficulty or effort needed to write a particular program. Thi i f i f h i l F

10

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

This measure is a funct ion of t he programming language use. For Fortran, the programming time T is computed as

T = E/K

where the constant K depends on the language. For the Java language the constant 0.9 was used; this was estimated by computing the effort for a sample set of programs for which the programming time was known.

http://www.minkhollow.ca/KB/Papers/233asg-paper1.fm.pdf

slide-6
SLIDE 6

6

A Game Programming Course

CPS C 585 [4th year capstone]

11

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

Crash of the Titans

Course Outline

  • Block Week

classes, 9-5

  • Term

proj ect

  • S

ite visit

  • driving game
  • 5-person

teams N i

  • Final demos

12

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

  • No engines
  • Access to

Maya, assets

Crash of the Titans

slide-7
SLIDE 7

7

Driving & Racing Games

  • Representative sound graphics play
  • Representative sound, graphics, play
  • Graphics can be simple
  • No need for complex character

animation

  • No need for complex obj ects (like

)

13

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

trees)

  • Can be done in one semester
  • Physics is challenging

The Result

14

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

slide-8
SLIDE 8

8

15

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

Ocean Quest 16

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

Ocean Quest

slide-9
SLIDE 9

9

17

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

Ocean Quest

Computer S cience and Arts ts

18

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

slide-10
SLIDE 10

10

j oint CS / Drama 2 campuses

High S chool Physics Rural / remote learners. Low motivation S mall schools 19

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

Elder Scrolls IV: Oblivion

Collaborative Efforts

20

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

slide-11
SLIDE 11

11

21

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

The Orphans of Galileo Island

CPS C 701.03 CPS C 701.03 S erious Games S erious Games

http:/ / www.ucalgary.ca/ ~j parker/ cs70103/

  • http:/ / canadianpress.google.com/ article/ ALeqM5hZGBS

4N3qOP9UIFCLRBo7gQUVOfQ

  • http:/ / www.cbc.ca/ cp/ technology/ 071002/ z100215A.html
  • http:/ / technology.canoe.ca/ 2007/ 10/ 02/ 4544282-cp.html

h h 00 l h b l

22

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

  • http:/ / ca.news.yahoo.com/ s/ reuters/ 071005/ tecnology/ tech_boozecruise_col
  • http:/ / dailygleaner.canadaeast.com/ liveit/ article/ 88960
  • http:/ / www.ctv.ca/ servlet/ ArticleNews/ print/ CTVNews/ 20071003/ video_game_071003/ 20071003/

? hub=S ciTech&subhub=PrintS tory

  • http:/ / www.theglobeandmail.com/ servlet/ Page/ document/ video/ vs?

id=RTGAM.20071003.wvvideod runk1003

  • http:/ / www.scienceblog.com/ cms/ booze-cruise-driving-game-serious-drinking-problem-14372.html
  • http:/ / www.stltoday.com/ blogs/ entertainment-the-game-guy/ 2007/ 10/ drunk-driving-game-tries-

to-teach-teens-import ant-lessons/ print/

slide-12
SLIDE 12

12

23

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

Booze Cruise 24

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

Booze Cruise

slide-13
SLIDE 13

13

25

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

Booze Cruise 26

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

Booze Cruise

slide-14
SLIDE 14

14

Thanks!! Thanks!!

Game Images courtesy of:

Official Game S ites (images are identified by game) Fan Art Mobygames.com Gamespot.com

27

K.Becker & J.R.Parker

S erious Games + Computer S cience = S erious CS

Gamespot.com IGN.com JRParker & His Students