ScratchData LogoScratchData
Back to gregatku's profile

Conway's Life Class Build

GRgregatku•Created June 1, 2019
Conway's Life Class Build
0
0
20 views
View on Scratch

Instructions

Conway's Life Class Build Click the Flag to create the Clones forming the game's cells. Click a Cell to change its state. The [Run/Pause], [Clear], [Reset], [Random] & [Step] buttons' purposes will soon be obvious. Enjoy!

Description

Created by @gregatku for use in Coding Classes for Kids Unlimited. This is the version of "Conway's Life with Clones", that was built by my Advanced Coding class across the course of a whole term. At the end of term I made a few minor changes to it, to make it more like "Conway's Life with Clones", as well as making some changes to that project to make it more like this one. Why? You might well ask. Well it's been doing my head in, "Conway's Life with Clones" in Run mode runs 20-50 times faster than this project does? I can't for the life of me see why? This project should be equally as fast, it makes no sense. Both projects were built this year, using 3.0 so it has nothing to do with one of them maybe having some 2.0 code. It seems that the 300 clones respond super fast to "broadcast" (without wait) messages in "Conway's Life with Clones" but very much more slowly in this project. The only thing I can think of is that "Conway's Life with Clones" was built with an earlier version of Scratch 3.0, and the Class Build project with a later version, where the processing of "broadcast" (without wait) messages got slowed down considerably, in fact so much so that there is virtually no difference between "broadcast" and "broadcast ... and wait" now, as in, maybe they've accidentally introduced bug that renders "broadcast" (without wait) virtually useless now. In fact in this project, I can manually click the "Cycle" custom block in the code repeatedly and make it run faster than the "repeat loop" in Run mode does? That's not right! It was my original intention to have 1200 10x10 pixel cells in a 30x40 grid, but I soon discovered that Scratch has an upper limit of 300 Clones, so sadly it only has 300 20x20 pixel cells in a 15x20 grid. The rules for generating the game's next state are: 1. A Live cell with 2 or 3 neighbours survives 2. Any other Live cell Dies 3. A Dead cell with 3 neighbours is reincarnated

Project Details

Project ID314459800
CreatedJune 1, 2019
Last ModifiedJuly 23, 2021
SharedJune 23, 2019
Visibilityvisible
CommentsAllowed