Questions tagged [game-of-life]

A cellular automaton simulation following rules devised by mathematician John Conway.

12 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
722 views

Game of Life simulator, Python 3

Using Python 3.7.0, I've programmed a 'Game of Life' simulator. The output is displayed using tkinter. It's not meant to be limited to just Game of Life, though, as it's meant to also be used for a ...
3
votes
0answers
85 views

Game of Life in Java using Swing

As a hobby project I implemented Game of Life in Java using Swing. I don't have much experience with Java using Swing and would like to get feedback on the code. One thing in particular that I would ...
3
votes
0answers
343 views

Conway's Game Of Life using SFML and MVC

This is a follow-up to my previous question. I followed the given advice and implemented the MVC design pattern. As I've never used MVC before I am quite unsure about the quality or if it is even ...
3
votes
0answers
219 views

Game of Life in Haskell with Nested Zippers, Comonads, etc

I was trying to implement Game of Life in Haskell. Here is my approach: ...
3
votes
0answers
170 views

Conways Game of Life using unordered set of coordinates

Previously I had been using an array of bool(dead/live) to represent cells. I looked on code review to see how other people have implemented Conway's Game of Life. Someone in the comments of a post ...
3
votes
1answer
176 views

Java-based Game Of Life

I've recently had a go at programming a Conway's Game of Life simulation in Java, and I was wondering if anyone could provide some input on how it could be improved. I'm mainly concerned with how to ...
2
votes
0answers
25 views

A very fast Game of Life

The rules of John Conway's Game of Life are simple: An OFF pixel that has 3 live neighbours is turned ON. An ON pixel that has anything other than 2 or 3 live neighbours is turned OFF. Many people ...
2
votes
0answers
651 views

Conways game of life with turtle python 3

A version of CGOL made in Python using the turtle module. Any suggestions for optimisations or improvement: ...
2
votes
0answers
554 views

Node JS Beginner's CLI Game of Life

I have finished writing my first Node.js app: a CLI app that runs Conway's Game of Life. I am looking for feedback on things that might not have been done the "Node.js way" and what I can do to better ...
2
votes
0answers
480 views

Game of life in JavaScript - using Table

I finished coding Conway's Game of Life in JavaScript and HTML table. logic cells in a table will be assigned with unique id's and based on the ...
1
vote
0answers
213 views

Java Console version of Conway's Game of Life

This is another out-of-the-head-and-into-the-compiler exercise. This was straight from the editor to code review. I would like suggestions on things to keep in mind when doing such exercises. ...
0
votes
0answers
72 views

Conway's Game of Life using for loops

Is there a better way to write this code? I.e. without using loop and if statement? It's about Conway's Game of Life. Is it possible to solve this using ...