13
welcome to

Welcome to. Office hours Alexander Repenning: ecot 826, 10am, Tuesdays Clayton Lewis: tbd

  • View
    215

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Welcome to. Office hours  Alexander Repenning: ecot 826, 10am, Tuesdays  Clayton Lewis: tbd

welcome to

Page 2: Welcome to. Office hours  Alexander Repenning: ecot 826, 10am, Tuesdays  Clayton Lewis: tbd

Office hours

Alexander Repenning: ecot 826, 10am, Tuesdays

Clayton Lewis: tbd

Page 3: Welcome to. Office hours  Alexander Repenning: ecot 826, 10am, Tuesdays  Clayton Lewis: tbd

Announcements

If you like to have access to lab: send me email (subject “csci4830”) with your Buff oneCard#

Grad students: if you are interested in an RA position overlapping with education game design types of issues let me know: we can talk a bit more after class

Homework: don’t just upload to GOPR: TEST!

Page 4: Welcome to. Office hours  Alexander Repenning: ecot 826, 10am, Tuesdays  Clayton Lewis: tbd

Objectives

Theory: connecting Learning/Engagement with Flow

Programming: Agent-Based Programming Hands on: exploring & debugging Agents

Page 5: Welcome to. Office hours  Alexander Repenning: ecot 826, 10am, Tuesdays  Clayton Lewis: tbd

Theory: connecting Learning/Engagement

with Flow

Page 6: Welcome to. Office hours  Alexander Repenning: ecot 826, 10am, Tuesdays  Clayton Lewis: tbd

Agent-Based Programming

The ZEN of agent:

you must become the agent

Page 7: Welcome to. Office hours  Alexander Repenning: ecot 826, 10am, Tuesdays  Clayton Lewis: tbd

Example: bubble sort

How to make an agent-based bubble sort?

Page 8: Welcome to. Office hours  Alexander Repenning: ecot 826, 10am, Tuesdays  Clayton Lewis: tbd

Actions & Conditions

You don’t need to make complete programs: try what conditions/actions do using the test button (or drag and drop on Mac)

Use Explain

Page 9: Welcome to. Office hours  Alexander Repenning: ecot 826, 10am, Tuesdays  Clayton Lewis: tbd

Triggers

Invoke methods at specific times

Page 10: Welcome to. Office hours  Alexander Repenning: ecot 826, 10am, Tuesdays  Clayton Lewis: tbd

Methods

A method is a list of rules Rule order is important

Invoke a method spatially via Make action Use Broadcast to trigger methods in agents

anywhere in the worksheet Implemented as method in Java

Page 11: Welcome to. Office hours  Alexander Repenning: ecot 826, 10am, Tuesdays  Clayton Lewis: tbd

Agent attributes

An agent can have any number of attributes Java equivalent: member variables

Use Agent Attributes tool (or ? Tool on Mac) to inspect values

Use <attributename>[<direction>] to spatially access other agents’ attributes E.g., age[left]

~<attributename> to print/say Map action to visualize as color Plot action to … plot

Page 12: Welcome to. Office hours  Alexander Repenning: ecot 826, 10am, Tuesdays  Clayton Lewis: tbd

Simulation Properties

Variables global to entire simulation (including multiple workheets)

Need to use @<propertyname> syntax in formulas

Page 13: Welcome to. Office hours  Alexander Repenning: ecot 826, 10am, Tuesdays  Clayton Lewis: tbd

Art hints

You can use backgrounds: e.g, Fish Bowl Import images

via Google image search Caution: many images will not look when scaled back

Photoshop To make people: use Poser, e.g, Soccer

To make roads, wires, rivers, mazes… use duplication scripts