Conway's Game of Life in Minecraft (ComputerCraft)

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

I live the way that you enterperated (---- fail spell) the game into minecraft... Just awesome

runehell
Автор

It took me about 5 hours to make Conway's Game of Life that would run on the first detected monitor, could run on any sized monitor, an in game option to enable/disable wrapping (the left/top pixels would be affected by the right/bottom and vice versa), a throttle to change the refresh rate, and you could create your own game

vidiot
Автор

If you wanted it to work for different monitor sizes, you could try messing with the "w" and "h" variables at the top of the program until you get the right size. :)

And yes, every cell has a 10% chance of being alive at the start

NumJungle
Автор

If you didnt realize by now, basically the code (for whatever reason) at the time had an error, on line 42, the ')' was missing

vidiot
Автор

Thank you! And programming will be my profession, but for now I just do it for fun

NumJungle
Автор

Wasn't sure what I was going into here but this is amazing, blew my mind that you have life running in minecraft who would have ever thought. I've seen the star wars movie before but this is also impressive. Great job, are you a hobby programmer or is that you profession?

oxgon
Автор

Sure, I will post a video on a couple of those programs later today!

NumJungle
Автор

It also detected monitor resizing (and adjust to the new size) and monitor detachment (and would end if this occurred)

vidiot
Автор

I wonder how come nobody attempted to code a version of Dwarf Fortress for ComputerCraft yet.

FreakAboutSims
Автор

o__o That's weird, I would try downloading again. But maybe it's because you're not using advanced monitors? I doubt that's it though

NumJungle
Автор

You should make it able to run on all monitor sizes :o
Also, are the starting points randomly generated?

rerere
Автор

when i clicked this video I was expecting Hasbro's game of life. after reading that wiki link i am disappoint.

jian
Автор

can you please post the code for the display at the beginning ?
because it just looks cool

dooftimolp
Автор

Hey man, I haven't had time to improve the code and make a video for it, but I will private message you the current code (very poorly written and meant for exactly 8x5 advanced monitor)

NumJungle
Автор

This would explain it:
/watch?v=GLt2BAvn4UA

NumJungle
Автор

It keeps saying (bios:338: [string "life"] :42: ')' expected) what do I do to fix this?

littleman