Game of Life :D

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
SamPerson12345
Prole
Posts: 41
Joined: Sat Aug 30, 2008 5:35 pm

Game of Life :D

Post by SamPerson12345 »

Just finished this! It's Conway's game of life. Click while the game is paused to make a live cell. Spacebar toggles pause. Right arrow while paused moves it ahead a single generation. Backspace kills all live cells, pauses, and resets the amount of generations. There are comments in the code where there are settings you can edit. I hope you like it! :D
Attachments
Game of Life.love
Live god damn you! LIIIIIVVVVEEE!
(1.2 KiB) Downloaded 682 times
Mr. Strange
Party member
Posts: 101
Joined: Mon Aug 11, 2008 5:19 am

Re: Game of Life :D

Post by Mr. Strange »

Awesome. I own the original issues of Scientific American which, I believe, were the first publications dealing with this system. Just one of the fine things to come out of the 1970s.

--Mr. Strange
User avatar
cag
Citizen
Posts: 65
Joined: Sun Jun 29, 2008 5:09 am

Re: Game of Life :D

Post by cag »

Ah, yes, I love Conway. I was lucky to have met and talked with him, too...
Good fun. Crazy cellular automaton Turing Machines.
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: Game of Life :D

Post by qubodup »

conny.png
conny.png (5.17 KiB) Viewed 13007 times
Not totally boring, as opposed to all other gols I tried.

Please allow to drag-and-draw instead of having to click each field.

Maybe it would be good too if the field that would be filled if you clicked would shine a little. (So you can see where you'll draw.)
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
User avatar
SamPerson12345
Prole
Posts: 41
Joined: Sat Aug 30, 2008 5:35 pm

Re: Game of Life :D

Post by SamPerson12345 »

Alright! I finished doing what you just said. Enjoy! :D
Attachments
Game of Life.love
V1.1
(1.57 KiB) Downloaded 506 times
User avatar
qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

Re: Game of Life :D

Post by qubodup »

Cool!
ani
ani
life.gif (9.63 KiB) Viewed 12942 times
The brush is a bit funny, as it will change the field it is on to its opposite, as opposed to the more intuitive "it will draw what it drawed on first press". It is not a problem though - it creates more interesting results imho

PS: it's confusing (for me) to not see where your mouse is. maybe a slight indicator would help
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)
User avatar
Kaze
Party member
Posts: 189
Joined: Sat Jul 19, 2008 4:39 pm
Location: Dublin, Ireland

Re: Game of Life :D

Post by Kaze »

You should add saving and loading. It would be awesome.

Image
Try that :P
User avatar
Kaze
Party member
Posts: 189
Joined: Sat Jul 19, 2008 4:39 pm
Location: Dublin, Ireland

Re: Game of Life :D

Post by Kaze »

Some suggestions:
Left click to place, right click to remove.
A grid (toggleable?).
More colors? Make it colorful! :D.
Show the list of controls while F1 is held down.
User avatar
farvardin
Party member
Posts: 167
Joined: Sat Jun 28, 2008 6:46 pm

Re: Game of Life :D

Post by farvardin »

this version is fantastic !!
I love it.
Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 6 guests