? Game of Life Simulator ● SmileBASIC Source

Sign In

Register
*Usernames are case-sensitive
Forgot my password
Creep into the Halloween / Horror Programming Contest (Deadline Extended)

Game of Life Simulator

Submitted
Updated
Author
12Me21
Public Key
4224DE4E
Min. Compat.
All
Size
1.38 KB
Rating
6 votes
Description Simulate all variants of Conway's Game of Life. Instructions Edit the code to change the rule. You can also change the size of the simulation area.
Categories
Keywords
14 Comment(s) Mr_Mo Mr_Mo Reading I like to read books! Hobbies Video Games I like to play video games! Hobbies Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself B123/S1234 -let this run for a while, It likes to make lines! Simeon Simeon Scholar Received for knowing a great deal about programming topics Achievements Amazing Page Hidden Achievements Drawing I like to draw! Hobbies Wow cool, it runs really fast Next you should allow the player to interact with it mia mia Night Person I like the quiet night and sleep late. Express Yourself Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Video Games I like to play video games! Hobbies Shouldn't this have the simulation category? Also, I read a description in the comments. ...Is that even a ... "game?" Lumage Lumage Head Admin Day Person I like the warm sunshine and wake up early! Express Yourself Gardening I like to garden! Hobbies Touhou Project Is Awesome! I love Touhou Project! Express Yourself The "Life Simulation" category is for programs that are simulations of aspects of human life. mia mia Night Person I like the quiet night and sleep late. Express Yourself Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Video Games I like to play video games! Hobbies I later noticed the category included the word life. Mr_Mo Mr_Mo Reading I like to read books! Hobbies Video Games I like to play video games! Hobbies Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself best rule ever! (I call it NEGATIVES) B12345678/S023 makes imagination go crazy UltraPhoenix4 UltraPhoenix4 Banana For Scale Hidden Easter Eggs Bees Hidden Easter Eggs Avatar Taboo I didn't change my avatar for 180 days Website /seizure warning Mr_Mo Mr_Mo Reading I like to read books! Hobbies Video Games I like to play video games! Hobbies Zelda Is Awesome! I love The Legend Of Zelda! Express Yourself dude... AWESOME bluemonkey1111 bluemonkey1111 Pokemon Is Awesome! I love Pokemon! Express Yourself Avatar Taboo I didn't change my avatar for 180 days Website Beginner Programmer I'm just starting out! I'm still trying to grasp the basics. Programming Strength Glider: ### # # PikaRyan PikaRyan Video Games I like to play video games! Hobbies Drawing I like to draw! Hobbies Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Wow nice GOL conversion Its really fun Giant_Gamer Giant_Gamer Spring 2017 Contest Participant I participated in the SmileBASIC Source Spring 2017 Contest! Programming Contest Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Winter 2016 Contest Participant I participated in the SmileBASIC Source Winter 2016 Contest! Programming Contest from Wikipedia: "The universe of the Game of Life is an infinite two-dimensional orthogonal grid of square cells, each of which is in one of two possible states, alive or dead, or "populated" or "unpopulated" (the difference may seem minor, except when viewing it as an early model of human/urban behavior simulation or how one views a blank space on a grid). Every cell interacts with its eight neighbours, which are the cells that are horizontally, vertically, or diagonally adjacent. At each step in time, the following transitions occur: Any live cell with fewer than two live neighbours dies, as if caused by under-population. Any live cell with two or three live neighbours lives on to the next generation. Any live cell with more than three live neighbours dies, as if by over-population. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction. The initial pattern constitutes the seed of the system. The first generation is created by applying the above rules simultaneously to every cell in the seed—births and deaths occur simultaneously, and the discrete moment at which this happens is sometimes called a tick (in other words, each generation is a pure function of the preceding one). The rules continue to be applied repeatedly to create further generations." Sam Sam Amazing Page Hidden Achievements Summer 2016 Contest Runner Up I placed 2nd in the SmileBASIC Source Summer 2016 Contest! Programming Contest Winter 2016 Contest Runner Up I placed 2nd in the SmileBASIC Source Winter 2016 Contest! Programming Contest Either this is a maze game, or I just really don't get it Giant_Gamer Giant_Gamer Spring 2017 Contest Participant I participated in the SmileBASIC Source Spring 2017 Contest! Programming Contest Intermediate Programmer I can make programs, but I still have trouble here and there. Programming Strength Winter 2016 Contest Participant I participated in the SmileBASIC Source Winter 2016 Contest! Programming Contest If you plan to update this with a simple menu screen with the available options, that would be sweet. I have always had a soft spot for the Game of Life since the Windows 95 Entertainment Pack. Also very nice compact code!! Thank you for sharing! chicken chicken OSP Contest 1 Contest Participant I participated in the first SmileBASIC Source OSP Contest! Avatar Embargo I didn't change my avatar for 90 days Website Good Page Hidden Achievements noice