Skip to main content

Questions tagged [game-of-life]

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

6 votes
1 answer
152 views

(A sample cover art follows.) I'm currently working on replacing all the covers of my music files to have a unified theme, and I've started this project in Java to refresh my knowledge after a gap of ...
Zipity's user avatar
  • 61
4 votes
2 answers
171 views

Does my code for game of life look good enough? What changes can I make to optimize the code? I am a beginner to java and I've coded the Game of Life! For those not familiar, the game entails creating ...
ap0calypse's user avatar
12 votes
2 answers
2k views

I'm currently learning C, and decided to practice what I've been working on with a project, namely implementing Conway's Game of Life as a terminal visualization. This is my first project in C. The ...
joeymalvinni's user avatar
2 votes
1 answer
124 views

I implemented Conway's Game of Life in C++17. To make it easy to copy paste. I have merged my .h and ...
Ajinkya Kamat's user avatar
4 votes
2 answers
138 views

I've been learning C for some quite time now and wanted to test my skills by implementing the game of life in C. Please give me a general review, and include the style. Is code like that of function ...
Hansoko's user avatar
  • 153
1 vote
1 answer
164 views

I implemented a program for computing Conway's Game of Life iterations in Python starting from an initial grid configuration given as input. It is intended to handle arbitrarily large grids. I tried ...
frix's user avatar
  • 357
2 votes
1 answer
174 views

I've been writing a small Rust module recently with the sole purpose of speeding up my Python program, which is a Conway's Game of Life simulation. The function written in Rust is called from Python ...
chubercik's user avatar
  • 123
8 votes
2 answers
388 views

I have written code to take a cellular automaton configuration and determine a state that could have existed one time-step prior, according to Game of Life rules. The algorithm goes roughly as follows:...
SirPython's user avatar
  • 13.5k
2 votes
1 answer
124 views

I recently created game about life in python. First version of code was console, but recently I rewrote this game in pygame. I decied upgrade game and was added age of cells. But now I can see that my ...
Максим's user avatar
6 votes
2 answers
2k views

I wrote a simple game using python, but I wonder: how I can improve it? Any opinions will be useful. I thought about optimization, since the program consumes 20% processor resources, but don't know ...
Максим's user avatar
4 votes
2 answers
330 views

I had some multithreading C programming experience from school last year but I wanted a bit more so I tried to program a Conway's Game of Life implementation from scratch. Code is mainly written in C ...
Shmuel Newmark's user avatar
4 votes
1 answer
206 views

I recently started learning C++ again, and I wrote a simple version of Conway's Game of Life. This version doesn't use 2 buffers to transfer changes over to the main view. Instead, it uses a stack of ...
imapyromain's user avatar
7 votes
1 answer
730 views

I have created Game of Life in C++ SFML. The code works just fine. However since I am not used to working with C++, I implemented a lot of stuff the way I would in python (for example I have not used ...
Doruk's user avatar
  • 423
8 votes
3 answers
473 views

I recently picked up Rust and was making a CLI for Conway's Game of Life. I got it working but, looking back at it, there are places it could be improved. The main one is the function that generates ...
myster's user avatar
  • 183
3 votes
2 answers
184 views

Mainly I am looking for a better way to control the user input in the game loop which is in the first file. Since the nested switch with many ...
yolo expectz's user avatar

15 30 50 per page
1
2 3 4 5
15