Jump to content


Photo

Conway


  • Please log in to reply
6 replies to this topic

#1 Uberi

Uberi
  • Fellows
  • 1062 posts

Posted 05 September 2011 - 08:02 PM

There exist a few Conway's Game Of Life scripts already on the forum, but none of them are able to handle larger grids very well. This script has been tuned for performance, allowing much, much bigger grids.

For speed, raw text and a text control are used, and grids are stored as arrays.

Screenshot:

Posted Image
128 by 512 grid, running at ~1fps

Download:

Script

#2 peterm

peterm
  • Members
  • 59 posts

Posted 06 September 2011 - 07:10 PM

Hi, looks fun and I iwll have a play. I tried your website of libraries but although it looks nice none of the items opens.

Peterm

#3 Uberi

Uberi
  • Fellows
  • 1062 posts

Posted 06 September 2011 - 08:12 PM

Hi, looks fun and I will have a play. I tried your website of libraries but although it looks nice none of the items opens.

Peterm


Hi Peterm:

This may not be very on topic but the website requires a modern browser such as Google Chrome v10+, FireFox v4+, Opera 10+, or IE9+. It is untested on alternative browsers or anything older than what has been listed above.

Anyways, glad you took the time to try out the script!

#4 wofk wengel

wofk wengel
  • Guests

Posted 13 September 2011 - 01:59 PM

this seems cool but what exacly is this? is it a game? :?

#5 Uberi

Uberi
  • Fellows
  • 1062 posts

Posted 13 September 2011 - 07:41 PM

I think Wikipedia explains it better than I ever could :).

In short, Conway's Game of Life is a "zero player game". The starting grid is defined, and simple cellular automata rules are applied over and over. What's fascinating about this is that it is Turing complete; it is possible to compute things using one of these grids.

People have used these simulations to create an incredible variety of gliders, pulsars, statics, spaceships, and all sorts of different interesting patterns. It really is a universe within itself.

On a related note, this script simulates fast enough to allow us to run Gosper's Glider Gun, which is, in my opinion, one of the most interesting patterns you can find at this small scale.

#6 Uberi

Uberi
  • Fellows
  • 1062 posts

Posted 06 November 2011 - 09:58 PM

Update:

Fixed bug that caused PositionH to become a floating point number, causing the recent GUI options validation to show up.

#7 Uberi

Uberi
  • Fellows
  • 1062 posts

Posted 04 December 2011 - 07:14 PM

Update:

[*:pehsm5gt]#MaxHotkeysPerInterval warning dialog will no longer show up if fast-forwarding for extended periods of time.