Game of life, bring your version.

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
alberto_lara
Party member
Posts: 372
Joined: Wed Oct 30, 2013 8:59 pm

Game of life, bring your version.

Post by alberto_lara »

Hi, I saw one thread over there with the Game of life as topic, I'd like you to bring your version here and discuss a little more about it.
Here's my very simple version in pure Lua (it uses canvas):
Image

.love: https://mega.co.nz/#!BkgHATYL!npy-2RD3V ... ryU6BGyipU

You can change the scale factor with ctrl + (1 to 7) and change the color mode with 'C'.

I haven't added an option to "draw" an initial state, it starts always in random and I'm not controling the FPS, they'll depend on your processor, size of the matrix, the color mode used, etc. Hope you like it :)

The code is for LÖVE 0.9.0
User avatar
veethree
Inner party member
Posts: 875
Joined: Sat Dec 10, 2011 7:18 pm

Re: Game of life, bring your version.

Post by veethree »

I made one of those a while back. It's pretty basic, Doesn't have any fancy features and it's written for 0.8.0 but seems to work in 0.9.0 except it runs at 800x600 instead of 720p. Which isn't really a problem as it was written to work on any resolution.
User avatar
vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

Re: Game of life, bring your version.

Post by vrld »

I did a sound experiment a while back. Takes some time to load, but you will hear why.
Attachments
GrainOfLife.love
(69.09 KiB) Downloaded 175 times
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.

hump | HC | SUIT | moonshine
Zarty55
Citizen
Posts: 79
Joined: Thu Jul 25, 2013 2:36 am

Re: Game of life, bring your version.

Post by Zarty55 »

vrld wrote:I did a sound experiment a while back. Takes some time to load, but you will hear why.
HAHAHAHA! That's so funny! :p
User avatar
alberto_lara
Party member
Posts: 372
Joined: Wed Oct 30, 2013 8:59 pm

Re: Game of life, bring your version.

Post by alberto_lara »

You see? that's what I mean, some original creations with a personal touch :)

Let's do some more crazy stuff with this :cool:

I was thinking of cells which can stay not only dead or alive but with a level of "HP".
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Game of life, bring your version.

Post by Robin »

That was pretty creepy when I finally figured out what was going on.

Well, sort of figured it out. I'm still not clear on what it means.

*chills go down spine*
Help us help you: attach a .love.
User avatar
alberto_lara
Party member
Posts: 372
Joined: Wed Oct 30, 2013 8:59 pm

Re: Game of life, bring your version.

Post by alberto_lara »

Robin, you mean the version with sound or the idea of HP?
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Game of life, bring your version.

Post by Robin »

I'm talking about vrld's nightmare inducing thing, yeah.

The HP thing sounds like CCA.
Help us help you: attach a .love.
User avatar
alberto_lara
Party member
Posts: 372
Joined: Wed Oct 30, 2013 8:59 pm

Re: Game of life, bring your version.

Post by alberto_lara »

Thanks for the info about the continuous automaton. Looks like my idea it's not so original (not was hoping like I was the first one on thinking that though).

And about the nightmares... hopefully not so.
User avatar
alberto_lara
Party member
Posts: 372
Joined: Wed Oct 30, 2013 8:59 pm

Re: Game of life, bring your version.

Post by alberto_lara »

I made this today, If you see it for at least 5 min. you'll see your death, I guarantee :)
Image

.love: https://mega.co.nz/#!k5xyzAhA!6qYr26cEs ... N0IhdXcujE
Post Reply

Who is online

Users browsing this forum: No registered users and 59 guests