Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor gamelets to use Lua packages #59

Closed
tung opened this issue Jul 27, 2010 · 1 comment
Closed

Refactor gamelets to use Lua packages #59

tung opened this issue Jul 27, 2010 · 1 comment
Labels

Comments

@tung
Copy link
Owner

tung commented Jul 27, 2010

gamelets.lua currently replicates part of the work done by Lua packages. Reworking gamelets to instead be loaded as packages would save some code, and collapse logic that would have to deal with gamelets and packages separately.

@tung
Copy link
Owner Author

tung commented Aug 15, 2010

Refactor gamelets. Closed by b86e9da.

  • As the last package documented, this also Closed by b86e9da.
  • New gamelet package is less than half the size of the old one.
  • No more code duplication, Lua functionality duplication, redundant
    method names like 'get', needless abstraction over game.lua, and
    other general ugliness!
  • Example gamelet code makes metatables public, which should help
    when using persist.lua.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant