Home - numberZero/CrocoLogic GitHub Wiki
Welcome to the CrocoLogic wiki!
Development
Files
Main file is index.html. It contains almost nothing except of references to other files.
Code:
Stylesheets:
- style/main.css
- style/panel.css
- style/battlefield.css
Other files:
- image/ — contains all images
- LICENSE — now GNU GPL v2
- README.md
Public classes
Public functions
- forEachCell — applies given function to every cell of the battlefield.
- forEachCrocodile — applies given function to every Crocodile on the battlefield.
- play
- pause
- initialize — deletes battlefield (if any) with all objects and makes a new one with given size
- serialize — saves map to plain (convertible to JSON) object and returns it
- restore — loads map from object returned by serialize (possibly converted to and from JSON)