Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gamecubate/plugin-automata

cellular automaton plugin for impactJS
https://github.com/gamecubate/plugin-automata

Last synced: 22 days ago
JSON representation

cellular automaton plugin for impactJS

Awesome Lists containing this project

README

        

# Cellular automaton plugin for ImpactJS #

A cellular automaton plugin for the Impact javascript game engine (http://impactjs.com/). The base class, Automaton, extends ig.Class and maintains a population of cells, some alive and the rest dead, the status of which it updates every time its step function is invoked. Subclasses should override this function to provide their own behaviour. One such subclass, Conway, is provided with this package and serves as a basic example. — Read more

* Created by Alexandre Rousseau for [gamecubate](http://www.gamecubate.com); use at will but at own risk.
* Sample project and comments at http://www.gamecubate.com/playground/automata_plugin_demo .
* You can reach me by email (alexr at gamecubate dot com) or via the Impact forums (alexandre).

# Installation

* Inside your ImpactJS project's plugins folder, make subfolders gamecubate and gamecubate/automata.
* Move automaton.js and conway.js inside ``[PROJECT]/lib/plugins/gamecubate/automata/``
* Add the plugin to your main.js file


ig.module(
'game.main'
)
.requires(
'impact-game',
...
'plugins.gamecubate.automata.conway',
...
)

# More Information

* See https://github.com/gamecubate/demo-plugin-automata/ for sample usage.