I wrote a Conway's Game Of Life simulator just for my own experimentation, but then decided to turn it into an educational tool. I took it from a hundred line file to a 533 extensively commented file. If any of you guys have siblings, significant others, children, or anyone else that wants to learn some Lua and Love, then please walk through the source code with them. I'm going to put my own girlfriend through this, and I do want to take into account whatever feedback I get towards revisions. Thanks in advance for any comments.
Plus, it's Conway's Game Of Life, these are always fun to toy around with.
Note: I *believe* my implementation is correct. Gliders and stuff are working as expected. If I botched something, then please tell me. Also, I have the world wrap at the edges, rather than end. I like it better when spaceships wrap around and demonstrate that they're going to live forever.
Inny's Game Of Life
Inny's Game Of Life
- Attachments
-
- innysgameoflife.love
- Version 1
- (8.13 KiB) Downloaded 211 times
Re: Inny's Game Of Life
Your comments in the source are super useful, I've already learned about first class funcions from it
experimental art since 13.75 gigayears
https://github.com/humansarepuppies
http://stardiaries-lab.blogspot.com/
https://github.com/humansarepuppies
http://stardiaries-lab.blogspot.com/
-
- Party member
- Posts: 712
- Joined: Fri Jun 22, 2012 4:54 pm
- Contact:
Re: Inny's Game Of Life
The "glider" and "toad" are nice
It's interesting how large populations (pressing 8 or 9) usually die off instantly...
It's interesting how large populations (pressing 8 or 9) usually die off instantly...
trAInsported - Write AI to control your trains
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
- xXxMoNkEyMaNxXx
- Party member
- Posts: 206
- Joined: Thu Jan 10, 2013 6:16 am
- Location: Canada
Re: Inny's Game Of Life
You need a 'Tick once' feature!
I can't help mentioning my implementation with pixel shaders and without educational documentation, which runs ridiculously fast because it's on the GPU:
Yours is definitely more visually pleasing, but it feels like it's lagging after playing with mine for a while
I can't help mentioning my implementation with pixel shaders and without educational documentation, which runs ridiculously fast because it's on the GPU:
Yours is definitely more visually pleasing, but it feels like it's lagging after playing with mine for a while
Re: Inny's Game Of Life
Germanunkol wrote:The "glider" and "toad" are nice
It's interesting how large populations (pressing 8 or 9) usually die off instantly...
Do this:
Pause game.
Clear game
Draw a straight line of 10 cells.
Enjoy.
Re: Inny's Game Of Life
Mission accomplished then. I'm glad I could help.vitaminx wrote:Your comments in the source are super useful, I've already learned about first class funcions from it
I'm half stunned that I didn't think to add this. Also, GLSL game of life is brilliant.xXxMoNkEyMaNxXx wrote:You need a 'Tick once' feature!
You should see how overcrowded New York City's subway system is, for comparison.Germanunkol wrote:It's interesting how large populations (pressing 8 or 9) usually die off instantly...
Who is online
Users browsing this forum: No registered users and 4 guests