Download - Welcome to. Office hours Alexander Repenning: ecot 826, 10am, Tuesdays Clayton Lewis: tbd
![Page 1: Welcome to. Office hours Alexander Repenning: ecot 826, 10am, Tuesdays Clayton Lewis: tbd](https://reader035.vdocuments.us/reader035/viewer/2022081516/56649d4c5503460f94a2ac2b/html5/thumbnails/1.jpg)
welcome to
![Page 2: Welcome to. Office hours Alexander Repenning: ecot 826, 10am, Tuesdays Clayton Lewis: tbd](https://reader035.vdocuments.us/reader035/viewer/2022081516/56649d4c5503460f94a2ac2b/html5/thumbnails/2.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022081516/56649d4c5503460f94a2ac2b/html5/thumbnails/3.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022081516/56649d4c5503460f94a2ac2b/html5/thumbnails/4.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022081516/56649d4c5503460f94a2ac2b/html5/thumbnails/5.jpg)
Theory: connecting Learning/Engagement
with Flow
![Page 6: Welcome to. Office hours Alexander Repenning: ecot 826, 10am, Tuesdays Clayton Lewis: tbd](https://reader035.vdocuments.us/reader035/viewer/2022081516/56649d4c5503460f94a2ac2b/html5/thumbnails/6.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022081516/56649d4c5503460f94a2ac2b/html5/thumbnails/7.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022081516/56649d4c5503460f94a2ac2b/html5/thumbnails/8.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022081516/56649d4c5503460f94a2ac2b/html5/thumbnails/9.jpg)
Triggers
Invoke methods at specific times
![Page 10: Welcome to. Office hours Alexander Repenning: ecot 826, 10am, Tuesdays Clayton Lewis: tbd](https://reader035.vdocuments.us/reader035/viewer/2022081516/56649d4c5503460f94a2ac2b/html5/thumbnails/10.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022081516/56649d4c5503460f94a2ac2b/html5/thumbnails/11.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022081516/56649d4c5503460f94a2ac2b/html5/thumbnails/12.jpg)
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](https://reader035.vdocuments.us/reader035/viewer/2022081516/56649d4c5503460f94a2ac2b/html5/thumbnails/13.jpg)
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