This is a simple program in which little derpy green bacteria overrun your computer screen! Controls: -Click to add how ever many bacteria you want (I would suggest 100 at the start) -Press G to graph the bacteria population -Press space to see data -Press e to turn on and off boundaries -Press "i" to spawn a white blood cell. White blood cells will die if they touch and untouch bacteria 5 times. But there is a catch: They will turn purple and die if they are: 1: touched with the mouse 2: touch the edge of the Stage (Can be toggled on and off with "e") 3: There is a 50% chance they will die if they touch one another, if they didn't reproduce 4: If they die of old age. Bacteria usually live around 25 seconds, if they didn't move and there were no other bacteria. 5: If they touch a white blood cell Have fun! #clones
Thanks to @CrazyMinecart88 for the original! I thought the idea was pretty cool so I made some changes. Changes: -bug fixes - If two bacteria are touching, there is a 1/3 chance they will reproduce. Bacteria will become pink to symbolize the production of another bacteria. - There is a tiny chance that bacteria will get a genetic mutation and become bigger than their normal size. -Bacteria now do not create another bacteria when they spawn, but instead create another bacteria on an average of 6 seconds. -There is initially only one clone now. (So there is a slight chance it will spawn on the edge and die) -Added a feature to manually add bacteria -Added a feature to enable and disable death upon touching edge. -Added a graphing feature -Added a way to show and hide data variables. -Added a way to spawn a white blood cell. Notes: One thing that I've noticed and is particularly interesting is that when you turn off hand sanitizer at the start and let the population grow at a steady pace, then spam white blood cells until the population is around 75, the population will still grow surprisingly fast. Another interesting thing is that if you remove hand sanitizer, the population will grow EXTREMELY fast, faster than you would expect (Population must be at at least 25 for this to happen). I've also noticed some "adaption" to the Hand sanitizer. Maybe it's just a coincidence.