Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/gamecubate/plugin-automata
- Owner: gamecubate
- Created: 2012-03-04T14:36:21.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-05-13T08:33:09.000Z (over 12 years ago)
- Last Synced: 2023-03-22T19:51:36.352Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 133 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.