Creators Game Title Finished Link Revised Link Press Kit
Brittany Connect 4 Rough Final https://www.notion.so/CONNECT-4-02d1cb5f2d14427299a0b9b34632e599
Winnie Lost stars https://editor.p5js.org/zhaiy053/full/WZj1wJ1DZ https://editor.p5js.org/zhaiy053/full/2t13ROCSs
An Kong Teamwork Makes Dream Work https://editor.p5js.org/konga581/full/56A2PUcd0 https://editor.p5js.org/konga581/full/CTGWh3UU5 Teamwork Makes Dream Work Press Kit
Jessie CMYK https://jessiejessje.github.io/cmyk/draft/ https://jessiejessje.github.io/cmyk/final/ Press Kit
Kevin Let’s Draw Together https://huaigulin.github.io/collaborative_draw/ https://huaigulin.github.io/collaborative_draw/ Let’s Draw Together Press Kit
Beatriz + Hyacinth Dream Makers https://b3aribeiro.itch.io/dream-makers https://b3aribeiro.itch.io/dream-makers Dream Makers Press Kit
Malin Spiral Draw https://malin888.github.io/spiral_draw/ https://malin888.github.io/spiral_draw/2/ https://www.notion.so/Game-A-Spiral-Draw-f253f7355ced4574b31a96e418e3060d
Tong Matrix Factory https://editor.p5js.org/ShaoT-Hugh/full/uJ7CKefwA https://shaot-hugh.github.io/My-Portfolio-Website/Matrix Factory/index.html Matrix Factory Press Kit
Apurv + Tanvi battleship https://rayateapurv.github.io/q-battleship/ Game Link Press Kit
Joan Brothers and Sea https://editor.p5js.org/Jingwen_Zhang/full/ORcdLvdgh https://editor.p5js.org/Jingwen_Zhang/full/ORcdLvdgh https://www.notion.so/Game-A-b129ff16ef0b48ebaabff8ad7730c8e6

MPGaH III

Remember:

A conflict happens when multiple clients write to the same shared object at “the same time” so that's what you need to avoid.

You won’t have a conflict when:

Pattern: Events

Rather than communicating with a shared object, broadcast an event message to all clients in the room when something of interest occurs. p5.party supports this pattern with the partyEmit() and partySubscribe() functions.

Event messages can be used to communicate something happened (the user pressed “space”) or something should happen (a bullet should be fired).

Event messages always have a name which describes the type of event (e.g. “playSound”, “shoot”).

Event messages may also include some data (e.g. "beep", {x: 10, y: 10})

Unlike shared data objects, event messages are transient. There is no record of past events, their data is not stored, and clients that join after an event is sent will not receive them.

Use partySubscribe() to indicate that you want to receive messages that have a matching name and to specify what function handles the event. Usually you will call partySubscribe() once for each type of message you want to receive in the setup().

Use partyEmit() to create and broadcast a new event message.