Infection Board Simulation

A Demo Simulation where there is a 15 x 9 board with blocks inside, green blocks represent a healthy human being and the red blocks represent a infected human being, when the simulation starts ( once you join ) every line in the board there will be a random infected person and this infected person will infect others in his area

You can try this simulation here : Infection Board - Roblox

6 Likes

Why is the screen so flashy in the video? It might just be my pc, but something is either wrong with your game or recording software.

2 Likes

I don’t see any flashes while watching it?

5 Likes

Ok, then it’s just me. The game isn’t much right now. The only functional thing is the board. Did you used Conway’s life algorithm of some other kind of algorithm to make this because it seems a bit random at first, but then actually looks like it’s spreading.

2 Likes

this game isn’t much because it’s just a simulation you aren’t controlling anything and the infection is random, the infected person spreads it to the next cells / near cells

2 Likes

I see… What kind of algorithm did you use with spreading? Did you program in random immunity to the infection in certain squares? I am so curious into how this works and what features were implemented. You could use this to make a Plague Inc. style game.

1 Like

Okay so this is how it works
every healthy block in the line has a 1 out of 9 chance getting infected when a block gets infected next thing happens is it’s either gonna infect the next cell infront of it or it’s gonna infect the cell behind it or both or it’s gonna infect the cells that are next to it or it will do all of that at the same time which is a hard chance , so the infection is based on chances

1 Like

It isn’t random, this is different, he probably used a lot of raycasting. Test it out for yourself, if it was random, it would look much more different than this.

2 Likes

The start definitely looks random, but that makes sense. It is pretty cool, but it could be more in-depth, such as immunity determined at the start or recovery which gives immunity, or even death. You could upscale this and use it to simulate all sorts of things. It would be even better if you added a UI so you can set the infectivity or, if you add immunity, mutation chance, which negate immunity most of the time. You might even be able to do this using Conway’s algorithm.

1 Like

That’s not actually flashing that’s recording quality

2 Likes

I know. The video is super glitchy. I have never actually seen a video glitch out like that.

2 Likes

About that, the recording was 16 mb so i had to reduce the performance alot to upload the video

1 Like

Well it isn’t raycasting but it works in a similar way.

1 Like

yeah it can be more in depth with immunity system and recovery rate and death, it’s good for the simulation

1 Like