Closed sru closed 11 years ago
@zento I think it is a good idea. I already started to do this with physics.js (now utilities.js). Maybe we should have a file containing an abstract game engine. Then another file containing Vilify-specific code.
So,
engine.js
): contains AI, loading mechanism (should this be going to utilities.js
?) and such.main.js
): contains Vilify-specific code@zento Yeah, that should work.
The
main.js
looks a bit messy. Is it good idea to split the code into several files, or not?