A computer running conway's game of life. Some tiny shortcuts were made, but not major ones, and the computer mostly is run by simulating the behavior of an actual computer. Best in turbowarp: https://turbowarp.org/994721388?fps=60&stuck&turbo The computer has no ROM directly written in assembly, instead the assembly is simulated with normal codeblocks. (EG: MOV is emulated with the "replace item (item) of list with (other item)" block) Feel free to fix this error, and make the computer run assembly code. It has 10.806 kilobytes of RAM, and a clock speed of roughly 286 HZ on scratch, with a top speed of 13846 HZ when running on turbowarp. The general architecture can be scaled down to a speed of your liking, just rework the constraints it uses when iterating over the board and remove the excess memory. WARNING: Will probably fry school Chromebooks as-is. Once again, use turbowarp. It will *crawl* on normal scratch. And finally, there is tehcnically a board editor..... Pause it with turbowarp and edit the bytes of RAM. This is tag spam, it has no purpose but to boost the chances of people seeing this. vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation #trending #art #animation
Q/A "Why did I make this?" Because I can. "How did I make this?" Unless you are a computer scientist, I really can't explain it to you. "How does it work?" Each byte is 8 bits, bits are either a 1 or a 0. Out of the 10 kilobytes, 5400 bytes are used to store the board state. Every 8 bits in a byte is a cell, every 30 bytes is a line. I simply find the correct bit in the correct byte to check around the cell, hard to do. When starting the simulation, it initializes 5400 random numbers between 0 and 255. Then 5400 bytes which all read 0. That other 5400 bytes store the next board state as it is processed, and then the MOV command which I used as an example, is used to copy the new board data over to the old board state. This process repeats itself forever, and simulates some amazing complex behavior, in fact, this simulation is turing complete. "What does turing complete mean?" It means that this simulation is capable of calculating things. as an example, your computer is turing complete. Things that do useful stuff made from a turing complete thing are called turing machines, a computer is a turing machine. and these cells can be arranged into a computer.