El juego de la vida de Conway en Javascript

Este plugin de jQuery permite crear y representar un tablero donde se ejecuta el juego de la vida de Conway.

Download

Ejemplo:
<div class="world"></div>
<script type="text/javascript">
$(document).ready(function(){
$('.world').life();
});
</script>

API:
$('.world').life({
boardWidth: 20, //number of colums
boardHeight: 20, //number of rows
cellsize: 2, //size of cells
timeout: 1000 //delay between cycles
});

Ponlo en tu página

Share this

Enviar un comentario nuevo

El contenido de este campo se mantiene privado y no se mostrará públicamente.
CAPTCHA
Esta prueba es para evitar la entrada de mensajes automatizados. Gracias!
3 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

Powered by Drupal, an open source content management system

Creative Commons License
Permissions beyond the scope of this license may be available at http://phpia.net/contact