Fingercomp 37 Posted February 7, 2016 Share Posted February 7, 2016 OK, here's what you should do in this game: Create an initial configuration. Observe how it evolves. Sounds simple? This program is something like the pixel editor. You have a board with a grid, pressing left mouse button places a cell, pressing right one kills a cell. All the magic begins when you press [space bar]. Then every 1/10 s the board updates according to the following rules: Every cell may have up to 8 neighbors. Any live cell with 0 or 1 neighbors dies (under-population). Any live cell with 2 or 3 neighbors lives on to the next generation. Any live cell with more than 3 neighbors dies (over-population). Any dead cell with exactly 3 neighbors becomes a live one (reproduction). You can find more information here. Controls: [space bar] Start or pause simulation. [RMB] Kill a cell. [LMB] Place a cell. Requirements:Tier 3 screen (only this screen supports precise mode). Tier 3 graphics card. Download: wget https://raw.githubusercontent.com/OpenPrograms/Fingercomp-Programs/master/game-of-life/game-of-life.lua gol.lua Quote Link to post Share on other sites
Prof_Apex 0 Posted February 14, 2016 Share Posted February 14, 2016 Looks great! I love playing around with this CC has a treasure disk with this on it - theirs has a toggleable option that shows colors representing the cells - red for a cell that will die next turn, green for a cell that will live, and yellow for a cell that will be born. I really liked that feature - and it looks pretty. I think I might add that functionality into this version, when I get the time to mess around with it Quote Link to post Share on other sites
Fingercomp 37 Posted February 21, 2016 Author Share Posted February 21, 2016 CC has a treasure disk with this on it - theirs has a toggleable option that shows colors representing the cells - red for a cell that will die next turn, green for a cell that will live, and yellow for a cell that will be born. I really liked that feature - and it looks pretty. I've updated the game. One of new features is highlighting, toggled by [c]. (Red means that a cell will die next turn. Green - will be born. White - stays alive) Other features: [backspace] clears the board; [<] and [>] controls the speed of the simulation; [Enter] updates the board if the simulation is paused (something like one-step simulation); Generation counter. Quote Link to post Share on other sites
tnd_blazer 0 Posted June 9, 2016 Share Posted June 9, 2016 Why not use paste bin? i cant get this to download... Quote Link to post Share on other sites
mpmxyz 27 Posted June 9, 2016 Share Posted June 9, 2016 Did you use the given command? It works fine for me. What is your error message? (Does your OC computer have an internet card?) Quote Link to post Share on other sites