After 4 months of programming work, I have nearly finished my first Java program, "Amoeba". It is a variation on the old "life" algorithm, that I came up with years ago, and initially programmed it to run on a language called Amos on the Amiga500. The "Amoeba" starts out blue, and grows onto the black "soil". As it gets stronger, it begins to turn green, before becoming "toxic" and dying. The "Herbivore" hunts out the freshest, greenest Amoeba in its immediate vicinity. The Herbivore is yellow when it is starving, and white when healthy and ready to multiply. You can change various parameters while the simulation is running, including the size of the array, the rate at which the Heribivores lose strength (Metabolism), and the maximum health level of the Amoeba (Toxic Level). It is exceeding CPU-intensive, runs best on processors above 200Mhz only. It features multi-threaded operation, with the status The Java Source Code is available.
|