This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Xenthera's profile picture

Conway's Game Of Life - Love2d V1.2 (now With Easy Gui)

Started by Xenthera, 05 October 2013 - 11:31 PM
Xenthera #1
Posted 06 October 2013 - 01:31 AM
Conway's Game Of Life - Love2D edition. Now with a nice GUI

https://dl.dropboxus...0Of%20Life.love




Old Version
SpoilerSo browsing through the forums I saw a post in programs about Conway's GOL, I thought "Hey, it would be fun to give this a shot" So not long after I had a working version in Love2d. Being as bored as I am right now, I thought i'd post it here for you to enjoy.

.love file
https://dl.dropboxus...20Life/GOL.love

.exe file (for use without installing love)
https://mega.co.nz/#...AZ__G6gB_EP58M8



MudkipTheEpic #2
Posted 06 October 2013 - 11:56 AM
Any chance of including a Mac/Linux version?
Engineer #3
Posted 06 October 2013 - 12:08 PM
Any chance we could see the source code?
Xenthera #4
Posted 06 October 2013 - 12:35 PM
http://pastebin.com/n9Zk9BdW

That answers both questions. :P/> Knock yourselves out
Geforce Fan #5
Posted 06 October 2013 - 02:31 PM
Could you please
1. Upload this is another hosting site
2. Make a .love file(for us awesome mac users)
Xenthera #6
Posted 06 October 2013 - 04:35 PM
Could you please
1. Upload this is another hosting site
2. Make a .love file(for us awesome mac users)

1. Suggest one. I don't use hosting sites very often, so I chose one that I thought would be ok.
2. I pastebin'd the source-code, build a love file with it.
MudkipTheEpic #7
Posted 07 October 2013 - 02:28 PM
Could you please
1. Upload this is another hosting site
2. Make a .love file(for us awesome mac users)

1. Suggest one. I don't use hosting sites very often, so I chose one that I thought would be ok.
2. I pastebin'd the source-code, build a love file with it.

Dropbox.

Edit: GOL.love file here (Also added c to clear):

https://dl.dropboxusercontent.com/u/56028899/Game%20Of%20Life/GOL.love

OP, if you want me to take this down, just tell me.
Edited on 07 October 2013 - 01:16 PM
Xenthera #8
Posted 07 October 2013 - 05:51 PM
Could you please
1. Upload this is another hosting site
2. Make a .love file(for us awesome mac users)

1. Suggest one. I don't use hosting sites very often, so I chose one that I thought would be ok.
2. I pastebin'd the source-code, build a love file with it.

Dropbox.

Edit: GOL.love file here (Also added c to clear):

https://dl.dropboxus...20Life/GOL.love

OP, if you want me to take this down, just tell me.

Thanks mud. I added your link to my post.
MudkipTheEpic #9
Posted 07 October 2013 - 07:50 PM
Bug in getNeighbors:


if(x > 1 and y > 1) and (x < numberx and y < numberx) then

needs to be


if(x > 1 and y > 1) and (x < numberx and y < numbery) then
Xenthera #10
Posted 07 October 2013 - 09:25 PM
Bug in getNeighbors:


if(x > 1 and y > 1) and (x < numberx and y < numberx) then

needs to be


if(x > 1 and y > 1) and (x < numberx and y < numbery) then

Woops, I fixed that already. Must have uploaded the wrong version. :S
MudkipTheEpic #11
Posted 07 October 2013 - 10:14 PM
Any license?

I was thinking of adding A LOT of new features to this, would you be OK with that?
Xenthera #12
Posted 08 October 2013 - 08:53 AM
Any license?

I was thinking of adding A LOT of new features to this, would you be OK with that?

Hahahaha. No license. Just a small project I was working on. I'm planning on adding a few things, like a menu bar and stuff. But other than that I would be done with it after. Plus, I gave you the source, do whatever you want with it
Xenthera #13
Posted 12 October 2013 - 10:33 PM
Update: Now with a GUI (Much easier to use)