ScratchData LogoScratchData
Back to crkcity's profile

4-way Ecosystem (Goo-Rock-Paper-Scissors)

CRcrkcity•Created January 9, 2022
4-way Ecosystem (Goo-Rock-Paper-Scissors)
37
32
227 views
View on Scratch

Instructions

Goo-rock-paper-scissors ecology: Rock is predator to scisssors: Rocks beats scissors if 2 or more rocks are next to scissors (you can change this threshold with slider). Likewise, scissors is predator to paper. Goo is predator to Rock. Paper is predator to Goo. If 2 or more predators are next to prey, then the predator eats the prey. Rocks (red squares), papers (blue), scissors (green), and goo (orange) are randomly scattered at the start, but soon we see swirls of rocks overtake scissors, scissors overtake paper, paper overtake goo, and goo overtake rock. Try also in turbowarp: https://turbowarp.org/625591613

Description

The most interesting slider setting is 2 predators or more needed to beat neighboring prey. Then try setting the slider to 3: notice this can leave a few lone squares protected and stable, unlike the 3-way rock-paper-scissors. Setting it to 1 doesn't yield much pattern. My previously shared rock-paper-scissors models are cleaner and simpler than this 4-way version. But this model here show that 4 predators can coexist for a long time as well, as in the 3-way version. A few lone individuals can exist for a lon time in rows, because in that configuration they don't outnumber prey, unlike the 3-way RPS.

Project Details

Project ID625591613
CreatedJanuary 9, 2022
Last ModifiedJuly 14, 2023
SharedJuly 13, 2023
Visibilityvisible
CommentsAllowed