| Minutes | You do | Class hears |
|---|---|---|
| ~30 sec | Open the map · name your theme | “This is my ____ island because…” |
| ~1 min | Tour the scene | Buildings, roads, props, sky — what you added |
| ~2 min | Trigger your events live | Click / hover / keys — Fire → Listen → Handle |
| ~1 min | Colors + one proud detail | Why those hexes · favorite addition |
| ~30 sec | Point to README / repo | My Modifications · commits exist |
main.js listens with ____ (LISTEN),
events.js runs ____ (HANDLE),
and we see ____ on the island.| Feature | Event | Listener file | Handler | Visible result |
|---|---|---|---|---|
| Select building | click | main.js | onClick | Gold + water/grass |
| Hover preview | mousemove + loop | main.js | updateHover | Highlight color |
| Reset | keydown R | main.js | onKeyDown | Colors / HUD reset |
| Night mode | keydown B | main.js | toggleNightMode | Sky + sun/moon |
| Your feature | ____ | ____ | ____ | ____ |
0xfbbf24.”animate() if birds fly.index.html opens, Three.js loadsonClick fires → highlightSurroundings → gold + water change.”keydown → toggleNightMode → sky darkens and the moon appears.”| Requirement | What we look for in the live demo |
|---|---|
| Baseline works | Click / hover / R still function on stage |
| New or changed event | You trigger it live and name Fire → Listen → Handle |
| Visible color change | We can see it; you say why |
| 2+ menu / creative ideas | Map tour shows more than one personal touch |
| README + commits | You can open or cite My Modifications |
| In-class demo | This presentation day |
/teaching/pf-102 · Midterm coverage.